Template Struct ty_arg#
Defined in File op.h
Inheritance Relationships#
Base Type#
public tvm::sig::SignatureTrait(Struct SignatureTrait)
Struct Documentation#
-
template<typename T = Type>
struct ty_arg : public tvm::sig::SignatureTrait# One type argument of type T, for example
sig::ty_arg<PrimType>("dtype")for a required primitive type.Public Functions
-
inline explicit ty_arg(ffi::String name, ffi::String doc = "")#
Public Members
-
ffi::String name#
Type-argument name recorded in operator metadata.
-
ffi::String doc#
Type-argument documentation recorded in operator metadata.
Public Static Functions
-
static inline bool Validate(ValidateState *state, ffi::Expected<void> *out)#
Public Static Attributes
-
static constexpr size_t kTyArgsCount = 1#
Contributes one required type argument.
-
inline explicit ty_arg(ffi::String name, ffi::String doc = "")#