freeze_params# penzai.core.variables.freeze_params(tree: Any, predicate: Callable[[Parameter], bool] | None = None) → Any[source]# Version of freeze_variables that only freezes Parameters.