code: def _get_image_border(border, size):
      i = tf.constant(1)
      cond = lambda i: tf.math.less_equal(
          size - border // i, border // i
      )
      body = lambda i: tf.multiply(i, 2)
      r = tf.while_loop(cond, body, [i])
      return border // r[0]
  
imports: import functools
  import cv2
  import numpy
  import tensorflow
  from tensorflow_graphics.projects.points_to_3Dobjects.utils import image
  from google3.third_party.tensorflow_models.object_detection.core import preprocessor
label_desc: Use image node_id 9 for calling a global function with example usage: _get_image_border(border, size) and returns: unknown