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

            TensorApplyCPU.RSub(writeTarget, lhs, rhs);

            return(writeTarget);
        }