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