class_docstr: Box collection.
class_docstr_tok: ["Box","collection","."]
docstr: Add field to box list.
  
  This method can be used to add related box data such as
  weights/labels, etc.
  
  Args:
    field: a string key to access the data via `get`
    field_data: a tensor containing the data to store in the BoxList
docstr_tok: ["Add","field","to","box","list",".","This","method","can","be","used","to","add","related","box","data","such","as","weights\/labels",",","etc",".","Args",":","field",":","a","string","key","to","access","the","data","via","`","get","`","field_data",":","a","tensor","containing","the","data","to","store","in","the","BoxList"]
code: def add_field(self, field, field_data):
      """Add field to box list.
  
      This method can be used to add related box data such as
      weights/labels, etc.
  
      Args:
        field: a string key to access the data via `get`
        field_data: a tensor containing the data to store in the BoxList
      """
      self.data[field] = field_data
  
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 6 for calling the BoxList obj's underlying member method code with example usage: obj.add_field(field, field_data) without return types