c7d901d0c1a6852f95f28ebf1bc5ea25e08e7eac,onnx_coreml/_operators.py,,_convert_upsample,#Any#Any#Any#Any#,1517
Before Change
height_scale = int(scales[2])
width_scale = int(scales[3])
else:
height_scale = int(node.attrs.get("height_scale", 1))
width_scale = int(node.attrs.get("width_scale", 1))
mode_convert = {
"nearest": "NN",
"linear": "BILINEAR",
After Change
height_scale = int(scales[2])
width_scale = int(scales[3])
else:
key = next(iter(node.input_tensors.keys()))
scales = node.input_tensors[key]
height_scale = int(scales[2])
width_scale = int(scales[3])
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: onnx/onnx-coreml
Commit Name: c7d901d0c1a6852f95f28ebf1bc5ea25e08e7eac
Time: 2019-02-10
Author: dmitry.begeza@gmail.com
File Name: onnx_coreml/_operators.py
Class Name:
Method Name: _convert_upsample
Project Name: okfn-brasil/serenata-de-amor
Commit Name: ed82e27fef3c21f0d86e0e8efdc923f527da37ae
Time: 2017-05-11
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: serialize
Project Name: flow-project/flow
Commit Name: 77e660566176130d5363afca095d9cc6587c4cf5
Time: 2018-12-27
Author: akreidieh@gmail.com
File Name: flow/core/kernel/vehicle/aimsun.py
Class Name: AimsunKernelVehicle
Method Name: _add_departed
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 5012fd52fb0e4633a7ef39c2eb32017388c7eb37
Time: 2019-07-15
Author: yuyanting@google.com
File Name: perfkitbenchmarker/linux_packages/iperf.py
Class Name:
Method Name: YumInstall