keras/src/models/model.py/Model/_get_variable_map
class Model:    def _get_variable_map(self):
        store = {}
        map_saveable_variables(self, store=store, visited_saveables=set())
        return store