802a991087c8ba2620e2f98aa709af8f530f8b93,opt_einsum/blas.py,,can_blas,#Any#Any#Any#,10
Before Change
return False
// Make sure there is overlap
if len(set(inputs[0]) & set(inputs[1])) == 0:
return False
// Build a few temporaries
After Change
for c in set(input_left + input_right):
// can"t deal with repeated indices on same input or more than 2 total
nl, nr = input_left.count(c), input_right.count(c)
if (nl > 1) or (nr > 1) or (nl + nr > 2):
return False
// can"t do implicit summation or dimension collapse e.g.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: dgasmith/opt_einsum
Commit Name: 802a991087c8ba2620e2f98aa709af8f530f8b93
Time: 2018-03-22
Author: john.gray.14@ucl.ac.uk
File Name: opt_einsum/blas.py
Class Name:
Method Name: can_blas
Project Name: AlexsLemonade/refinebio
Commit Name: 99d2d1aced54a9673b9e25b6c1f992acd20535e1
Time: 2019-08-16
Author: arielsvn@gmail.com
File Name: common/data_refinery_common/rna_seq.py
Class Name:
Method Name: should_run_tximport
Project Name: MTG/freesound
Commit Name: f3dbb6069630079f5f82d3325f8129b1ee2ecaec
Time: 2018-05-24
Author: frederic.font@upf.edu
File Name: general/management/commands/report_count_statuses.py
Class Name: Command
Method Name: handle