(self)
return {k: v if isinstance(v, (int, float, str)) else str(v) for k, v in self._hparams.items() if k != 'self'}
Hyperparameters relevant to construction of the model.
Hyperparameters relevant to construction of the model.
Hyperparameters relevant to construction of the model .
def hparams(self):
        """Hyperparameters relevant to construction of the model."""
        return {k: v if isinstance(v, (int, float, str)) else str(v) for k, v in self._hparams.items() if k != 'self'}
def hparams ( self ) : return { k : v if isinstance ( v , ( int , float , str ) ) else str ( v ) for k , v in self . _hparams . items ( ) if k != 'self' }