MCPcopy Create free account
hub / github.com/AkaliKong/MiniOneRec / aggregate

Method aggregate

utility.py:129–130  ·  view source on GitHub ↗
(self, input_tensor)

Source from the content-addressed store, hash-verified

127 return hidden
128
129 def aggregate(self, input_tensor):
130 return torch.mean(input_tensor, dim=-2)
131
132 def z_encode(self, input_tensor):
133 hidden = torch.relu(self.z_to_hidden(input_tensor))

Callers 1

encoderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected