Adapters
English
code
medical
UANN / Models /sensor_expert.py
dnnsdunca's picture
Create Models/sensor_expert.py
a2954b5 verified
raw
history blame
282 Bytes
import torch
import torch.nn as nn
import torch.nn.functional as F
class SensorExpert(nn.Module):
def __init__(self):
super(SensorExpert, self).__init__()
self.fc1 = nn.Linear(10, 128)
def forward(self, x):
x = F.relu(self.fc1(x))
return x