code: def atol(device, dtype):
      """Lower tolerance for cuda-float16 only."""
      if "cuda" in device.type and dtype == torch.float16:
          return 1.0e-3
      return 1.0e-4
  
imports: import numpy
  import pytest
  import torch
  import kornia
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling a global function with example usage: atol(device, dtype) and returns: int, int