MCPcopy Create free account
hub / github.com/BIT-MCS/DRL-eFresh / Flatten

Class Flatten

methods/model.py:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21class Flatten(nn.Module):
22 def forward(self, x):
23 return x.view(x.size(0), -1)
24
25
26class Model(nn.Module):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected