BatchStack
Function Usage
Combines tensors in multiple batches into one tensor. Compared with BatchConcat, this function extends the tensor dimensions.
Prototype
1 | static APP_ERROR TensorBase::BatchStack(const std::vector<TensorBase> &inputs, TensorBase &output); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
inputs |
Input |
Tensor list. The list size cannot exceed 1024. |
output |
Output |
Tensor object after combination. |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: TensorBase