Operator SQRT

Operator Library: Arithmetics

该算子用于计算输入的平方根。结果将四舍五入为下一个整数值。

I/O Property

Property 值
Operator Type O
Input Link I, data input
Output Link O,数据输出

支持的 Link Format

Link Parameter Input Link I Output Link O
Bit Width {8, 12, 16, 20, 24, 28, 32} auto1
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 的用法: