Python API
Computes F1 macro.
y_true (Tensor) – true target values.
Tensor
y_pred (Tensor) – predicted target values.
sample_weight (Optional[Tensor]) – specify weighted mean.
Optional
metric value.