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

Method __init__

utils/spatial_att_github.py:184–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182
183class QueryNetwork(nn.Module):
184 def __init__(self):
185 super(QueryNetwork, self).__init__()
186 # TODO: Add proper non-linearity.
187 self.model = nn.Sequential(
188 nn.Linear(256, 128), nn.ReLU(), nn.Linear(128, 288), nn.ReLU(), nn.Linear(288, 288)
189 )
190
191 def forward(self, query):
192 out = self.model(query)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected