code: def test_upper_tail():
      torch.testing.assert_close(
          upper_tail(
              Normal(0.0, 1.0),
              0.5,
          ),
          torch.tensor([0.6745]),
      )
  
      torch.testing.assert_close(
          upper_tail(
              Uniform(0.0, 1.0),
              0.5,
          ),
          torch.tensor([0.75]),
      )
  
imports: import torch
  import torch.testing
  from torch.distributions import Normal, Uniform
  from neuralcompression.functional import upper_tail
label_desc: Use image node_id 1 for calling a global function with example usage: test_upper_tail() without return types