code: def _iter_body(i, state):
      y, count, n, ta = state
      curr_result = sample_node(count[i] * n, y[i])
      curr_result = tf.reshape(curr_result, [-1, n])
      out_ta = ta.write(i, curr_result)
      return i + 1, (y, count, n, out_ta)
  
file_path: euler/tf_euler/python/euler_ops/sample_ops.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import ctypes
  import os
  import tensorflow
  from tf_euler.python.euler_ops import base
  from tf_euler.python.euler_ops import type_ops
label_desc: Use image node_id 1 for calling a global function with example usage: _iter_body(i, state) and returns: unknown,  y,  count,  n,  out_ta