Skip to content
Snippets Groups Projects
Commit 918301af authored by Maja Jabłońska's avatar Maja Jabłońska
Browse files

Clean up base.py

parent 09a6e997
No related branches found
No related tags found
1 merge request!46Merge COMBO 3.0 into master
......@@ -5,10 +5,7 @@ import torch.nn as nn
import utils
import combo.models.combo_nn as combo_nn
import combo.utils.checks as checks
class Model:
pass
from combo import data
class Predictor(nn.Module):
......@@ -21,7 +18,6 @@ class Predictor(nn.Module):
class Linear(nn.Linear):
def __init__(self,
in_features: int,
out_features: int,
......@@ -147,7 +143,6 @@ class FeedForward(torch.nn.Module):
return output, feature_maps
class FeedForwardPredictor(Predictor):
"""Feedforward predictor. Should be used on top of Seq2Seq encoder."""
......@@ -216,4 +211,3 @@ class FeedForwardPredictor(Predictor):
hidden_dims=hidden_dims,
activations=activations,
dropout=dropout))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment