guides/training_with_built_in_methods.py/CategoricalTruePositives/reset_state
class CategoricalTruePositives:    def reset_state(self):
        # The state of the metric will be reset at the start of each epoch.
        self.true_positives.assign(0.0)