code: def all_axes(dim):
      yield None
      for mask in range(1, 1 << dim):
          yield mask2axes(mask)
  
imports: from nvidia.dali.pipeline import Pipeline
  from nvidia.dali import backend
  import nvidia.dali.ops
  import numpy
  from test_utils import dali_type
  from nvidia.dali import fn, pipeline_def, types
  from nose2.tools import params
label_desc: Use image node_id 16 for calling a global function with example usage: all_axes(dim) without return types