Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2MXNet
Commits
6da2ce91
Commit
6da2ce91
authored
Aug 20, 2018
by
Svetlana Pavlitskaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issue with quotes in pooling type value
parent
4c2429ec
Pipeline
#69268
failed with stages
in 33 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
src/main/resources/templates/mxnet/elements/GlobalPooling.ftl
...main/resources/templates/mxnet/elements/GlobalPooling.ftl
+1
-1
src/main/resources/templates/mxnet/elements/Pooling.ftl
src/main/resources/templates/mxnet/elements/Pooling.ftl
+1
-1
src/test/resources/architectures/VGG16.cnna
src/test/resources/architectures/VGG16.cnna
+1
-1
No files found.
src/main/resources/templates/mxnet/elements/GlobalPooling.ftl
View file @
6da2ce91
${element.name} = mx.symbol.Pooling(data=${element.inputs[0]},
global_pool=True,
kernel=(1,1),
pool_type=${element.poolType},
pool_type=
"
${element.poolType}
"
,
name="${element.name}")
<#include "OutputShape.ftl">
\ No newline at end of file
src/main/resources/templates/mxnet/elements/Pooling.ftl
View file @
6da2ce91
...
...
@@ -8,7 +8,7 @@
</#if>
${element.name} = mx.symbol.Pooling(data=${input},
kernel=(${tc.join(element.kernel, ",")}),
pool_type=${element.poolType},
pool_type=
"
${element.poolType}
"
,
stride=(${tc.join(element.stride, ",")}),
name="${element.name}")
<#include "OutputShape.ftl">
\ No newline at end of file
src/test/resources/architectures/VGG16.cnna
View file @
6da2ce91
...
...
@@ -28,4 +28,4 @@ architecture VGG16(img_height=224, img_width=224, img_channels=3, classes=1000){
FullyConnected(units=classes) ->
Softmax() ->
predictions
}
}
\ No newline at end of file
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