(self, idx=None)
return np.asarray([self._samples[i].get_U() for i in idx])
Returns N x T x dU numpy array of actions.
Returns N x T x dU numpy array of actions.
Returns N x T x dU numpy array of actions .
def get_U(self, idx=None):
        """ Returns N x T x dU numpy array of actions. """
        if idx is None:
            idx = range(len(self._samples))
        return np.asarray([self._samples[i].get_U() for i in idx])
def get_U ( self , idx = None ) : if idx is None : idx = range ( len ( self . _samples ) ) return np . asarray ( [ self . _samples [ i ] . get_U ( ) for i in idx ] )