code: def argone(iterable):
      result = []
      for i, x in enumerate(iterable):
          if not isinstance(x, six.integer_types):
              raise ValueError("elements in iterable must be int")
          if x == 1:
              result.append(i)
      return result
  
file_path: chainer/chainer/functions/array/squeeze.py
imports: import six
  from chainer import backend
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 1 for calling a global function with example usage: argone(iterable) and returns: result