cbc51f8495a8d5e314cd1ae0704f32a4e3dc28b1,codes/models/networks.py,,define_G,#Any#,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
In pattern: SUPERPATTERN
Frequency: 4
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: facebookresearch/ParlAI
Commit Name: 68682308fbc0f9582930d19b0498ec3a0fa724b6
Time: 2018-07-31
Author: vgonzalez@fb.com
File Name: parlai/agents/vsepp_caption/modules.py
Class Name: EncoderImage
Method Name: get_cnn
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
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