Operator ExpandToKernel

Operator Library: Base

此運算子會將輸入連結 I 擴充至任意的 kernel 大小。 輸入值會被複製到每個 kernel 元件。 請在輸出連結設定新的 kernel 大小。

I/O Properties

Property Value
Operator Type O
Input Link I, data input
Output Link O, data output

支援的 Link 格式

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]。

參數

無

使用範例

The use of operator ExpandToKernel is shown in the following examples: