code: def area(boxes):
      """
      Args:
        boxes: nx4 floatbox
  
      Returns:
        n
      """
      x_min, y_min, x_max, y_max = tf.split(boxes, 4, axis=1)
      return tf.squeeze((y_max - y_min) * (x_max - x_min), [1])
  
imports: import tensorflow
  from tensorpack.tfutils.scope_utils import under_name_scope
label_desc: Use image node_id 1 for calling a global function with example usage: area(boxes) and returns: tf