2573465a7835bbe6b17dd1f0efd016be131d381b,mnist_hogwild/main.py,,,#,47

Before Change


        return F.log_softmax(x)

if __name__ == "__main__":
    mp.set_start_method("spawn")
    args = parser.parse_args()

    torch.manual_seed(args.seed)

After Change


        return F.log_softmax(x)

if __name__ == "__main__":
    if sys.version_info.major == 3:
        mp.set_start_method("spawn")
    args = parser.parse_args()

    torch.manual_seed(args.seed)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: OpenNMT/OpenNMT-py
Commit Name: 2573465a7835bbe6b17dd1f0efd016be131d381b
Time: 2017-01-18
Author: smartkiwi@gmail.com
File Name: mnist_hogwild/main.py
Class Name:
Method Name:


Project Name: vatlab/SoS
Commit Name: 871ec64f0b89b62c491ba24ecbdea414ef5e9b6a
Time: 2017-04-17
Author: ben.bog@gmail.com
File Name: sos/__main__.py
Class Name:
Method Name: cmd_run