Beispiel #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));
        }
Beispiel #2
0
 public static bool operator <(T left, Tensor <T> right)
 {
     return(SimdOps <T> .Greater(right.InternalArray, left));
 }
Beispiel #3
0
 public static bool operator >(Tensor <T> left, T right)
 {
     return(SimdOps <T> .Greater(left.InternalArray, right));
 }