Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yingfhu committed Feb 20, 2023
1 parent 7eca4bf commit 4b19cfc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmeval/metrics/utils/multi_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ def format_data(
The input data of prediction or labels.
num_classes (int): The number of classes.
is_onehot (bool): Whether the data is one-hot encodings.
If `None`, this will be automatically inducted.
Defaults to `None`.
Return:
torch.Tensor or oneflow.Tensor or np.ndarray:
Expand Down

0 comments on commit 4b19cfc

Please # to comment.