code: def test_correct_double_backward_unary():
      chainerx.check_double_backward(
          lambda xs: (xs[0] * xs[0],),
          (chainerx.array([1, 2, 3], chainerx.float32).require_grad(),),
          (chainerx.ones((3,), chainerx.float32).require_grad(),),
          (chainerx.ones((3,), chainerx.float32),),
          (
              chainerx.full((3,), 1e-3, chainerx.float32),
              chainerx.full((3,), 1e-3, chainerx.float32),
          ),
          1e-4,
          1e-3,
      )
  
file_path: chainer/tests/chainerx_tests/unit_tests/test_check_backward.py
imports: import pytest
  import chainerx
label_desc: Use image node_id 7 for calling a global function with example usage: test_correct_double_backward_unary() without return types