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

Method forward_mut

cake-core/src/models/flux/text_encoder.rs:298–306  ·  view source on GitHub ↗
(
        &mut self,
        x: &Tensor,
        index_pos: usize,
        block_idx: usize,
        ctx: &mut Context,
    )

Source from the content-addressed store, hash-verified

296 }
297
298 async fn forward_mut(
299 &mut self,
300 x: &Tensor,
301 index_pos: usize,
302 block_idx: usize,
303 ctx: &mut Context,
304 ) -> anyhow::Result<Tensor> {
305 self.forward(x, index_pos, block_idx, ctx).await
306 }
307
308 fn layer_name(&self) -> &str {
309 "flux_text_encoder"

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected