Creates a TensorBase object and calls different constructors based on the passed parameters.
1 2 | template<typename... Param> static APP_ERROR TensorBase::CreateTensorBase(TensorBase &tensor, Param... params); |
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Output |
TensorBase object, which is used to receive the constructed TensorBase object. |
params |
Input |
TensorBase construction parameters. For details about the parameters, see the corresponding constructor. |
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |