Exemple #1
0
 public static NDArray Empty(Shape shape, DType dtype)
 {
     return(new NDArray((float[])System.Array.CreateInstance(dtype, (int[])shape)));
 }
Exemple #2
0
 public static bool IsNone(DType dtype)
 {
     // In our implementation DType is struct and never becomes null.
     return(false);
 }
Exemple #3
0
 public static DType DType(DType type)
 {
     return(type);
 }