Checks whether the tensor object is on the device.
1
bool TensorBase::IsDevice() const;
Data Structure
Description
bool