SetData
Description
Sets the data address of a tensor.
Prototype
void SetData(void *addr)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
addr |
Input |
Data address. |
Returns
None
Restrictions
None
Example
tensor->SetData(addr);
Parent topic: Class Tensor