Пример #1
0
 public static unsafe Tensor placeholder(TF_DataType dtype, TensorShape shape = null)
 {
     return(gen_array_ops.placeholder(dtype, shape));
 }
Пример #2
0
 public static RefVariable Variable <T>(T data, string name = "", TF_DataType dtype = TF_DataType.DtInvalid)
 {
     return(new RefVariable(data, name, dtype));
 }