Operator SQRT

Operator Library: Arithmetics

此 operator 會計算輸入的平方根。結果會四捨五入至最接近的整數值。

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 {8, 12, 16, 20, 24, 28, 32} 自動1
Arithmetic unsigned as I
Parallelism any as I
Kernel Columns any as I
Kernel Rows any as I
Img Protocol {VALT_IMAGE2D, VALT_LINE1D, VALT_PIXEL0D} as I
Color Format VAF_GRAY as I
Color Flavor FL_NONE as I
Max. Img Width any as I
Max. Img Height any as I

1

輸出端的 Bit Width 為

參數

無

使用範例

以下範例顯示了 operator SQRT 的使用方式: