class_docstr: Abstract base class for box coder.
class_docstr_tok: ["Abstract","base","class","for","box","coder","."]
docstr: Encode a box list relative to an anchor collection.
  
  Args:
    boxes: BoxList holding N boxes to be encoded
    anchors: BoxList of N anchors
  
  Returns:
    a tensor representing N relative-encoded boxes
docstr_tok: ["Encode","a","box","list","relative","to","an","anchor","collection",".","Args",":","boxes",":","BoxList","holding","N","boxes","to","be","encoded","anchors",":","BoxList","of","N","anchors","Returns",":","a","tensor","representing","N","relative-encoded","boxes"]
code: def encode(self, boxes, anchors):
      """Encode a box list relative to an anchor collection.
  
      Args:
        boxes: BoxList holding N boxes to be encoded
        anchors: BoxList of N anchors
  
      Returns:
        a tensor representing N relative-encoded boxes
      """
      with tf.name_scope("Encode"):
          return self._encode(boxes, anchors)
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/anchors_utils/box_coder.py
imports: from abc import ABCMeta
  from abc import abstractmethod
  from abc import abstractproperty
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the BoxCoder obj's underlying member method code with example usage: obj.encode(boxes, anchors) and returns: self