24#ifndef TVM_RELAX_OP_OP_H_
25#define TVM_RELAX_OP_OP_H_
Base class of all attribute class.
Definition attrs.h:50
Managed reference to VDeviceObj.
Definition global_info.h:68
A registered memory space, independent of backend allocation policy.
Definition memory_scope.h:65
Global information used by Relax.
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition analysis.h:41
Attributes used in call_inplace_packed.
Definition op.h:60
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.CallInplacePackedAttrs", CallInplacePackedAttrs, AttrsObj)
ffi::Array< int64_t > inplace_indices
Indices that describe which input corresponds to which output.
Definition op.h:68
static void RegisterReflection()
Attributes used in call_tir_inplace.
Definition op.h:44
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.CallTIRInplaceAttrs", CallTIRInplaceAttrs, AttrsObj)
static void RegisterReflection()
ffi::Array< int64_t > inplace_indices
Indices that describe which input corresponds to which output.
Definition op.h:52
Attributes used in call_tir_with_grad.
Definition op.h:34
ffi::String te_grad_name
Definition op.h:35
static void RegisterReflection()
ffi::Map< ffi::String, Any > te_grad_kwargs
Definition op.h:36
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.CallTIRWithGradAttrs", CallTIRWithGradAttrs, AttrsObj)
Attributes used in hint_on_device.
Definition op.h:86
int32_t device_type
Definition op.h:87
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.HintOnDeviceAttrs", HintOnDeviceAttrs, AttrsObj)
MemoryScope memory_scope
Definition op.h:89
static void RegisterReflection()
int32_t index
Definition op.h:88
Attributes used in to_vdevice.
Definition op.h:76
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.ToVDeviceAttrs", ToVDeviceAttrs, AttrsObj)
static void RegisterReflection()
VDevice dst_vdevice
Definition op.h:79
ToVDeviceAttrs(ffi::UnsafeInit)
Definition op.h:78
ToVDeviceAttrs(VDevice value)
Definition op.h:77