!22612 [API] rearrange_inputs should be open to user

Merge pull request !22612 from kingxian/master
This commit is contained in:
i-robot 2021-08-31 02:23:23 +00:00 committed by Gitee
commit 84e8c04244
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ on the evaluation dataset. It's used to choose the best model.
from .accuracy import Accuracy
from .hausdorff_distance import HausdorffDistance
from .error import MAE, MSE
from .metric import Metric
from .metric import Metric, rearrange_inputs
from .precision import Precision
from .recall import Recall
from .fbeta import Fbeta, F1
@ -43,7 +43,7 @@ __all__ = [
"get_metric_fn",
"Accuracy",
"MAE", "MSE",
"Metric",
"Metric", "rearrange_inputs",
"Precision",
"HausdorffDistance",
"Recall",