class_docstr: Abstract base class for box coder.
class_docstr_tok: ["Abstract","base","class","for","box","coder","."]
docstr: Return the size of each code.
  
  This number is a constant and should agree with the output of the `encode`
  op (e.g. if rel_codes is the output of self.encode(...), then it should have
  shape [N, code_size()]).  This abstractproperty should be overridden by
  implementations.
  
  Returns:
    an integer constant
docstr_tok: ["Return","the","size","of","each","code",".","This","number","is","a","constant","and","should","agree","with","the","output","of","the","`","encode","`","op","(","e.g",".","if","rel_codes","is","the","output","of","self.encode","(","...",")",",","then","it","should","have","shape","[","N",",","code_size","(",")","]",")",".","This","abstractproperty","should","be","overridden","by","implementations",".","Returns",":","an","integer","constant"]
code: def code_size(self):
      """Return the size of each code.
  
      This number is a constant and should agree with the output of the `encode`
      op (e.g. if rel_codes is the output of self.encode(...), then it should have
      shape [N, code_size()]).  This abstractproperty should be overridden by
      implementations.
  
      Returns:
        an integer constant
      """
      pass
  
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 1 for calling the BoxCoder obj's underlying member method code with example usage: obj.code_size() without return types