@@ -21,6 +21,9 @@ public partial class tensorflow
2121 public MathApi math { get ; } = new MathApi ( ) ;
2222 public class MathApi
2323 {
24+ public Tensor argmax ( Tensor input , Axis axis = null , string name = null , int ? dimension = null , TF_DataType output_type = TF_DataType . TF_INT64 )
25+ => gen_math_ops . arg_max ( input , axis , name : name , output_type : output_type ) ;
26+
2427 public Tensor log ( Tensor x , string name = null )
2528 => gen_math_ops . log ( x , name ) ;
2629
@@ -539,15 +542,12 @@ public Tensor reduce_mean(Tensor input_tensor, Axis? axis = null, bool keepdims
539542 public Tensor round ( Tensor x , string name = null )
540543 => gen_math_ops . round ( x , name : name ) ;
541544
542- public Tensor cast ( Tensor x , TF_DataType dtype = TF_DataType . DtInvalid , string name = null )
545+ public Tensor cast ( Tensor x , TF_DataType dtype , string name = null )
543546 => math_ops . cast ( x , dtype , name ) ;
544547
545548 public Tensor cumsum ( Tensor x , int axis = 0 , bool exclusive = false , bool reverse = false , string name = null )
546549 => math_ops . cumsum ( x , axis : axis , exclusive : exclusive , reverse : reverse , name : name ) ;
547550
548- public Tensor argmax ( Tensor input , int axis = - 1 , string name = null , int ? dimension = null , TF_DataType output_type = TF_DataType . TF_INT64 )
549- => gen_math_ops . arg_max ( input , axis , name : name , output_type : output_type ) ;
550-
551551 public Tensor square ( Tensor x , string name = null )
552552 => gen_math_ops . square ( x , name : name ) ;
553553 public Tensor squared_difference ( Tensor x , Tensor y , string name = null )
0 commit comments