Skip to content
Snippets Groups Projects
Commit 9ecfc286 authored by Olegs NIKISINS's avatar Olegs NIKISINS
Browse files

Added missing import to TwoLayerMLP

parent 4a2f7f6a
No related branches found
No related tags found
1 merge request!14MLP class and config to train it
......@@ -8,6 +8,9 @@
from torch import nn
import torch.nn.functional as F
#==============================================================================
# Define the network:
......@@ -22,7 +25,7 @@ class TwoLayerMLP(nn.Module):
Dimensionality of the input feature vectors.
n_hidden_relu : int
Number of ReLU units in the hidden layer of the MLP
Number of ReLU units in the hidden layer of the MLP.
"""
def __init__(self, in_features, n_hidden_relu):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment