f8c55db33c47a4a71d949f690a521d6a74aaef47,python/tvm/relay/frontend/tflite.py,OperatorConverter,convert_conv,#OperatorConverter#Any#Any#,1941

Before Change


        padding = conv_options.Padding()
        fused_activation_fn = conv_options.FusedActivationFunction()

        _, input_h, input_w, input_c = to_int_list(input_tensor.tensor.ShapeAsNumpy())

        if is_depthwise_conv:
            // TFLite depthwise convolution kernel layout is:

After Change


            assert in_channels == input_c * depth_multiplier
        else:
            output_channels, kernel_h, kernel_w, _ = to_int_list(
                self.get_tensor_shape(weight_tensor)
            )

        dilated_kernel_h = dilation_h * (kernel_h - 1) + 1
        dilated_kernel_w = dilation_w * (kernel_w - 1) + 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 9

Non-data size: 3

Instances


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_conv


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_slice


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_pool2d


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_matrix_diag


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: get_tensor_value


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_transpose_conv


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_fully_connected


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_strided_slice


Project Name: apache/incubator-tvm
Commit Name: f8c55db33c47a4a71d949f690a521d6a74aaef47
Time: 2021-01-19
Author: dmitriy.smirnov@arm.com
File Name: python/tvm/relay/frontend/tflite.py
Class Name: OperatorConverter
Method Name: convert_gather