680f4831e6c8f3102be8d99056b746b48ce34051,einops.py,,reduce,#,243
Before Change
for axis, axis_length in axes_lengths.items():
elementary_axes = get_axes_names(axis)
if len(elementary_axes) == 1 and isinstance(axis_length, int):
update_axis_length(elementary_axes[0], axis_length)
else:
assert len(elementary_axes) == len(axis_length), [elementary_axes, axis_length]
for c, v in zip(elementary_axes, axis_length):
if c != "_":
update_axis_length(c, v)
denominator_indices = []
position_lookup = dict(zip(list(known_lengths), range(len(known_lengths))))
// inferring rest of sizes from arguments
for composite_axis in composite_axes_left:
After Change
for axis, axis_length in axes_lengths.items():
elementary_axes = get_axes_names(axis)
// TODO better name validation
assert len(elementary_axes) == 1
update_axis_length(elementary_axes[0], axis_length)
input_axes_known_unknown = []
// inferring rest of sizes from arguments
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 4
Instances Project Name: arogozhnikov/einops
Commit Name: 680f4831e6c8f3102be8d99056b746b48ce34051
Time: 2018-09-27
Author: iamfullofspam@gmail.com
File Name: einops.py
Class Name:
Method Name: reduce
Project Name: ilastik/ilastik
Commit Name: ac9cd9ad375b80c1c2be2a922f0264fe3bb3b7aa
Time: 2018-12-10
Author: vito.zanotelli@gmail.com
File Name: ilastik/applets/pixelClassification/opPixelClassification.py
Class Name: OpPredictionPipeline
Method Name: setupOutputs
Project Name: oval-group/logger
Commit Name: f3d92990400c0ab69ebc726ba24b66d6e4116af7
Time: 2018-03-07
Author: alban@robots.ox.ac.uk
File Name: logger/utils.py
Class Name:
Method Name: to_float
Project Name: explosion/thinc
Commit Name: c5a6203229dd64efca38b20e827ce4d6e638918e
Time: 2019-10-19
Author: honnibal+gh@gmail.com
File Name: thinc/tests/unit/test_ops.py
Class Name:
Method Name: test_seq2col_window_one
Project Name: open-mmlab/mmdetection
Commit Name: 9caa197f3d518659b7218683b976b02986c78dc6
Time: 2020-10-19
Author: mnsheng@yeah.net
File Name: mmdet/apis/inference.py
Class Name:
Method Name: inference_detector