models/policies.py
def sample(self, prob):
        """
        Sample action from the given distribution.

        Args:
            prob: the parameter of the distribution

        Return:
            action: the sampled action
        """
        raise NotImplementedError

        Sample action from the given distribution.

        Args:
            prob: the parameter of the distribution

        Return:
            action: the sampled action
        
Sample action from the given distribution.
Sample action from the given distribution .
def sample(self, prob):
        raise NotImplementedError
def sample ( self , prob ) : raise NotImplementedError
Sample action from the given distribution.
Sample action from the given distribution .
"""
        Sample action from the given distribution.

        Args:
            prob: the parameter of the distribution

        Return:
            action: the sampled action
        """
self
prob
the parameter of the distribution
the parameter of the distribution