예제 #1
0
파일: FakeNumpy.cs 프로젝트: horker/py2cs
 public static NDArray Empty(Shape shape, DType dtype)
 {
     return(new NDArray((float[])System.Array.CreateInstance(dtype, (int[])shape)));
 }
예제 #2
0
 public static bool IsNone(DType dtype)
 {
     // In our implementation DType is struct and never becomes null.
     return(false);
 }
예제 #3
0
파일: FakeNumpy.cs 프로젝트: horker/py2cs
 public static DType DType(DType type)
 {
     return(type);
 }