24 #ifndef TVM_RELAY_ATTRS_DEVICE_COPY_H_
25 #define TVM_RELAY_ATTRS_DEVICE_COPY_H_
44 .describe(
"The (virtual) device and scope where the op copies data from.");
46 .describe(
"The (virtual) device and scope where the op copies data to.");
The base class of the all the Use "curiously recurring template pattern".
Definition: attrs.h:870
Managed reference class to VirtualDeviceNode.
Definition: virtual_device.h:271
static VirtualDevice FullyUnconstrained()
Returns the unique fully unconstrained VirtualDevice.
Helpers for attribute objects.
#define TVM_ATTR_FIELD(FieldName)
Declare an attribute field.
Definition: attrs.h:76
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
Options for the device copy operators.
Definition: device_copy.h:38
VirtualDevice dst_virtual_device
Definition: device_copy.h:40
TVM_DECLARE_ATTRS(DeviceCopyAttrs, "relay.attrs.DeviceCopyAttrs")
Definition: device_copy.h:42
VirtualDevice src_virtual_device
Definition: device_copy.h:39
A compile time representation for where data is to be stored at runtime, and how to compile code to c...