class_docstr: TBLR BBox coder.
  
  Following the practice in `FSAF <https://arxiv.org/abs/1903.00621>`_,
  this coder encodes gt bboxes (x1, y1, x2, y2) into (top, bottom, left,
  right) and decode it back to the original.
  
  Args:
      normalizer (list | float): Normalization factor to be
        divided with when coding the coordinates. If it is a list, it should
        have length of 4 indicating normalization factor in tblr dims.
        Otherwise it is a unified float factor for all dims. Default: 4.0
      clip_border (bool, optional): Whether clip the objects outside the
          border of the image. Defaults to True.
class_docstr_tok: ["TBLR","BBox","coder",".","Following","the","practice","in","`","FSAF","<","https",":","\/\/arxiv.org\/abs\/1903.00621",">","`","_",",","this","coder","encodes","gt","bboxes","(","x1",",","y1",",","x2",",","y2",")","into","(","top",",","bottom",",","left",",","right",")","and","decode","it","back","to","the","original",".","Args",":","normalizer","(","list","|","float",")",":","Normalization","factor","to","be","divided","with","when","coding","the","coordinates",".","If","it","is","a","list",",","it","should","have","length","of","4","indicating","normalization","factor","in","tblr","dims",".","Otherwise","it","is","a","unified","float","factor","for","all","dims",".","Default",":","4.0","clip_border","(","bool",",","optional",")",":","Whether","clip","the","objects","outside","the","border","of","the","image",".","Defaults","to","True","."]
code: def __init__(
      self,
      normalizer: Union[Sequence[float], float] = 4.0,
      clip_border: bool = True,
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.normalizer = normalizer
      self.clip_border = clip_border
  
file_path: mmdetection/mmdet/models/task_modules/coders/tblr_bbox_coder.py
imports: from typing import Optional, Sequence, Union
  import torch
  from torch import Tensor
  from mmdet.registry import TASK_UTILS
  from mmdet.structures.bbox import BaseBoxes, HorizontalBoxes, get_box_tensor
  from .base_bbox_coder import BaseBBoxCoder
label_desc: Use image node_id 1 to create a new TBLRBBoxCoder object from inherited base classes: BaseBBoxCoder with example: obj = TBLRBBoxCoder(normalizer, clip_border)