(self)
.. deprecated:: 0.0.0
           The `freeze_trained` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `freeze_trained`
           on the trained operator returned by `fit` instead.
.. deprecated:: 0.0.0
           The `freeze_trained` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `freeze_trained`
           on the trained operator returned by `fit` instead.
.. deprecated :: 0 . 0 . 0 The freeze_trained method is deprecated on a trainable operator because the learned coefficients could be accidentally overwritten by retraining . Call freeze_trained on the trained operator returned by fit instead .
def freeze_trained(self) -> "TrainedIndividualOp":
        """
        .. deprecated:: 0.0.0
           The `freeze_trained` method is deprecated on a trainable
           operator, because the learned coefficients could be
           accidentally overwritten by retraining. Call `freeze_trained`
           on the trained operator returned by `fit` instead.

        """
        warnings.warn(_mutation_warning("freeze_trained"), DeprecationWarning)
        try:
            return self._trained.freeze_trained()
        except AttributeError:
            raise ValueError("Must call `fit` before `freeze_trained`.")
def freeze_trained ( self ) -> "TrainedIndividualOp" : warnings . warn ( _mutation_warning ( "freeze_trained" ) , DeprecationWarning ) try : return self . _trained . freeze_trained ( ) except AttributeError : raise ValueError ( "Must call `fit` before `freeze_trained`." )