diff --git a/tiramisu/api.py b/tiramisu/api.py index c62451e..baf4115 100644 --- a/tiramisu/api.py +++ b/tiramisu/api.py @@ -1536,6 +1536,12 @@ class TiramisuDispatcherOption(TiramisuDispatcher, TiramisuContextOption): subconfig, self._config_bag) + def __getattr__(self, subfunc: str) -> Any: + if subfunc == 'unrestraint': + config_bag = self._config_bag.copy() + config_bag.unrestraint() + return TiramisuDispatcherOption(config_bag) + class Config(TiramisuAPI): """Root config object that enables us to handle the configuration options"""