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
起始版本:
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 起可用。
摘要¶
将张量列表连接成单个张量
属性¶
axis - INT :
要连接的轴。默认值为 1。
输入¶
输入数量介于 1 到 2147483647 之间。
inputs (可变参数, 异构) - T
用于连接的张量列表
输出¶
concat_result (异构) - T
连接后的张量
类型约束¶
T 属于 (
tensor(double)
,tensor(float)
,tensor(float16)
)将输出类型限制为浮点张量。