Concat

Concat - 13

版本

  • 名称: Concat (GitHub)

  • : main

  • 起始版本: 13

  • 函数: False

  • 支持级别: 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

  • 起始版本: 11

  • 函数: False

  • 支持级别: 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

  • 支持级别: 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

  • 起始版本: 1

  • 函数: False

  • 支持级别: SupportType.COMMON

  • 形状推断: False

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

摘要

将张量列表连接成单个张量

属性

  • 轴 - INT :

    要连接的轴。默认值为 1。

输入

输入数量介于 1 到 2147483647 之间。

  • inputs (可变,异构) - T

    用于连接的张量列表

输出

  • concat_result (异构) - T

    连接后的张量

类型约束

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

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