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

Method get

cake-core/src/models/vibevoice/vae_decoder.rs:46–48  ·  view source on GitHub ↗
(&self, idx: usize)

Source from the content-addressed store, hash-verified

44 }
45
46 pub fn get(&self, idx: usize) -> Option<&Tensor> {
47 self.states.get(idx).and_then(|s| s.as_ref())
48 }
49
50 pub fn set(&mut self, idx: usize, state: Tensor) {
51 if idx >= self.states.len() {

Callers 11

loadMethod · 0.45
forward_cachedMethod · 0.45
load_with_vae_dimMethod · 0.45
encode_streamingMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
loadMethod · 0.45
forward_cachedMethod · 0.45
decode_streamingMethod · 0.45

Calls

no outgoing calls

Tested by 1