code: def aggregate_predictions(
      self, output_data, repatched_image, rep_idx
  ):
      output_data = output_data + (1.0 / (rep_idx)) * (
          repatched_image - output_data
      )  # Running Average
      return output_data
  
file_path: DeepNeuro/deepneuro/outputs/segmentation.py
imports: import numpy
  from deepneuro.outputs.inference import ModelInference
  from deepneuro.utilities.util import add_parameter, docker_print
label_desc: Use image node_id 5 for calling the PatchesInference obj's underlying member method code with example usage: obj.aggregate_predictions(output_data, repatched_image, rep_idx) and returns: output_data