提交 9270b81d 编写于 作者: C Channingss

update

上级 35c60c0f
...@@ -865,7 +865,7 @@ class OpSet9(): ...@@ -865,7 +865,7 @@ class OpSet9():
param_attr={'dtype': string('int32')}) param_attr={'dtype': string('int32')})
attr['starts'] = starts_cast attr['starts'] = starts_cast
if ends.dtype != 'int32': if ends.dtype != 'int32':
ends_cast = ens.layer_name + '_cast' ends_cast = ends.layer_name + '_cast'
node.fluid_code.add_layer( node.fluid_code.add_layer(
'cast', 'cast',
inputs=ends, inputs=ends,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册