46 res_accessor.
at(index) = std::max(lhs_accessor.
at(index), rhs_accessor.
at(index));
53 throw std::runtime_error{
"NYI"};
61 throw std::runtime_error{
"Max with different input types is unsupported"};
T at(const Index &id) const
const Shape & getShape() const
DataType getElementType() const
static void run(const TensorVariant &lhs, const TensorVariant &rhs, TensorVariant &res)
static void run(const TensorVariant &lhs, const TensorVariant &rhs, TensorVariant &res)