code: def __init__(
      self,
      batch_size,
      num_dims=3,
      image_shape=None,  # Needed if normalized_anchor and normalized_shape are False
      image_layout=None,  # Needed if axis_names is used to specify the slice
      normalized_anchor=True,
      normalized_shape=True,
      axes=None,
      axis_names=None,
      min_norm_anchor=0.0,
      max_norm_anchor=0.2,
      min_norm_shape=0.4,
      max_norm_shape=0.75,
      seed=54643613,
  ):
      self.batch_size = batch_size
      self.num_dims = num_dims
      self.image_shape = image_shape
      self.image_layout = image_layout
      self.normalized_anchor = normalized_anchor
      self.normalized_shape = normalized_shape
      self.axes = axes
      self.axis_names = axis_names
      self.min_norm_anchor = min_norm_anchor
      self.max_norm_anchor = max_norm_anchor
      self.min_norm_shape = min_norm_shape
      self.max_norm_shape = max_norm_shape
      self.seed = seed
  
      if not self.axis_names and not self.axes:
          self.axis_names = "WH"
  
      if self.axis_names:
          self.axes = []
          for axis_name in self.axis_names:
              assert axis_name in self.image_layout
              self.axes.append(self.image_layout.index(axis_name))
      assert len(self.axes) > 0
  
imports: from nvidia.dali import Pipeline, pipeline_def, ops, fn, types
  import numpy
  import os
  from functools import partial
  from math import floor
  from test_utils import compare_pipelines, get_dali_extra_path, RandomDataIterator, generator_random_axes_for_3d_input, generator_random_data, as_array
  from nose_utils import assert_raises
  from nose2.tools import params
label_desc: Use image node_id 1 to create a new SliceArgsIterator object from inherited base classes: object with example: obj = SliceArgsIterator(batch_size, num_dims, image_shape, image_layout, normalized_anchor, normalized_shape, axes, axis_names, min_norm_anchor, max_norm_anchor, min_norm_shape, max_norm_shape, seed)