MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / __call__

Method __call__

diffusers/src/diffusers/models/resnet_flax.py:56–60  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

54 )
55
56 def __call__(self, hidden_states):
57 # pad = ((0, 0), (0, 1), (0, 1), (0, 0)) # pad height and width dim
58 # hidden_states = jnp.pad(hidden_states, pad_width=pad)
59 hidden_states = self.conv(hidden_states)
60 return hidden_states
61
62
63class FlaxResnetBlock2D(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected