Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2Gluon
Commits
cdb5225f
Commit
cdb5225f
authored
Jul 23, 2021
by
lr119628
Browse files
[update] model has now correct output shape
parent
5f3d197d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/templates/gluon/elements/AdaNet.ftl
View file @
cdb5225f
...
...
@@ -37,7 +37,17 @@ class CandidateHull(gluon.HybridBlock):
stack: int,
name: str,
output=None,
<#if outBlock.isArtificial()>
output_shape =<#list outBlock.outputTypes as type>(${tc.join(type.dimensions, ",")})</#list>,
<#else>
output_shape =None,
</#if>
inBlock=None,
<#if inBlock.isArtificial()>
input_shape =<#list inBlock.outputTypes as type>(${tc.join(type.dimensions, ",")})</#list>,
<#else>
input_shape =None,
</#if>
block_args=None,
**kwargs):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment