DEBSOURCES
Skip Quicknav
sources / pytorch / 1.13.1%2Bdfsg-4 / torch / testing / _internal / data / network1.py
12345678
import torch.nn as nn class Net(nn.Module): def __init__(self): super().__init__() self.linear = nn.Linear(10, 20)