Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evilsocket/cake
/ to_vec
Method
to_vec
cake-core/src/utils/tensor_storage.rs:140–142 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
138
}
139
140
fn to_vec(self) -> Vec<usize> {
141
self.as_slice().to_vec()
142
}
143
}
144
145
/// Metadata for a single tensor within a safetensors shard file.
Callers
15
run_vibevoice_1_5b
Function · 0.80
build_worker_topology
Function · 0.80
create_new_metadata
Function · 0.80
read_tensor
Method · 0.80
read_tensors
Method · 0.80
push_model_data
Function · 0.80
advertise_worker
Function · 0.80
cpu_storage_bytes_range
Function · 0.80
test_raw_tensor_data_integrity
Function · 0.80
test_wire_tensor
Function · 0.80
test_writer_buf_large_tensor
Function · 0.80
read_layer_tensor_details
Function · 0.80
Calls
1
as_slice
Method · 0.80
Tested by
7
test_raw_tensor_data_integrity
Function · 0.64
test_wire_tensor
Function · 0.64
test_writer_buf_large_tensor
Function · 0.64
test_single_op_echo
Function · 0.64
test_batch_echo
Function · 0.64
test_multiple_sequential_ops
Function · 0.64
test_large_tensor_transfer
Function · 0.64