Obtains the placement of a tensor, that is, the location of the device where the tensor data is located.
// Location of the device where the tensor data is located.
enum TensorPlacement {
kOnDeviceHbm, //< The tensor is located in the HBM on the device.
kOnHost, //< The tensor is located on the host.
kFollowing, //< The tensor is located on the host, and the data follows the structure.
kTensorPlacementEnd
}; Tensor placement.
For details about the definition of the TensorPlacement type, see TensorPlacement.