(self, state)
return state
De-normalize states and actions.
De-normalize states and actions.
De - normalize states and actions .
def denormalize(self, state):
        """De-normalize states and actions."""
        if self.normalization is None:
            return state
        Tx = np.diag(self.normalization)
        state = tf.matmul(state, Tx)
        return state
def denormalize ( self , state ) : if self . normalization is None : return state Tx = np . diag ( self . normalization ) state = tf . matmul ( state , Tx ) return state