network1.py 138 B

12345678
  1. import torch.nn as nn
  2. class Net(nn.Module):
  3. def __init__(self):
  4. super().__init__()
  5. self.linear = nn.Linear(10, 20)