Skip to content
Snippets Groups Projects
Commit 028ead95 authored by Sebastian Nickels's avatar Sebastian Nickels
Browse files

Updated execute.ftl

parent 82c6d14f
No related branches found
No related tags found
1 merge request!23Added Unroll-related features and layers
Pipeline #180737 failed
......@@ -10,11 +10,17 @@
</#list>
<#list tc.architecture.networkInstructions as networkInstruction>
<#if networkInstruction.isUnroll()>
<#list networkInstruction.toUnrollInstruction().resolvedBodies as resolvedBody>
_predictor_${networkInstruction?index}_.predict(${tc.join(tc.getStreamInputNames(networkInstruction.body, resolvedBody), ", ")}, ${tc.join(tc.getStreamOutputNames(networkInstruction.body, resolvedBody), ", ")});
</#list>
<#else>
<#if networkInstruction.body.isTrainable()>
_predictor_${networkInstruction?index}_.predict(${tc.join(tc.getStreamInputNames(networkInstruction.body), ", ")}, ${tc.join(tc.getStreamOutputNames(networkInstruction.body), ", ")});
<#else>
${tc.include(networkInstruction.body, "CPP_INLINE")}
</#if>
</#if>
</#list>
<#list tc.architectureOutputSymbols as output>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment