2d20e1fcd06ab8129d857fd28edbd68d21cd7696,examples/transformer/transformer_overall.py,,,#,26

Before Change


if __name__ == "__main__":
    hparams = config_model.load_hyperparams()
    encoder_hparams, decoder_hparams, opt_hparams, loss_hparams, args = \
        hparams["encoder_hparams"], hparams["decoder_hparams"], \
        hparams["opt_hparams"], hparams["loss_hparams"], hparams["args"]
    train_data, dev_data, test_data = utils.data_reader.load_data_numpy(\
        args.input, args.filename_prefix)

After Change


    "The path to save the trained model and tensorflow logging.")
flags = flags.FLAGS

config_model = importlib.import_module(FLAGS.config_model)
config_data = importlib.import_module(FLAGS.config_data)

if __name__ == "__main__":
    hparams = config_model.load_hyperparams()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: asyml/texar
Commit Name: 2d20e1fcd06ab8129d857fd28edbd68d21cd7696
Time: 2018-08-27
Author: zichaoy@cs.cmu.edu
File Name: examples/transformer/transformer_overall.py
Class Name:
Method Name:


Project Name: jazzband/django-debug-toolbar
Commit Name: 7fa83ed02ee038802d41f955966c892148385bae
Time: 2012-05-13
Author: jannis@leidel.info
File Name: debug_toolbar/panels/version.py
Class Name: VersionDebugPanel
Method Name: process_response


Project Name: jazzband/django-debug-toolbar
Commit Name: 7fa83ed02ee038802d41f955966c892148385bae
Time: 2012-05-13
Author: jannis@leidel.info
File Name: debug_toolbar/panels/signals.py
Class Name: SignalDebugPanel
Method Name: signals