Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BulatVakhitov committed Jul 16, 2024
1 parent 23cd149 commit d68122c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion batchflow/models/torch/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1529,7 +1529,7 @@ def _tile(self, array, microbatch_size):
def aggregate_microbatches(self, outputs_dict, chunked_outputs, chunk_sizes):
""" Aggregate outputs from microbatches into outputs for the whole batch.
Scalar values are aggregated by `mean`, array values are concatenated along the first (batch) axis. """
result = {}
result = OrderedDict()

for output_name in outputs_dict:
chunked_output = [chunk_outputs[output_name] for chunk_outputs in chunked_outputs]
Expand Down

0 comments on commit d68122c

Please sign in to comment.