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