序列构造

SequenceConstruct - 11

版本

  • 名称: SequenceConstruct (GitHub)

  • 域名: main

  • since_version: 11

  • 函数: False

  • support_level: SupportType.COMMON

  • 形状推断: True

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

摘要

构造一个包含‘inputs’张量的张量序列。 ‘inputs’中的所有张量必须具有相同的数据类型。

输入

介于1到2147483647之间的输入。

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

    张量。

输出

  • output_sequence (异构) - S:

    包含输入张量的序列。

类型约束

  • 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) ):

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

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

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