code: def test_batch_det_forward_backward(seed, ctx, func_name):
      from nbla_test_utils import function_tester
  
      rng = np.random.RandomState(seed)
      # input must be batched square matrix
      inputs = [
          np.clip(rng.randn(2, 3, 3).astype(np.float32), -0.9, 0.9)
      ]
      function_tester(
          rng,
          F.batch_det,
          ref_det,
          inputs,
          ctx=ctx,
          func_name=func_name,
          atol_b=2e-2,
          dstep=1e-4,
          disable_half_test=True,
      )
  
file_path: nnabla/python/test/function/test_batch_det.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import list_context
label_desc: Use image node_id 2 for calling a global function with example usage: test_batch_det_forward_backward(seed, ctx, func_name) without return types