Commit c9081aa0 authored by Julian Treiber's avatar Julian Treiber

changed crop end to until for compatibility

parent bd007453
Pipeline #237982 failed with stages
in 1 minute and 24 seconds
<#-- (c) https://github.com/MontiCore/monticore -->
<#--- http://beta.mxnet.io/r/api/mx.symbol.slice.html -->
<#if element.until == 0>
<#if mode == "FORWARD_FUNCTION">
print(endd)
${element.name}_start = (None, None, ${tc.join(element.start, ", "})
${element.name}_end = (None, None, ${tc.join(element.endd, ", "})
${element.name} = F.slice(start=${element.name}_start, end=${element.name}_end)
${element.name} = F.slice(start=(None, None, ${element.start}, ${element.start}), end=(None, None, None, None))
</#if>
<#else>
<#if mode == "FORWARD_FUNCTION">
${element.name} = F.slice(start=(None, None, ${element.start}, ${element.start}), end=(None, None, ${element.until}, ${element.until}))
</#if>
</#if>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment