sponge.function.concat_penulti

View Source On Gitee
sponge.function.concat_penulti(input_x: Tensor)[source]

Connect tensor in the penultimate axis (axis=-2).

Connect input tensors along with the penultimate axis.

Parameters

input_x (Union[tuple, list]) – A tuple or a list of input tensors.

Returns

Tensor. A concatenated Tensor with the same type as input_x.

Supported Platforms:

Ascend GPU CPU