SQRT 算子

Operator Library: Arithmetics

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

I/O Property

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

Supported 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 为

参数

无

使用示例

以下示例展示了 SQRT 算子的使用方法: