batch_concat(inputs)
Function Usage
Combines multiple tensors into a batch from dimension 0. During the combination, the memory is allocated contiguously.
Input Parameter Description
Parameter |
Type |
Description |
|---|---|---|
inputs |
List[base.Tensor] |
Tensor list |
Output Parameter Description
Tensor object
Exception Throwing Interface
If the input tensor is abnormal and the output tensor is abnormal after tensor combination, the runtime exception is thrown.
Parent topic: Function Method