44 res_accessor.
at(index) = lhs_accessor.
at(index) - rhs_accessor.
at(index);
52 throw std::runtime_error{
"NYI"};
T at(const Index &id) const
const Shape & getShape() const
DataType getElementType() const
void Sub(const TensorVariant &lhs, const TensorVariant &rhs, TensorVariant &res)
static void run(const TensorVariant &lhs, const TensorVariant &rhs, TensorVariant &res)
static void run(const TensorVariant &lhs, const TensorVariant &rhs, TensorVariant &res)