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

Method __init__

methods/SpatialAttGRU.py:109–114  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107
108class QueryNetwork(nn.Module):
109 def __init__(self):
110 super(QueryNetwork, self).__init__()
111 # TODO: Add proper non-linearity.
112 self.model = nn.Sequential(
113 nn.Linear(256, 128), nn.ReLU(), nn.Linear(128, 288), nn.ReLU(), nn.Linear(288, 288)
114 )
115
116 def forward(self, query):
117 out = self.model(query)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected