in src/exporters/coreml/convert.py [0:0]
def get_output_named(spec, name):
"""Return the output node with the given name in the Core ML model."""
for out in spec.description.output:
if out.name == name:
return out
return None