@@ -467,12 +467,9 @@ public Tensor real(Tensor input, string name = null)
467467 /// <param name="keepdims">If true, retains reduced dimensions with length 1.</param>
468468 /// <param name="name"></param>
469469 /// <returns>The reduced tensor.</returns>
470- public Tensor reduce_any ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
470+ public Tensor reduce_any ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
471471 => math_ops . reduce_any ( input_tensor , axis : axis , keepdims : keepdims , name : name ) ;
472472
473- public Tensor reduce_any ( Tensor input_tensor , int axis = 0 , bool keepdims = false , string name = null )
474- => math_ops . reduce_any ( input_tensor , axis : new [ ] { axis } , keepdims : keepdims , name : name ) ;
475-
476473 /// <summary>
477474 /// Computes the "logical and" of elements across dimensions of a tensor.
478475 /// </summary>
@@ -481,7 +478,7 @@ public Tensor reduce_any(Tensor input_tensor, int axis = 0, bool keepdims = fals
481478 /// <param name="keepdims"></param>
482479 /// <param name="name"></param>
483480 /// <returns>The reduced tensor.</returns>
484- public Tensor reduce_all ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
481+ public Tensor reduce_all ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
485482 => math_ops . reduce_all ( input_tensor , axis : axis , keepdims : keepdims , name : name ) ;
486483
487484 /// <summary>
@@ -492,7 +489,7 @@ public Tensor reduce_all(Tensor input_tensor, int[] axis = null, bool keepdims =
492489 /// <param name="keepdims"></param>
493490 /// <param name="name"></param>
494491 /// <returns></returns>
495- public Tensor reduce_prod ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
492+ public Tensor reduce_prod ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
496493 => math_ops . reduce_prod ( input_tensor , axis : axis , keepdims : keepdims , name : name ) ;
497494
498495 /// <summary>
@@ -537,19 +534,16 @@ public Tensor reduce_sum(Tensor input, TensorShape axis, int? reduction_indices
537534 /// <param name="keepdims"></param>
538535 /// <param name="name"></param>
539536 /// <returns></returns>
540- public Tensor reduce_max ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
541- => math_ops . reduce_max ( input_tensor , axis , keepdims , name ) ;
542-
543- public Tensor reduce_max ( Tensor input_tensor , int axis , bool keepdims = false , string name = null )
537+ public Tensor reduce_max ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
544538 => math_ops . reduce_max ( input_tensor , axis , keepdims , name ) ;
545539
546- public Tensor reduce_min ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
540+ public Tensor reduce_min ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
547541 => math_ops . reduce_min ( input_tensor , axis , keepdims , name ) ;
548542
549- public Tensor reduce_std ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
543+ public Tensor reduce_std ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
550544 => math_ops . reduce_std ( input_tensor , axis , keepdims , name ) ;
551545
552- public Tensor reduce_variance ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null )
546+ public Tensor reduce_variance ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null )
553547 => math_ops . reduce_variance ( input_tensor , axis , keepdims , name ) ;
554548
555549 public Tensor sigmoid < T > ( T x , string name = null )
@@ -558,15 +552,9 @@ public Tensor sigmoid<T>(T x, string name = null)
558552 public Tensor sum ( Tensor input , int axis , bool keep_dims = false , string name = null )
559553 => gen_math_ops . _sum ( input , axis , keep_dims : keep_dims , name : name ) ;
560554
561- public Tensor reduce_mean ( Tensor input_tensors , int axis , bool keepdims = false , string name = null )
562- => math_ops . reduce_mean ( input_tensors , axis : new [ ] { axis } , keepdims : keepdims , name : name ) ;
563-
564- public Tensor reduce_mean ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null , int ? reduction_indices = null )
555+ public Tensor reduce_mean ( Tensor input_tensor , Axis ? axis = null , bool keepdims = false , string name = null , int ? reduction_indices = null )
565556 => math_ops . reduce_mean ( input_tensor , axis : axis , keepdims : keepdims , name : name , reduction_indices : reduction_indices ) ;
566557
567- public Tensor reduce_mean ( Tensor [ ] input_tensors , int ? axis = null , bool keepdims = false , string name = null )
568- => math_ops . reduce_mean ( input_tensors , axis : axis , keepdims : keepdims , name : name ) ;
569-
570558 public Tensor round ( Tensor x , string name = null )
571559 => gen_math_ops . round ( x , name : name ) ;
572560
0 commit comments