MCPcopy Create free account
hub / github.com/Zhiyuan-R/Tiger-Diffusion / forward

Method forward

modules/se.py:18–19  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

16 )
17
18 def forward(self, inputs):
19 return inputs * self.fc(inputs.mean(-1).mean(-1).mean(-1)).view(inputs.shape[0], inputs.shape[1], 1, 1, 1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected