Package org.apache.tvm.rpc
Class RemoteTensor
java.lang.Object
org.apache.tvm.TVMValue
org.apache.tvm.TVMObject
org.apache.tvm.rpc.RemoteTensor
Remote storage whose opaque address cannot be used as a local Tensor.
The native object retains the allocation or returned tensor handle and its
session. Releasing this reference releases one owner; shared views retain the
backing allocation. Transfers use explicit local or same-session destinations.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopyFrom(TensorBase source) copyTo(RemoteTensor destination) Copy within the owning session.copyTo(TensorBase destination)
-
Constructor Details
-
RemoteTensor
public RemoteTensor(long handle, int typeIndex)
-
-
Method Details
-
copyFrom
-
copyTo
-
copyTo
Copy within the owning session. Synchronize the device before observing results.
-