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

Method forward_mut

cake-core/src/models/sd/clip.rs:77–85  ·  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

75 }
76
77 async fn forward_mut(
78 &mut self,
79 x: &Tensor,
80 index_pos: usize,
81 block_idx: usize,
82 ctx: &mut Context,
83 ) -> anyhow::Result<Tensor> {
84 self.forward(x, index_pos, block_idx, ctx).await
85 }
86
87 fn layer_name(&self) -> &str {
88 self.layer_name

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.45

Tested by

no test coverage detected