code: def test_array_require_grad_without_backprop_id(backprop_args):
      array = chainerx.array([1, 1, 1], chainerx.float32)
  
      assert not array.is_grad_required(*backprop_args)
      assert not array.is_backprop_required(*backprop_args)
      assert not array.is_backprop_required(chainerx.anygraph)
      array.require_grad(*backprop_args)
      assert array.is_grad_required(*backprop_args)
      assert array.is_backprop_required(*backprop_args)
      assert array.is_backprop_required(chainerx.anygraph)
  
      # Repeated calls should not fail, but do nothing
      array.require_grad(*backprop_args)
      assert array.is_grad_required(*backprop_args)
      assert array.is_backprop_required(*backprop_args)
      assert array.is_backprop_required(chainerx.anygraph)
  
imports: import copy
  import math
  import pickle
  import numpy
  import pytest
  import chainerx
  import chainerx.testing
  from chainerx_tests import array_utils
label_desc: Use image node_id 19 for calling a global function with example usage: test_array_require_grad_without_backprop_id(backprop_args) without return types