Malloc
Function Usage
Allocates the tensor memory. The memory allocated by this API does not require user management, and is destroyed internally.
Prototype
1 | APP_ERROR Tensor::Malloc(); |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: Tensor