645c7c386e62d2fb1d50f4621c1a52645a13869f,word_language_model/main.py,,,#,12

Before Change


    if not args.cuda:
        print("WARNING: You have a CUDA device, so you should probably run with --cuda")
    else:
        torch.cuda.manual_seed(args.seed)

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Load data
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

After Change


    if not args.cuda:
        print("WARNING: You have a CUDA device, so you should probably run with --cuda")

device = torch.device("cuda" if args.cuda else "cpu")

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Load data
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pytorch/examples
Commit Name: 645c7c386e62d2fb1d50f4621c1a52645a13869f
Time: 2018-04-24
Author: soumith@gmail.com
File Name: word_language_model/main.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: 645c7c386e62d2fb1d50f4621c1a52645a13869f
Time: 2018-04-24
Author: soumith@gmail.com
File Name: mnist/main.py
Class Name:
Method Name:


Project Name: pytorch/examples
Commit Name: 645c7c386e62d2fb1d50f4621c1a52645a13869f
Time: 2018-04-24
Author: soumith@gmail.com
File Name: super_resolution/main.py
Class Name:
Method Name: