IsDevice
Function Usage
Checks whether the tensor object is on the device.
Prototype
1 | bool TensorBase::IsDevice() const; |
Response Parameters
Data Structure |
Description |
|---|---|
bool |
|
Parent topic: TensorBase
Checks whether the tensor object is on the device.
1 | bool TensorBase::IsDevice() const; |
Data Structure |
Description |
|---|---|
bool |
|