Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
load
Method · 0.45
forward_cached
Method · 0.45
load_with_vae_dim
Method · 0.45
encode_streaming
Method · 0.45
load
Method · 0.45
load
Method · 0.45
load
Method · 0.45
load
Method · 0.45
forward_cached
Method · 0.45
decode_streaming
Method · 0.45
test_streaming_cache_set_and_get
Function · 0.45
Calls
no outgoing calls
Tested by
1
test_streaming_cache_set_and_get
Function · 0.36