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
3dce2377
Commit
3dce2377
authored
Jul 28, 2021
by
lr119628
Browse files
[update] test pass fix, CNNCreator.ftl
parent
78faa3e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/templates/gluon/CNNCreator.ftl
View file @
3dce2377
...
...
@@ -29,7 +29,9 @@ class ${tc.fileNameWithoutEnding}:
def __init__(self):
self.weight_initializer = mx.init.Normal()
self.networks = {}
<#if tc.containsAdaNet()>
self.dataClass = {}
</#if>
<#if (tc.weightsPath)??>
self._weights_dir_ = "${tc.weightsPath}/"
<#else>
...
...
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