09b8381f7dd52c67fdd629825ff319271167d8c5,basenji/seqnn.py,SeqNN,build_model,#SeqNN#Any#,82
Before Change
// heads
//////////////////////////////////////////////////////////////////////////////////////////////////////
if not isinstance(self.head, list):
self.head = [self.head]
self.head_output = []
for hi, head in enumerate(self.head):
if not isinstance(head, list):
After Change
// heads
//////////////////////////////////////////////////////////////////////////////////////////////////////
head_keys = natsorted([v for v in vars(self) if v.startswith("head")])
self.heads = [getattr(self, hk) for hk in head_keys]
self.head_output = []
for hi, head in enumerate(self.heads):
if not isinstance(head, list):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances Project Name: calico/basenji
Commit Name: 09b8381f7dd52c67fdd629825ff319271167d8c5
Time: 2019-07-11
Author: drk@calicolabs.com
File Name: basenji/seqnn.py
Class Name: SeqNN
Method Name: build_model
Project Name: tyarkoni/pliers
Commit Name: 621fecf03cf409c4b379aa310e0c518bb6f6e9cd
Time: 2020-02-07
Author: rbrrcc@gmail.com
File Name: pliers/filters/text.py
Class Name: WordStemmingFilter
Method Name: _filter
Project Name: calico/basenji
Commit Name: 71106ac70146d89b3e3e0774a5c27a98212e1405
Time: 2019-07-11
Author: geoff.fudenberg@gmail.com
File Name: basenji/seqnn.py
Class Name: SeqNN
Method Name: build_model