code: def assert_allclose(actual, expected, rtol=1e-3, atol=1e-2):
      if actual is None:
          assert expected is None
      else:
          torch.testing.assert_allclose(
              actual, expected, rtol=rtol, atol=atol
          )
  
imports: import copy
  import torch
  from torch import nn
  from torchsde.types import Callable, ModuleOrModules, Optional, TensorOrTensors
label_desc: Use image node_id 1 for calling a global function with example usage: assert_allclose(actual, expected, rtol, atol) without return types