Skip to content

Commit 3fd9e31

Browse files
committed
Added file for SolveigModel
1 parent 4350664 commit 3fd9e31

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

utils/metrics/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
__all__ = ["EntropyPrediction", "Recall"]
1+
__all__ = ["EntropyPrediction", "Recall", "F1"]
22

33
from .EntropyPred import EntropyPrediction
44
from .recall import Recall
5+
from .F1 import F1Score

utils/models/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
__all__ = ["MagnusModel", "ChristianModel"]
1+
__all__ = ["MagnusModel", "ChristianModel", "SolveigModel"]
22

33
from .christian_model import ChristianModel
44
from .magnus_model import MagnusModel
5+
from .solveig_model import SolveigModel

utils/models/solveig_model.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import pytest
2+
import torch
3+
import torch.nn as nn
4+
5+
6+
class SolveigModel(nn.Module):
7+
def __init__(self):
8+
super().__init__()
9+
10+
def forward(self, x):
11+
return

0 commit comments

Comments
 (0)