Class OpObj#

Inheritance Relationships#

Base Type#

Class Documentation#

class OpObj : public tvm::ExprObj#

Metadata for a canonical primitive operator invoked through Call.

Public Members

ffi::String name#

Canonical operator name.

ffi::String doc#

Operator documentation.

ffi::Array<ArgumentInfo> args_info#

Descriptors for the ordered required value-argument prefix.

ffi::Array<ArgumentInfo> ty_args_info#

Descriptors for the ordered required type-argument prefix.

ffi::Optional<ArgumentInfo> var_args_info#

Named variadic value tail, excluded from the required args_info prefix.

ffi::Optional<ArgumentInfo> var_ty_args_info#

Named variadic type-argument tail, excluded from ty_args_info.

ffi::Any validator#

Process-local validation callback, omitted from reflection.

bool validator_is_custom = {false}#

Whether the validator was explicitly registered rather than generated.

Public Static Functions

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