GetDataSize
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the size of data in a tensor.
Prototype
1 | uint64_t *GetDataSize() const |
Command-Line Options
None
Returns
Data size of a tensor.
Troubleshooting
None
Constraints
This API modifies the returned TensorDesc, which does not affect the existing TensorDesc information in the Tensor object.
Parent topic: SetMsgType