original_docstring: Computes intersection over union (IoU)
docstring: Computes intersection over union (IoU)
docstring_tokens: Computes intersection over union ( IoU )
code: def compute(self) -> Tensor:
          """Computes intersection over union (IoU)"""
          return _jaccard_from_confmat(
              self.confmat, self.num_classes, self.ignore_index, self.absent_score, self.reduction
          )
code_tokens: def compute ( self ) -> Tensor : return _jaccard_from_confmat ( self . confmat , self . num_classes , self . ignore_index , self . absent_score , self . reduction )
short_docstring: Computes intersection over union (IoU)
short_docstring_tokens: Computes intersection over union ( IoU )
comment: """Computes intersection over union (IoU)"""