MCPcopy Index your code
hub / github.com/huggingface/diffusers / FlaxDecoderOutput

Class FlaxDecoderOutput

src/diffusers/models/vae_flax.py:35–46  ·  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

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

Callers 2

decodeMethod · 0.85
__call__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…