MCPcopy Create free account
hub / github.com/ZZy979/pytorch-tutorial / __init__

Method __init__

beginner/two_layer_net.py:11–17  ·  view source on GitHub ↗

In the constructor we instantiate two nn.Linear modules and assign them as member variables.

(self, D_in, H, D_out)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected