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 VDeviceNode.
Definition global_info.h:66
ffi::String MemoryScope
Abstract label for an area of memory.
Definition global_info.h:36
An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
Definition attr.h:23
Global information used by Relax.
Attributes used in call_inplace_packed.
Definition op.h:60
ffi::Array< int64_t > inplace_indices
Indices that describe which input corresponds to which output.
Definition op.h:68
static void RegisterReflection()
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.CallInplacePackedAttrs", CallInplacePackedAttrs, AttrsNode)
Attributes used in call_tir_inplace.
Definition op.h:44
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.CallTIRInplaceAttrs", CallTIRInplaceAttrs, AttrsNode)
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
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.CallTIRWithGradAttrs", CallTIRWithGradAttrs, AttrsNode)
ffi::String te_grad_name
Definition op.h:35
static void RegisterReflection()
ffi::Map< ffi::String, Any > te_grad_kwargs
Definition op.h:36
Attributes used in hint_on_device.
Definition op.h:86
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.HintOnDeviceAttrs", HintOnDeviceAttrs, AttrsNode)
int32_t device_type
Definition op.h:87
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
static void RegisterReflection()
VDevice dst_vdevice
Definition op.h:79
TVM_FFI_DECLARE_OBJECT_INFO_FINAL("relax.attrs.ToVDeviceAttrs", ToVDeviceAttrs, AttrsNode)
ToVDeviceAttrs(ffi::UnsafeInit)
Definition op.h:78
ToVDeviceAttrs(VDevice value)
Definition op.h:77