191e716d801665bab599ca81d3d7ef10445fcdbd,testdata/dnn/onnx/generate_onnx_models.py,,,#,439

Before Change


        return torch.max(first, torch.max(second, third))

model = SplitMax()
input = Variable(torch.randn(1, 6, 2, 3))
save_data_and_model("split_max", input, model)

class Squeeze(nn.Module):

After Change


model = Split(dim=0)
save_data_and_model("split_2", input, model)

model = Split(split_size_sections=[1, 1])
save_data_and_model("split_3", input, model)

model = Split(dim=0, split_size_sections=[1, 1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: opencv/opencv_extra
Commit Name: 191e716d801665bab599ca81d3d7ef10445fcdbd
Time: 2020-02-15
Author: gdp.1807@gmail.com
File Name: testdata/dnn/onnx/generate_onnx_models.py
Class Name:
Method Name:


Project Name: scikit-optimize/scikit-optimize
Commit Name: 4012da339a3d1da75f885efbf58baa7666ee32a9
Time: 2018-06-11
Author: iaroslav.email@gmail.com
File Name: skopt/tests/test_searchcv.py
Class Name:
Method Name: test_search_cv_internal_parameter_types


Project Name: scikit-optimize/scikit-optimize
Commit Name: 17fa38df2dd1be81c13603da2b54fdef0305334a
Time: 2016-11-09
Author: mks542@nyu.edu
File Name: skopt/learning/gaussian_process/tests/test_kernels.py
Class Name:
Method Name: