    def get_output_name_to_index_map(self) -> Dict[str, int]:
        """
        Get the name to index mapping. Unlike inputs, outputs
        have a guaranteed ordering; the order that outputs were
        provided to `compile_model` is always used as the internal
        name to index mapping.

        If using run()'s list interface, this ordering must be used!
        """
        # Copy so people can't modify our version of the map
        return self._output_name_to_index.copy()
Get the name to index mapping. Unlike inputs, outputs
have a guaranteed ordering; the order that outputs were
provided to `compile_model` is always used as the internal
name to index mapping.

If using run()'s list interface, this ordering must be used!
python/aitemplate/compiler/model.py