code: def get_width_upright(bboxes):
      with tf.name_scope("BoundingBoxTransform/get_width_upright"):
          bboxes = tf.cast(bboxes, tf.float32)
          x1, y1, x2, y2 = tf.split(bboxes, 4, axis=1)
          width = x2 - x1 + 1.0
          height = y2 - y1 + 1.0
  
          # Calculate up right point of bbox (urx = up right x)
          urx = x1 + 0.5 * width
          ury = y1 + 0.5 * height
  
          return width, height, urx, ury
  
imports: import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: get_width_upright(bboxes) and returns: width,  height,  urx,  ury