mirror of
https://github.com/twitter/the-algorithm-ml.git
synced 2024-12-23 06:41:49 +01:00
Update metrics.py
multiline import
This commit is contained in:
parent
78c3235eee
commit
415863550d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user