474ed3789d19fd1bdf40a7365a5d196e118132c0,codes/models/modules/architecture.py,RRDBNet,__init__,#RRDBNet#,48
Before Change
elif upsample_mode == "pixelshuffle":
upsample_block = B.pixelshuffle_block
else:
raise NotImplementedError("upsample mode [%s] is not found" % upsample_mode)
if upscale == 3:
upsampler = upsample_block(nf, nf, 3, act_type=act_type)
else:
upsampler = [upsample_block(nf, nf, act_type=act_type) for _ in range(n_upscale)]
After Change
elif upsample_mode == "pixelshuffle":
upsample_block = B.pixelshuffle_block
else:
raise NotImplementedError("upsample mode [{:s}] is not found".format(upsample_mode))
if upscale == 3:
upsampler = upsample_block(nf, nf, 3, act_type=act_type)
else:
upsampler = [upsample_block(nf, nf, act_type=act_type) for _ in range(n_upscale)]
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 8
Instances
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/architecture.py
Class Name: RRDBNet
Method Name: __init__
Project Name: tensorflow/privacy
Commit Name: 06bb0475259bf9642ce0c3ba7c4c06d001e3fd58
Time: 2020-08-11
Author: gardener@tensorflow.org
File Name: tensorflow_privacy/privacy/membership_inference_attack/membership_inference_attack_new.py
Class Name:
Method Name: run_trained_attack
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/modules/architecture.py
Class Name: SRResNet
Method Name: __init__
Project Name: xinntao/BasicSR
Commit Name: 474ed3789d19fd1bdf40a7365a5d196e118132c0
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/models/networks.py
Class Name:
Method Name: init_weights
Project Name: xinntao/BasicSR
Commit Name: 74cfac2794b5fbce7cf05411953331eab4e59df8
Time: 2018-09-09
Author: wxt1994@126.com
File Name: codes/data/util.py
Class Name:
Method Name: get_image_paths