MCPcopy Create free account
hub / github.com/modAL-python/modAL / forward

Method forward

examples/pytorch_mc_dropout.py:36–41  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

34 )
35
36 def forward(self, x):
37 out = x
38 out = self.convs(out)
39 out = out.view(-1, 12*12*64)
40 out = self.fcs(out)
41 return out
42
43
44torch_model = Torch_Model()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected