f6276d38368f18f39a72ee0cd121d9bdb0a1730c,src/graph_transpiler/webdnn/backend/webgl/kernels/im2col.py,,im2col,#Any#,14

Before Change


    C1 = im.shape_dict[Axis.C]

    assert im.order.check_same_axes(OrderNHWC)
    assert col.order.check_same_axes(OrderNHWC)
    assert ChannelMode.get(im) == ChannelModeEnum.R

    if ChannelMode.get(col) == ChannelModeEnum.R:
        code = KernelCode([

After Change



    col_shape = col.shape[0:3] + (mul(col.shape[3:6]),)
    col_stride = [mul(col_shape[i + 1:]) for i in range(len(col_shape))]
    col_order = Order(col.order.axes[0:3] + (Axis.C,))

    if ChannelMode.get(col) == ChannelModeEnum.R:
        code = KernelCode([
void main() {
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: mil-tokyo/webdnn
Commit Name: f6276d38368f18f39a72ee0cd121d9bdb0a1730c
Time: 2017-11-20
Author: y.kikura@gmail.com
File Name: src/graph_transpiler/webdnn/backend/webgl/kernels/im2col.py
Class Name:
Method Name: im2col


Project Name: mil-tokyo/webdnn
Commit Name: f6276d38368f18f39a72ee0cd121d9bdb0a1730c
Time: 2017-11-20
Author: y.kikura@gmail.com
File Name: src/graph_transpiler/webdnn/backend/webgl/kernels/partial_im2col.py
Class Name:
Method Name:


Project Name: mil-tokyo/webdnn
Commit Name: f6276d38368f18f39a72ee0cd121d9bdb0a1730c
Time: 2017-11-20
Author: y.kikura@gmail.com
File Name: src/graph_transpiler/webdnn/backend/webgl/kernels/col2im.py
Class Name:
Method Name: col2im