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