code: def fori_loop(lower, upper, body_fun, init_val):
      return tf.while_loop(
          lambda i, val: i < upper,
          lambda i, val: (i + 1, body_fun(i, val)),
          (lower, init_val),
      )[1]
  
imports: import types
  import numpy
  import tensorflow
  from tensorflow.compiler.tf2xla.python.xla import dynamic_update_slice
  from keras.backend.common import KerasVariable
  from keras.backend.common import global_state
  from keras.backend.common import standardize_dtype
  from keras.backend.common.keras_tensor import KerasTensor
  from keras.backend.common.name_scope import name_scope
  from keras.backend.common.stateless_scope import StatelessScope
  from keras.backend.common.stateless_scope import in_stateless_scope
  from keras.utils.naming import auto_name
label_desc: Use image node_id 14 for calling a global function with example usage: fori_loop(lower, upper, body_fun, init_val) and returns: tf