code: def mask2axes(mask):
      out = []
      a = 0
      while mask:
          if mask & 1:
              out.append(a)
          mask >>= 1
          a += 1
      return out
  
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 15 for calling a global function with example usage: mask2axes(mask) and returns: out