in src/exporters/coreml/convert.py [0:0]
def get_output_names(spec): """Return a list of all output names in the Core ML model.""" outputs = [] for out in spec.description.output: outputs.append(out.name) return outputs