MCPcopy Create free account
hub / github.com/ChunmingHe/WS-SAM / forward

Method forward

lib/Slot.py:34–37  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

32 self.grid = build_grid(resolution)
33
34 def forward(self, inputs):
35 device = inputs.device
36 self.grid = self.grid.to(device)
37 return inputs + self.proj(self.grid)
38
39
40def spatial_broadcast(slots, resolution):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected