Update metrics.py

multiline import
This commit is contained in:
Siddhi Kiran Bajracharyya 2023-04-03 17:59:30 -05:00 committed by GitHub
parent 78c3235eee
commit 415863550d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,11 @@ We assume multi task models will output [task_idx, ...] predictions
"""
from typing import Any, Dict
from tml.core.metric_mixin import MetricMixin, StratifyMixin, TaskMixin
from tml.core.metric_mixin import (
MetricMixin,
StratifyMixin,
TaskMixin
)
import torch
import torchmetrics as tm