示例#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);
 }