code: def test_safepow():
      from deepchem.utils.safeops_utils import safepow
  
      a = torch.tensor([1e-35, 2e-40])
      p = torch.tensor([2.0, 3])
      result = safepow(a, p)
      assert torch.allclose(
          torch.tensor([1.0000e-24, 1.0000e-36]), result
      )
      assert torch.allclose(torch.tensor([0.0, 0.0]), a**p)
  
imports: import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_safepow() without return types