@@ -342,7 +342,7 @@ def _apply(self):
342342 y = self ._get_ge_input (self .op .input_arg_names [1 ])
343343 pow = core .GEOperatorFactory .create_operator (
344344 "dotpow" + self ._accumulated_op_id (),
345- "Pow" ).set_input ("x1" , x1 ).set_input ("x2" , y )
345+ "Pow" ).set_input ("x1" , x ).set_input ("x2" , y )
346346 return [pow ], [[0 ]]
347347
348348
@@ -918,15 +918,15 @@ def _apply(self):
918918 scatter_value = core .GEOperatorFactory .create_operator (
919919 "scatter" + self ._accumulated_op_id (),
920920 "TensorScatterAdd" ).set_input (
921- "x" , x_var ).set_input ("indices" , index_var ).set_input (
922- "updates" , updatesi_var )
921+ "x" , x ).set_input ("indices" , index ).set_input ("updates" ,
922+ updates )
923923 else :
924924 scatter_value = core .GEOperatorFactory .create_operator (
925925 "scatter" + self ._accumulated_op_id (),
926926 "TensorScatterUpdate" ).set_input (
927- "x" , x_var ).set_input ("indices" , index_var ).set_input (
928- "updates" , updates_var )
929- return [x_var , index_var , updates_var , scatter_value ], [[- 1 ]]
927+ "x" , x ).set_input ("indices" , index ).set_input ("updates" ,
928+ updates )
929+ return [x , index , updates , scatter_value ], [[- 1 ]]
930930
931931
932932class CastParser (AscendParserBase ):
0 commit comments