Model.copy_vars()

Model.copy_vars()#

Model.copy_vars()[source]#

Returns an unfrozen deep copy of the model variables.

Values are dynamically typed, as in vars, so callers can use subclass-specific methods on variables retrieved by name.

Return type:

dict[str, Any]