Operator ExpandToKernel

Operator Library: Base

此運算子會將輸入連結 I 擴展至任意的核大小。 輸入值會被複製到每個核組件中。 在輸出連結處設定新的核大小。

I/O Properties

Property Value
Operator Type O
Input Link I,資料輸入
Output Link O,資料輸出

Supported Link Format

Link Parameter Input Link I Output Link O
Bit Width [1, 64]1 as I
Arithmetic {unsigned, signed} as I
Parallelism any as I
Kernel Columns 1 any
Kernel Rows 1 any
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format any as I
Color Flavor any as I
Max. Img Width any as I
Max. Img Height any as I

1

輸入 Bit Width 的範圍為 [1, 64]。 對於有號輸入,範圍為 [2, 64]。 對於無號彩色輸入,範圍為 [3, 63],而對於有號彩色,範圍則為 [6, 63]。

Parameters

無

Examples of Use

以下範例展示了如何使用 ExpandToKernel 運算子: