MCPcopy Create free account
hub / github.com/PolymathicAI/AstroCLIP / forward

Method forward

astroclip/modules.py:330–331  ·  view source on GitHub ↗
(self, x: torch.Tensor)

Source from the content-addressed store, hash-verified

328 self.register_buffer("bias", bias)
329
330 def forward(self, x: torch.Tensor) -> torch.Tensor:
331 return F.linear(x, self.weight, self.bias)
332
333 def extra_repr(self) -> str:
334 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected