code: def get_channel_axes(x, channel_last=False, dims=2):
      assert dims + 1 == x.ndim - 1
      return [x.ndim - 1] if channel_last else [1]
  
file_path: nnabla/python/test/utils/test_graph_converters/ref_graphs/helper.py
imports: from __future__ import absolute_import
  import numpy
  import nnabla
  from nnabla.parameter import get_parameter_or_create
label_desc: Use image node_id 2 for calling a global function with example usage: get_channel_axes(x, channel_last, dims) and returns: unknown