30028c6256de0cef715095e3994e396025c068d4,pixyz/losses/losses.py,Loss,eval,#Loss#,184
Before Change
loss, x_dict = self.forward(x_dict, **kwargs)
if return_dict:
return loss, x_dict
return loss
After Change
if return_dict:
output_dict = x_dict.copy() if return_all else {}
output_dict.update(eval_dict)
return loss, output_dict
return loss
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: masa-su/pixyz
Commit Name: 30028c6256de0cef715095e3994e396025c068d4
Time: 2020-05-04
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/losses/losses.py
Class Name: Loss
Method Name: eval
Project Name: masa-su/pixyz
Commit Name: c9a2beba5cfed8be10fff48493d740076b9388f1
Time: 2019-10-23
Author: kaneko@weblab.t.u-tokyo.ac.jp
File Name: pixyz/losses/losses.py
Class Name: Expectation
Method Name: _get_eval
Project Name: andresriancho/w3af
Commit Name: 85a54974ed058adb5de46998e0cec1810239e4cf
Time: 2019-11-28
Author: andres.riancho@gmail.com
File Name: w3af/plugins/audit/file_upload.py
Class Name: file_upload
Method Name: _find_files_by_parsing
Project Name: XifengGuo/CapsNet-Keras
Commit Name: 80dd4096ed186e706775adbe3663b46d719efdb0
Time: 2017-10-31
Author: guoxifeng1990@163.com
File Name: capsulelayers.py
Class Name: CapsuleLayer
Method Name: call
Project Name: danforthcenter/plantcv
Commit Name: ee7dc09812df5dded34adcde4267d9c754e3b655
Time: 2019-09-11
Author: haleyschuhl@gmail.com
File Name: plantcv/plantcv/hyperspectral/read_data.py
Class Name:
Method Name: read_data