code: def area(boxlist, scope=None):
      """Computes area of boxes.
  
      Args:
        boxlist: BoxList holding N boxes
        scope: name scope.
  
      Returns:
        a tensor with shape [N] representing box areas.
      """
      with tf.name_scope(scope, "Area"):
          y_min, x_min, y_max, x_max = tf.split(
              value=boxlist.get(), num_or_size_splits=4, axis=1
          )
          return tf.squeeze((y_max - y_min) * (x_max - x_min), [1])
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/anchors_utils/region_similarity_calculator.py
imports: from abc import ABCMeta
  from abc import abstractmethod
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: area(boxlist, scope) and returns: tf