连接

Concat - 13

版本

  • 名称: Concat (GitHub)

  • 域名: main

  • since_version: 13

  • 函数: False

  • support_level: SupportType.COMMON

  • 形状推断: True

此版本的运算符自版本13起可用。

摘要

将一系列张量连接成一个单一的张量。所有输入张量必须具有相同的形状,除了要连接的轴的维度大小。

属性

  • axis - INT(必填):

    在哪个轴上进行连接。负值表示从后向前计算维度。可接受的范围是[-r, r-1],其中r = rank(inputs)…

输入

介于1到2147483647之间的输入。

  • inputs (可变参数,异构) - T:

    用于连接的张量列表

输出

  • concat_result (异构) - T:

    连接后的张量

类型约束

  • T 在 ( tensor(bfloat16), tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ):

    将输出类型限制为任何张量类型。

Concat - 11

版本

  • 名称: Concat (GitHub)

  • 域名: main

  • since_version: 11

  • 函数: False

  • support_level: SupportType.COMMON

  • 形状推断: True

此版本的运算符自版本11起可用。

摘要

将一系列张量连接成一个单一的张量。所有输入张量必须具有相同的形状,除了要连接的轴的维度大小。

属性

  • axis - INT(必填):

    在哪个轴上进行连接。负值表示从后向前计算维度。可接受的范围是[-r, r-1],其中r = rank(inputs)…

输入

介于1到2147483647之间的输入。

  • inputs (可变参数,异构) - T:

    用于连接的张量列表

输出

  • concat_result (异构) - T:

    连接后的张量

类型约束

  • T 在 ( tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ):

    将输出类型限制为任何张量类型。

Concat - 4

版本

  • 名称: Concat (GitHub)

  • 域名: main

  • since_version: 4

  • 函数: False

  • support_level: SupportType.COMMON

  • 形状推断: True

此版本的运算符自版本4起可用。

总结

将一系列张量连接成一个单一的张量

属性

  • axis - INT(必填):

    在哪个轴上进行连接

输入

介于1到2147483647之间的输入。

  • inputs (可变参数,异构) - T:

    用于连接的张量列表

输出

  • concat_result (异构) - T:

    连接后的张量

类型约束

  • T 在 ( tensor(bool), tensor(complex128), tensor(complex64), tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(string), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8) ):

    将输出类型限制为任何张量类型。

Concat - 1

版本

  • 名称: Concat (GitHub)

  • 域名: main

  • since_version: 1

  • 函数: False

  • support_level: SupportType.COMMON

  • 形状推断: False

此版本的运算符自版本1起可用。

摘要

将一系列张量连接成一个单一的张量

属性

  • axis - INT :

    在哪个轴上进行连接。默认值为1。

输入

介于1到2147483647之间的输入。

  • inputs (可变参数,异构) - T:

    用于连接的张量列表

输出

  • concat_result (异构) - T:

    连接后的张量

类型约束

  • T 在 ( tensor(double), tensor(float), tensor(float16) ) 中:

    将输出类型限制为浮点张量。