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