@@ -54,6 +54,24 @@ public static Tensor arg_min(Tensor input, int dimension, TF_DataType output_typ
5454 public static Tensor ceil ( Tensor x , string name = null )
5555 => gen_math_ops . ceil ( x , name ) ;
5656
57+ /// <summary>
58+ /// Computes sin of x element-wise.
59+ /// </summary>
60+ /// <param name="x"></param>
61+ /// <param name="name"></param>
62+ /// <returns></returns>
63+ public static Tensor sin ( Tensor x , string name = null )
64+ => gen_math_ops . sin ( x , name ) ;
65+
66+ /// <summary>
67+ /// Computes hyperbolic sine of x element-wise.
68+ /// </summary>
69+ /// <param name="x"></param>
70+ /// <param name="name"></param>
71+ /// <returns></returns>
72+ public static Tensor sinh ( Tensor x , string name = null )
73+ => gen_math_ops . sinh ( x , name ) ;
74+
5775 /// <summary>
5876 /// Computes cos of x element-wise.
5977 /// </summary>
@@ -72,6 +90,12 @@ public static Tensor cos(Tensor x, string name = null)
7290 public static Tensor cosh ( Tensor x , string name = null )
7391 => gen_math_ops . cosh ( x , name ) ;
7492
93+ public static Tensor tan ( Tensor x , string name = null )
94+ => gen_math_ops . tan ( x , name ) ;
95+
96+ public static Tensor tanh ( Tensor x , string name = null )
97+ => gen_math_ops . tanh ( x , name ) ;
98+
7599 /// <summary>
76100 /// Returns element-wise largest integer not greater than x.
77101 /// </summary>
@@ -257,6 +281,9 @@ public static Tensor reduce_sum(Tensor input, int axis, int? reduction_indices =
257281 return math_ops . reduce_sum ( input , axis ) ;
258282 }
259283
284+ public static Tensor sum ( Tensor input , int axis , bool keep_dims = false , string name = null )
285+ => gen_math_ops . _sum ( input , axis , keep_dims : keep_dims , name : name ) ;
286+
260287 public static Tensor reduce_mean ( Tensor input_tensor , int [ ] axis = null , bool keepdims = false , string name = null , int ? reduction_indices = null )
261288 => math_ops . reduce_mean ( input_tensor , axis : axis , keepdims : keepdims , name : name , reduction_indices : reduction_indices ) ;
262289
0 commit comments