class_docstr: Box collection.
class_docstr_tok: ["Box","collection","."]
docstr: Returns number of boxes held in collection.
  
  Returns:
    a tensor representing the number of boxes held in the collection.
docstr_tok: ["Returns","number","of","boxes","held","in","collection",".","Returns",":","a","tensor","representing","the","number","of","boxes","held","in","the","collection","."]
code: def num_boxes(self):
      """Returns number of boxes held in collection.
  
      Returns:
        a tensor representing the number of boxes held in the collection.
      """
      return tf.shape(self.data["boxes"])[0]
  
file_path: DALI/docs/examples/use_cases/tensorflow/efficientdet/pipeline/anchors_utils/box_list.py
imports: import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the BoxList obj's underlying member method code with example usage: obj.num_boxes() and returns: tf