MCPcopy Create free account
hub / github.com/AlayaLab/Hive / __call__

Method __call__

models/flowsep/diffusers/models/vae_flax.py:376–383  ·  view source on GitHub ↗
(self, hidden_states, deterministic=True)

Source from the content-addressed store, hash-verified

374 self.upsamplers_0 = FlaxUpsample2D(self.out_channels, dtype=self.dtype)
375
376 def __call__(self, hidden_states, deterministic=True):
377 for resnet in self.resnets:
378 hidden_states = resnet(hidden_states, deterministic=deterministic)
379
380 if self.add_upsample:
381 hidden_states = self.upsamplers_0(hidden_states)
382
383 return hidden_states
384
385
386class FlaxUNetMidBlock2D(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected