in src/exporters/coreml/config.py [0:0]
def values_override(self) -> Optional[Mapping[str, Any]]:
"""
Dictionary of keys to override in the model's config before exporting.
Returns:
Dictionary with the keys (and their corresponding values) to override.
"""
if hasattr(self._config, "use_cache"):
return {"use_cache": self.use_past}
return None