code: def test_quantize_linear_double_backward(
      dtype,
      narrow_range,
      round_mode,
      x_shape,
      s_shape,
      seed,
      ctx,
      func_name,
  ):
      from nbla_test_utils import (
          cap_ignore_region,
          backward_function_tester,
      )
  
      rng = np.random.RandomState(seed)
  
      x = rng.randn(*x_shape)
      scale = rng.rand(*s_shape) + 0.001
      zero_point = rng.randint(
          np.iinfo(dtype).min // 3, np.iinfo(dtype).max // 3, s_shape
      )
      inputs = [x, scale, zero_point]
      func_args = [round_mode, narrow_range, dtype]
      backward_function_tester(
          rng,
          F.quantize_linear,
          inputs,
          func_args=func_args,
          ctx=ctx,
          backward=[True, False, False],
          atol_accum=3e-2,
      )
  
file_path: nnabla/python/test/function/test_quantize_linear.py
imports: import pytest
  import numpy
  import nnabla.functions
  from nbla_test_utils import list_context
label_desc: Use image node_id 5 for calling a global function with example usage: test_quantize_linear_double_backward(dtype, narrow_range, round_mode, x_shape, s_shape, seed, ctx, func_name) without return types