(transform_num: int)
return policy_id, probs, signs
Get parameters for autoaugment transformation

        Returns:
            params required by the autoaugment transformation
Get parameters for autoaugment transformation
Get parameters for autoaugment transformation
def get_params(transform_num: int) -> Tuple[int, Tensor, Tensor]:
        """Get parameters for autoaugment transformation

        Returns:
            params required by the autoaugment transformation
        """
        policy_id = int(paddle.randint(low=0, high=transform_num, shape=(1, )))
        probs = paddle.rand((2, ))
        signs = paddle.randint(low=0, high=2, shape=(2, ))

        return policy_id, probs, signs
def get_params ( transform_num : int ) -> Tuple [ int , Tensor , Tensor ] : policy_id = int ( paddle . randint ( low = 0 , high = transform_num , shape = ( 1 , ) ) ) probs = paddle . rand ( ( 2 , ) ) signs = paddle . randint ( low = 0 , high = 2 , shape = ( 2 , ) ) return policy_id , probs , signs