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

Method reset

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

Source from the content-addressed store, hash-verified

125 return ch, cc
126
127 def reset(self):
128 self.prev_hidden = None
129
130 def init_hidden(self, batch_size, hidden, height, width, device):
131 if self.Wci is None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected