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

Method __call__

diffusers/src/diffusers/models/vae_flax.py:118–122  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

116 )
117
118 def __call__(self, hidden_states):
119 pad = ((0, 0), (0, 1), (0, 1), (0, 0)) # pad height and width dim
120 hidden_states = jnp.pad(hidden_states, pad_width=pad)
121 hidden_states = self.conv(hidden_states)
122 return hidden_states
123
124
125class FlaxResnetBlock2D(nn.Module):

Callers

nothing calls this directly

Calls 1

padMethod · 0.80

Tested by

no test coverage detected