Example #1
0
        public Tensor Sub(Tensor result, Tensor lhs, Tensor rhs)
        {
            Tensor writeTarget = TensorResultBuilder.GetWriteTarget(result, lhs, false, lhs.Sizes);

            TensorApplyCPU.Sub(writeTarget, lhs, rhs);

            return(writeTarget);
        }