Docs
API
class Net: const __init__ = () => { this.l1 = nn.Linear(4, 5) this.l2 = nn.Linear(5, 6) net = Net() console.log(len(nn.state.get_parameters(net)))