(degrees: List[float])
return angle
Get parameters for ``rotate`` for a random rotation.

        Returns:
            float: angle parameter to be passed to ``rotate`` for random rotation.
Get parameters for ``rotate`` for a random rotation.
Get parameters for rotate for a random rotation .
def get_params(degrees: List[float]) -> float:
        """Get parameters for ``rotate`` for a random rotation.

        Returns:
            float: angle parameter to be passed to ``rotate`` for random rotation.
        """
        angle = float(
            torch.empty(1).uniform_(float(degrees[0]), float(degrees[1])).item(
            ))
        return angle
def get_params ( degrees : List [ float ] ) -> float : angle = float ( torch . empty ( 1 ) . uniform_ ( float ( degrees [ 0 ] ) , float ( degrees [ 1 ] ) ) . item ( ) ) return angle