SequenceEmpty

SequenceEmpty - 11

版本

  • 名稱: SequenceEmpty (GitHub)

  • 網域: main

  • since_version: 11

  • 函數: False

  • 支援層級: SupportType.COMMON

  • 形狀推斷: True

此版本的運算子自版本 11 起可用。

摘要

使用給定的資料類型建構一個空的張量序列。

屬性

  • dtype - INT :

    (可選) 輸出序列中張量的資料類型。預設類型為 'float'。

輸出

  • output (異質) - S

    空的序列。

類型約束

  • S in ( 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)) )

    將輸出類型約束為任何張量類型。