@@ -422,6 +422,13 @@ public static Tensor reduce_sum(Tensor input_tensor, Tensor axis = null, bool ke
422422 return _may_reduce_to_scalar ( keepdims , axis , m ) ;
423423 }
424424
425+ public static Tensor reduce_sum ( Tensor input_tensor , int [ ] axis , bool keepdims = false , string name = null )
426+ {
427+ var r = _ReductionDims ( input_tensor , axis ) ;
428+ var m = gen_math_ops . _sum ( input_tensor , r , keep_dims : keepdims , name : name ) ;
429+ return _may_reduce_to_scalar ( keepdims , axis , m ) ;
430+ }
431+
425432 public static Tensor reduce_sum ( Tensor input_tensor , int axis , bool keepdims = false , string name = null )
426433 {
427434 var m = gen_math_ops . _sum ( input_tensor , axis , keep_dims : keepdims , name : name ) ;
@@ -492,7 +499,7 @@ private static Tensor _ReductionDims(Tensor x, int[] axis)
492499 public static Tensor rsqrt ( Tensor x , string name = null )
493500 => gen_math_ops . rsqrt ( x , name : name ) ;
494501
495- public static Tensor range ( object start , object limit = null , object delta = null , TF_DataType dtype = TF_DataType . DtInvalid , string name = "range" )
502+ public static Tensor range ( object start , object limit = null , object delta = null , TF_DataType dtype = TF_DataType . DtInvalid , string name = "range" )
496503 {
497504 if ( limit == null )
498505 {
0 commit comments