624d14284e35d6ce9c371c39f7e387002ccf4913,onnx_coreml/converter.py,,convert,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,248
Before Change
bias_r_g_b_gray[:3] = bias
if inp_name not in image_input_names:
image_input_names.append(inp_name) // type: ignore
preprocessing_args["is_bgr"] = {inp_name: False}
preprocessing_args["red_bias"] = {inp_name: bias_r_g_b_gray[0]}
preprocessing_args["green_bias"] = {inp_name: bias_r_g_b_gray[1]}
preprocessing_args["blue_bias"] = {inp_name: bias_r_g_b_gray[2]}
preprocessing_args["gray_bias"] = {inp_name: bias_r_g_b_gray[3]}
preprocessing_args["image_scale"] = {inp_name: scale}
// remove all ImageScaler ops
After Change
image_scale=preprocessing_args.get("image_scale", 1.0)
)
preprocessing_args.clear()
if len(image_output_names) > 0:
for f in output_features:
f_name = f[0]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: onnx/onnx-coreml
Commit Name: 624d14284e35d6ce9c371c39f7e387002ccf4913
Time: 2018-08-25
Author: aseem.elec@gmail.com
File Name: onnx_coreml/converter.py
Class Name:
Method Name: convert
Project Name: onnx/onnx-coreml
Commit Name: 624d14284e35d6ce9c371c39f7e387002ccf4913
Time: 2018-08-25
Author: aseem.elec@gmail.com
File Name: onnx_coreml/converter.py
Class Name:
Method Name: convert
Project Name: dmnfarrell/pandastable
Commit Name: a4d2eb8dc0b30794437d1c81d64ff4abee1e2515
Time: 2015-05-19
Author: farrell.damien@gmail.com
File Name: plotting.py
Class Name: PlotViewer
Method Name: factorPlot
Project Name: flow-project/flow
Commit Name: 071b27b1ffc1c38e84f64fafcc126fafa54369a1
Time: 2017-07-05
Author: akreidieh@gmail.com
File Name: cistar-dev/cistar/core/base_env.py
Class Name: SumoEnvironment
Method Name: setup_initial_state