code: def test_log_expm1():
      rng = numpy.random.default_rng(0xFEEEFEEE)
  
      x = rng.random((32,), dtype=numpy.float64)
  
      actual = log_expm1(torch.tensor(x, dtype=torch.float))
  
      assert torch.isfinite(actual).all()
  
      torch.testing.assert_close(
          actual,
          torch.tensor(numpy.log(numpy.expm1(x)), dtype=torch.float),
      )
  
imports: import numpy.random
  import torch
  import torch.testing
  from neuralcompression.functional import log_expm1
label_desc: Use image node_id 1 for calling a global function with example usage: test_log_expm1() without return types