Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
CNNArch2Caffe2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
monticore
EmbeddedMontiArc
generators
CNNArch2Caffe2
Commits
400b129f
Commit
400b129f
authored
Sep 01, 2018
by
Carlos Alfredo Yeverino Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed info comments. Minor esthetic change in outputshape.
parent
8b247cb3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
7 deletions
+2
-7
src/main/resources/templates/caffe2/elements/Convolution.ftl
src/main/resources/templates/caffe2/elements/Convolution.ftl
+1
-4
src/main/resources/templates/caffe2/elements/FullyConnected.ftl
...in/resources/templates/caffe2/elements/FullyConnected.ftl
+0
-2
src/main/resources/templates/caffe2/elements/OutputShape.ftl
src/main/resources/templates/caffe2/elements/OutputShape.ftl
+1
-1
No files found.
src/main/resources/templates/caffe2/elements/Convolution.ftl
View file @
400b129f
...
...
@@ -22,7 +22,4 @@
${element.name} = brew.conv(model, ${input}, '${element.name}', dim_in=${element.element.inputTypes[0].channels?c}, dim_out=${element.channels?c}, ${kernelParameter}, ${strideParameter})
</#if>
<#-- TODO: check how to adapt CNNArchLang argument no_bias=${element.noBias?string("True","False")} -->
<#include "OutputShape.ftl">
# Yeverino input layer name: ${element.inputs[0]}
# Yeverino input/previous layer dim_out: ${element.element.inputTypes[0].channels?c}
# Yeverino current layer dim_out: ${element.element.outputTypes[0].channels?c}
<#include "OutputShape.ftl">
\ No newline at end of file
src/main/resources/templates/caffe2/elements/FullyConnected.ftl
View file @
400b129f
...
...
@@ -13,6 +13,4 @@
${element.name} = brew.fc(model, ${input}, '${element.name}', dim_in=${inputChannels} * ${inputHeight} * ${inputWidth}, dim_out=${element.units?c})
</#if>
<#-- TODO: check how to adapt CNNArchLang argument no_bias=${element.noBias?string("True","False")} -->
# Yeverino input layer type: ${inputLayerType}
# Yeverino current layer type: ${element.element}
<#include "OutputShape.ftl">
\ No newline at end of file
src/main/resources/templates/caffe2/elements/OutputShape.ftl
View file @
400b129f
# ${element.name}, output shape: {<#list element.element.outputTypes as type>[${tc.join(type.dimensions, ",")}]</#list>
# ${element.name}, output shape: {<#list element.element.outputTypes as type>[${tc.join(type.dimensions, ",")}]</#list>
}
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