Template Class BinaryOpObj#

Inheritance Relationships#

Base Type#

Class Documentation#

template<typename T>
class BinaryOpObj : public tvm::ExprObj#

Base template to implement binary ops.

Template Parameters:

T – The type of the child class.

Public Functions

inline BinaryOpObj(PrimExpr a, PrimExpr b)#
inline explicit BinaryOpObj(ffi::UnsafeInit tag)#

Public Members

PrimExpr a#

The left operand.

PrimExpr b#

The right operand.

Public Static Functions

static inline void RegisterReflection()#
static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#