(self, new_key, new_value)
Add key:value pair to model summary
        Parameters
        ----------
        new_key: str
        new_value: object

        Returns
        -------
Add key:value pair to model summary
        Parameters
        ----------
        new_key: str
        new_value: object
Add key : value pair to model summary Parameters ---------- new_key : str new_value : object
def add_summary(self, new_key, new_value):
        """
        Add key:value pair to model summary
        Parameters
        ----------
        new_key: str
        new_value: object

        Returns
        -------

        """

        original_value = self._summary.get(new_key, None)
        if original_value is not None:
            LOGGER.warning(
                f"{new_key} already exists in model summary."
                f"Corresponding value {original_value} will be replaced by {new_value}"
            )
        self._summary[new_key] = new_value
def add_summary ( self , new_key , new_value ) : original_value = self . _summary . get ( new_key , None ) if original_value is not None : LOGGER . warning ( f"{new_key} already exists in model summary." f"Corresponding value {original_value} will be replaced by {new_value}" ) self . _summary [ new_key ] = new_value