(self, m)
return ent
Measure the entropy of the current trajectory.
Measure the entropy of the current trajectory.
Measure the entropy of the current trajectory .
def _measure_ent(self, m):
        """ Measure the entropy of the current trajectory. """
        ent = 0
        for t in range(self.T):
            ent = ent + np.sum(
                np.log(np.diag(self.cur[m].traj_distr.chol_pol_covar[t, :, :]))
            )
        return ent
def _measure_ent ( self , m ) : ent = 0 for t in range ( self . T ) : ent = ent + np . sum ( np . log ( np . diag ( self . cur [ m ] . traj_distr . chol_pol_covar [ t , : , : ] ) ) ) return ent