code: def test_transform_shear_op_runtime_args(
      batch_size=3, num_threads=4, device_id=0
  ):
      for ndim in [2, 3]:
          for use_angles in [False, True]:
              for use_center in [False, True]:
                  for has_input in [False, True]:
                      for reverse_order in (
                          [False, True] if has_input else [False]
                      ):
                          yield (
                              check_transform_shear_op_runtime_args,
                              ndim,
                              use_angles,
                              use_center,
                              has_input,
                              reverse_order,
                              4,
                              4,
                          )
  
imports: import random
  import warnings
  import numpy
  from scipy.spatial.transform import Rotation
  from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.ops.transforms
  import nvidia.dali.ops
  import nvidia.dali.fn
  from nvidia.dali import pipeline_def
  from sequences_test_utils import ArgData, ArgDesc, sequence_suite_helper, ArgCb, ParamsProvider
  from nose_utils import assert_raises
label_desc: Use image node_id 16 for calling a global function with example usage: test_transform_shear_op_runtime_args(batch_size, num_threads, device_id) without return types