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

Class FlaxDecoderOutput

diffusers/src/diffusers/models/vae_flax.py:33–44  ·  view source on GitHub ↗

Output of decoding method. Args: sample (`jnp.ndarray` of shape `(batch_size, num_channels, height, width)`): The decoded output sample from the last layer of the model. dtype (`jnp.dtype`, *optional*, defaults to `jnp.float32`): The `dtype` of the p

Source from the content-addressed store, hash-verified

31
32@flax.struct.dataclass
33class FlaxDecoderOutput(BaseOutput):
34 """
35 Output of decoding method.
36
37 Args:
38 sample (`jnp.ndarray` of shape `(batch_size, num_channels, height, width)`):
39 The decoded output sample from the last layer of the model.
40 dtype (`jnp.dtype`, *optional*, defaults to `jnp.float32`):
41 The `dtype` of the parameters.
42 """
43
44 sample: jnp.ndarray
45
46
47@flax.struct.dataclass

Callers 2

decodeMethod · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected