MCPcopy Create free account
hub / github.com/evilsocket/cake / Flux2Decoder

Class Flux2Decoder

cake-core/src/models/flux/flux2_vae.rs:228–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227#[derive(Debug)]
228struct Flux2Decoder {
229 conv_in: RawConv2d,
230 mid_block: MidBlock,
231 up_blocks: Vec<UpDecoderBlock>,
232 conv_norm_out_weight: Tensor,
233 conv_norm_out_bias: Tensor,
234 conv_norm_out_groups: usize,
235 conv_norm_out_eps: f32,
236 conv_out: RawConv2d,
237 backend: Arc<dyn ComputeBackend>,
238}
239
240impl Flux2Decoder {
241 fn load(vb: VarBuilder, backend: Arc<dyn ComputeBackend>) -> Result<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected