batch_concat

Function Usage

Combines multiple tensors into a batch from dimension 0. During the combination, the memory is allocated contiguously.

Prototype

1
batch_concat(inputs: List)

Input Parameters

Parameter

Type

Description

inputs

List[base.Tensor]

Tensor list

Response Parameters

Tensor object

Exception Throwing Interface

If the input tensor is abnormal and the output tensor is abnormal after tensor combination, a runtime exception is thrown.

Supported Models

Atlas 200/300/500 inference product

Atlas 200I/500 A2 inference product

Atlas inference product