Exemple #1
0
        public static bool operator >(Tensor <T> left, Tensor <T> right)
        {
            if (left.Shape != right.Shape)
            {
                throw new ShapeMismatchException(nameof(right));
            }

            return(SimdOps <T> .Greater(left.InternalArray, right.InternalArray));
        }
Exemple #2
0
 public static bool operator <(T left, Tensor <T> right)
 {
     return(SimdOps <T> .Greater(right.InternalArray, left));
 }
Exemple #3
0
 public static bool operator >(Tensor <T> left, T right)
 {
     return(SimdOps <T> .Greater(left.InternalArray, right));
 }