cbc51f8495a8d5e314cd1ae0704f32a4e3dc28b1,codes/models/networks.py,,define_G,#,81

Before Change


    //     init_weights(netG, init_type="orthogonal")
    if gpu_ids:
        assert torch.cuda.is_available()
        netG = nn.DataParallel(netG).cuda()
    return netG


// Discriminator

After Change


    //     init_weights(netG, init_type="orthogonal")
    if gpu_ids:
        assert torch.cuda.is_available()
        netG = nn.DataParallel(netG)
    return netG


// Discriminator
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: xinntao/BasicSR
Commit Name: cbc51f8495a8d5e314cd1ae0704f32a4e3dc28b1
Time: 2018-06-16
Author: wxt1994@126.com
File Name: codes/models/networks.py
Class Name:
Method Name: define_G


Project Name: xinntao/BasicSR
Commit Name: cbc51f8495a8d5e314cd1ae0704f32a4e3dc28b1
Time: 2018-06-16
Author: wxt1994@126.com
File Name: codes/models/networks.py
Class Name:
Method Name: define_F


Project Name: xinntao/BasicSR
Commit Name: cbc51f8495a8d5e314cd1ae0704f32a4e3dc28b1
Time: 2018-06-16
Author: wxt1994@126.com
File Name: codes/models/networks.py
Class Name:
Method Name: define_D