""" Template for user postprocessing. """ def postprocess(config, pre_data, inf_results): """Template postprocess function. Arguments: config: TestConfig class that holds the user's input config and options pre_data: Dictionary of values passed from preprocess function inf_results: List of NumPy arrays resulting from inference """ # postprocessing work goes here # result arrays are in channel last format: (dim1, dim2, ..., c) # return anything that is convenient for your use, could return nothing as well pass