@@ -9,31 +9,33 @@ namespace Tensorflow.NumPy
99{
1010 public partial class np
1111 {
12- public static NDArray exp ( NDArray x )
13- => new NDArray ( tf . exp ( x ) ) ;
12+ [ AutoNumPy ]
13+ public static NDArray exp ( NDArray x ) => new NDArray ( tf . exp ( x ) ) ;
1414
15- public static NDArray log ( NDArray x )
16- => new NDArray ( tf . log ( x ) ) ;
15+ [ AutoNumPy ]
16+ public static NDArray log ( NDArray x ) => new NDArray ( tf . log ( x ) ) ;
1717
18- public static NDArray multiply ( NDArray x1 , NDArray x2 )
19- => new NDArray ( tf . multiply ( x1 , x2 ) ) ;
18+ [ AutoNumPy ]
19+ public static NDArray multiply ( NDArray x1 , NDArray x2 ) => new NDArray ( tf . multiply ( x1 , x2 ) ) ;
2020
21- public static NDArray maximum ( NDArray x1 , NDArray x2 )
22- => new NDArray ( tf . maximum ( x1 , x2 ) ) ;
21+ [ AutoNumPy ]
22+ public static NDArray maximum ( NDArray x1 , NDArray x2 ) => new NDArray ( tf . maximum ( x1 , x2 ) ) ;
2323
24- public static NDArray minimum ( NDArray x1 , NDArray x2 )
25- => new NDArray ( tf . minimum ( x1 , x2 ) ) ;
24+ [ AutoNumPy ]
25+ public static NDArray minimum ( NDArray x1 , NDArray x2 ) => new NDArray ( tf . minimum ( x1 , x2 ) ) ;
2626
27+ [ AutoNumPy ]
2728 public static NDArray prod ( NDArray array , Axis ? axis = null , Type ? dtype = null , bool keepdims = false )
2829 => new NDArray ( tf . reduce_prod ( array , axis : axis ) ) ;
2930
31+ [ AutoNumPy ]
3032 public static NDArray prod < T > ( params T [ ] array ) where T : unmanaged
3133 => new NDArray ( tf . reduce_prod ( new NDArray ( array ) ) ) ;
3234
33- public static NDArray sqrt ( NDArray x )
34- => new NDArray ( tf . sqrt ( x ) ) ;
35+ [ AutoNumPy ]
36+ public static NDArray sqrt ( NDArray x ) => new NDArray ( tf . sqrt ( x ) ) ;
3537
36- public static NDArray sum ( NDArray x1 , Axis ? axis = null )
37- => new NDArray ( tf . math . sum ( x1 , axis ) ) ;
38+ [ AutoNumPy ]
39+ public static NDArray sum ( NDArray x1 , Axis ? axis = null ) => new NDArray ( tf . math . sum ( x1 , axis ) ) ;
3840 }
3941}
0 commit comments