keras/src/backend/common/stateless_scope.py/StatelessScope/__enter__
class StatelessScope:    def __enter__(self):
        self.original_scope = get_stateless_scope()
        global_state.set_global_attribute("stateless_scope", self)
        return self