@@ -8,28 +8,28 @@ namespace Tensorflow.NumPy
88{
99 public partial class NDArray
1010 {
11- public NDArray ( bool value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
12- public NDArray ( byte value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
13- public NDArray ( short value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
14- public NDArray ( int value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
15- public NDArray ( long value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
16- public NDArray ( float value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
17- public NDArray ( double value ) : base ( value ) { NewEagerTensorHandle ( ) ; }
11+ public NDArray ( bool value ) : base ( value ) => NewEagerTensorHandle ( ) ;
12+ public NDArray ( byte value ) : base ( value ) => NewEagerTensorHandle ( ) ;
13+ public NDArray ( short value ) : base ( value ) => NewEagerTensorHandle ( ) ;
14+ public NDArray ( int value ) : base ( value ) => NewEagerTensorHandle ( ) ;
15+ public NDArray ( long value ) : base ( value ) => NewEagerTensorHandle ( ) ;
16+ public NDArray ( float value ) : base ( value ) => NewEagerTensorHandle ( ) ;
17+ public NDArray ( double value ) : base ( value ) => NewEagerTensorHandle ( ) ;
1818
19- public NDArray ( Array value , Shape ? shape = null )
20- : base ( value , shape ) { NewEagerTensorHandle ( ) ; }
19+ public NDArray ( Array value , Shape ? shape = null ) : base ( value , shape )
20+ => NewEagerTensorHandle ( ) ;
2121
22- public NDArray ( Shape shape , TF_DataType dtype = TF_DataType . TF_DOUBLE )
23- : base ( shape , dtype : dtype ) { NewEagerTensorHandle ( ) ; }
22+ public NDArray ( Shape shape , TF_DataType dtype = TF_DataType . TF_DOUBLE ) : base ( shape , dtype : dtype )
23+ => NewEagerTensorHandle ( ) ;
2424
25- public NDArray ( byte [ ] bytes , Shape shape , TF_DataType dtype )
26- : base ( bytes , shape , dtype ) { NewEagerTensorHandle ( ) ; }
25+ public NDArray ( byte [ ] bytes , Shape shape , TF_DataType dtype ) : base ( bytes , shape , dtype )
26+ => NewEagerTensorHandle ( ) ;
2727
28- public NDArray ( long [ ] value , Shape ? shape = null )
29- : base ( value , shape ) { NewEagerTensorHandle ( ) ; }
28+ public NDArray ( long [ ] value , Shape ? shape = null ) : base ( value , shape )
29+ => NewEagerTensorHandle ( ) ;
3030
31- public NDArray ( IntPtr address , Shape shape , TF_DataType dtype )
32- : base ( address , shape , dtype ) { NewEagerTensorHandle ( ) ; }
31+ public NDArray ( IntPtr address , Shape shape , TF_DataType dtype ) : base ( address , shape , dtype )
32+ => NewEagerTensorHandle ( ) ;
3333
3434 public NDArray ( Tensor tensor , bool clone = false ) : base ( tensor . Handle , clone : clone )
3535 {
0 commit comments