(self, obsfeat_B_Df, deterministic=False)
return self._sample_from_actiondist(actiondist_B_Pa, deterministic), actiondist_B_Pa
Samples actions conditioned on states
Samples actions conditioned on states
Samples actions conditioned on states
def sample_actions(self, obsfeat_B_Df, deterministic=False):
        '''Samples actions conditioned on states'''
        actiondist_B_Pa = self._compute_action_dist_params(obsfeat_B_Df)
        return self._sample_from_actiondist(actiondist_B_Pa, deterministic), actiondist_B_Pa
def sample_actions ( self , obsfeat_B_Df , deterministic = False ) : actiondist_B_Pa = self . _compute_action_dist_params ( obsfeat_B_Df ) return self . _sample_from_actiondist ( actiondist_B_Pa , deterministic ) , actiondist_B_Pa