class_docstr: Reports F1 Score for a target class.
code: def __init__(self, num_classes: int, target_class: int, name: str):
      self.target_class = target_class
      super().__init__(num_classes=num_classes, name=name)
  
imports: import os
  import tempfile
  from typing import Callable, Optional, Tuple, Type, Union
  from absl import logging
  import ml_collections
  import numpy
  import tensorflow
  import tensorflow_addons
  from deepvariant import dv_constants
  from deepvariant import dv_utils
label_desc: Use image node_id 1 to create a new F1ScorePerClass object from inherited base classes: tfa.metrics with example: obj = F1ScorePerClass(num_classes, target_class, name)