Commit f337232c authored by Sebastian Nickels's avatar Sebastian Nickels
Browse files

Fixed bug in Const layer template

parent 028ead95
Pipeline #180752 failed with stages
in 56 seconds
<#if mode == "FORWARD_FUNCTION">
${} = gluon.Const('${}', ${element.constValue})
${} = gluon.Constant('${}', ${element.constValue})
<#elseif mode == "PYTHON_INLINE">
${} = nd.array(${element.constValue})
${} = mx.nd.full((batch_size, 1,), ${element.constValue}, ctx=mx_context)
<#elseif mode == "CPP_INLINE">
vector<float> ${}{${element.constValue}};
\ No newline at end of file
Supports Markdown
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