예제 #1
0
 public static bool is_sparse(this _TensorLike x)
 {
     return(x is SparseTensor);
 }
예제 #2
0
 public static bool is_sparse(this _TensorLike x)
 {
     return(x.GetType().Name.Contains("SparseTensor"));
 }