Exemple #1
0
 public static bool IsTensor(this ElementwiseFun.Parameter p)
 {
     return(p.Type == ElementwiseFun.ParamType.Tensor);
 }
Exemple #2
0
 public static bool IsScalar(this ElementwiseFun.Parameter p)
 {
     return(p.Type == ElementwiseFun.ParamType.Scalar);
 }