Operator SplitKernel

Operator Library: Base

该算子将输入链路的 N x M 个 kernel 组件拆分为 j = N * M 个输出链路。 输出链路数量 j 必须在算子初始化时指定。 输出链路的数量必须等于 kernel 组件的数量。 如果输入 kernel 大小发生变化,则需要重新实例化该算子。 该算子的逆操作为 'MergeKernel'。

I/O Property

Property 值
Operator Type O
Input Link I,数据输入
Output Link O[0, j-1],数据输出

Supported Link Format

Link Parameter Input Link I 输出链路 O[0, j-1]
Bit Width [1, 64]1 as I
Arithmetic {unsigned, signed} as I
Parallelism any as I
Kernel Columns any 1
Kernel Rows any 1
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]。

参数

无

使用示例

以下示例展示了 SplitKernel 算子的用法: