9f12ca095ab6e3295bd03fd1e50130a12b11569c,pytorch_lightning/trainer/connectors/logger_connector/epoch_result_store.py,HookResultStore,auto_reduce_results_on_epoch_end,#HookResultStore#,176

Before Change



                    // reduce across time first
                    time_reduced_outputs = []
                    for batch_idx in opt_outputs.keys():
                        tbptt_outs = opt_outputs[batch_idx]
                        tbptt_outs = tbptt_outs[0].__class__.reduce_across_time(tbptt_outs)
                        if len(tbptt_outs) > 1:
                            time_reduced_outputs.append(tbptt_outs)

                    if len(time_reduced_outputs) == 0:
                        continue

                    // reduce across training steps

After Change


                    // reduce across time first
                    time_reduced_outputs = []
                    for tbptt_outputs in outputs.values():
                        tbptt_outputs = type(tbptt_outputs[0]).reduce_across_time(tbptt_outputs)
                        if len(tbptt_outputs) > 1:
                            time_reduced_outputs.append(tbptt_outputs)

                    if len(time_reduced_outputs) == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: williamFalcon/pytorch-lightning
Commit Name: 9f12ca095ab6e3295bd03fd1e50130a12b11569c
Time: 2021-02-11
Author: carlossmocholi@gmail.com
File Name: pytorch_lightning/trainer/connectors/logger_connector/epoch_result_store.py
Class Name: HookResultStore
Method Name: auto_reduce_results_on_epoch_end


Project Name: SPFlow/SPFlow
Commit Name: 46c988491513e69dd6cfb595e575b6690fb8fef9
Time: 2018-09-13
Author: claas@voelcker.net
File Name: src/spn/structure/Base.py
Class Name:
Method Name: eval_spn_bottom_up


Project Name: SenticNet/conv-emotion
Commit Name: 87d57a3d34a1eef2c6ad5519741710e3321f136c
Time: 2019-03-19
Author: 40890991+soujanyaporia@users.noreply.github.com
File Name: DialogueRNN/model.py
Class Name: BiE2EModel
Method Name: forward


Project Name: deeptools/HiCExplorer
Commit Name: 42dcbde0e602cba7adb911a2072df3887afd61f4
Time: 2018-03-03
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/utilities.py
Class Name:
Method Name: exp_obs_matrix_lieberman