60fa2cc0b9c336d86b9dc3887cc73753077b41c4,deepmatcher/data/torchtext_extensions.py,,,#,662
Before Change
// collate_fn= ...,
// pin_memory=pin_memory)
Mapping from string name to factory function
_pretrained_aliases = {
"charngram.100d":
lambda **kwargs: vocab.CharNGram(**kwargs),
"fasttext.en.300d":
lambda **kwargs: vocab.FastText(language="en", **kwargs),
"fasttext.simple.300d":
lambda **kwargs: vocab.FastText(language="simple", **kwargs),
"glove.42B.300d":
lambda **kwargs: vocab.GloVe(name="42B", dim="300", **kwargs),
"glove.840B.300d":
lambda **kwargs: vocab.GloVe(name="840B", dim="300", **kwargs),
"glove.twitter.27B.25d":
lambda **kwargs: vocab.GloVe(name="twitter.27B", dim="25", **kwargs),
"glove.twitter.27B.50d":
lambda **kwargs: vocab.GloVe(name="twitter.27B", dim="50", **kwargs),
"glove.twitter.27B.100d":
lambda **kwargs: vocab.GloVe(name="twitter.27B", dim="100", **kwargs),
"glove.twitter.27B.200d":
lambda **kwargs: vocab.GloVe(name="twitter.27B", dim="200", **kwargs),
"glove.6B.50d":
lambda **kwargs: vocab.GloVe(name="6B", dim="50", **kwargs),
"glove.6B.100d":
lambda **kwargs: vocab.GloVe(name="6B", dim="100", **kwargs),
"glove.6B.200d":
lambda **kwargs: vocab.GloVe(name="6B", dim="200", **kwargs),
"glove.6B.300d":
lambda **kwargs: vocab.GloVe(name="6B", dim="300", **kwargs)
}
After Change
// self.examples = numericalized_exs
AttrTensor_ = namedtuple("AttrTensor", ["data", "lengths", "tok_freqs", "pc"])
class AttrTensor(AttrTensor_):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: anhaidgroup/deepmatcher
Commit Name: 60fa2cc0b9c336d86b9dc3887cc73753077b41c4
Time: 2018-03-25
Author: sidharthmsk@gmail.com
File Name: deepmatcher/data/torchtext_extensions.py
Class Name:
Method Name:
Project Name: deepmind/dm_control
Commit Name: 09984bb9983cc680b3dba0978fc6248902358fe8
Time: 2018-10-10
Author: alimuldal@google.com
File Name: dm_control/mujoco/testing/image_utils.py
Class Name:
Method Name:
Project Name: deepmind/dm_control
Commit Name: 7e2e00349d59bc0474fb062bbf00e3f653703b5b
Time: 2018-10-10
Author: alimuldal@google.com
File Name: dm_control/mujoco/testing/image_utils.py
Class Name:
Method Name: