a21d8f3f0b2b470ce1fd17df96429a2300b04018,spacy/_ml.py,,drop_layer,#Any#Any#,213
Before Change
return layer.begin_update(X, drop=drop)
else:
return X, lambda dX, sgd=None: dX
return wrap(drop_layer_fwd, layer)
def Tok2Vec(width, embed_size, preprocess=None):
cols = [ID, NORM, PREFIX, SUFFIX, SHAPE, ORTH]
After Change
else:
return X, lambda dX, sgd=None: dX
model = wrap(drop_layer_fwd, layer)
model.predict = layer
return model
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: explosion/spaCy
Commit Name: a21d8f3f0b2b470ce1fd17df96429a2300b04018
Time: 2017-08-21
Author: honnibal+gh@gmail.com
File Name: spacy/_ml.py
Class Name:
Method Name: drop_layer
Project Name: sahana/eden
Commit Name: 7618cd79c2f68fcdf657d69cd9b74db3d75b71c7
Time: 2018-09-20
Author: dominic@nursix.org
File Name: modules/templates/RMSAmericas/idcards.py
Class Name: IDCardLayout
Method Name: draw_value
Project Name: IDSIA/sacred
Commit Name: e9fe26056dc36e4e8e1610165233111ffe24ed0e
Time: 2019-09-07
Author: gabrieldemarmiesse@gmail.com
File Name: sacred/arg_parser.py
Class Name:
Method Name: _format_options_usage