MCPcopy 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_5bFunction · 0.80
build_worker_topologyFunction · 0.80
create_new_metadataFunction · 0.80
read_tensorMethod · 0.80
read_tensorsMethod · 0.80
push_model_dataFunction · 0.80
advertise_workerFunction · 0.80
cpu_storage_bytes_rangeFunction · 0.80
test_wire_tensorFunction · 0.80

Calls 1

as_sliceMethod · 0.80

Tested by 7

test_wire_tensorFunction · 0.64
test_single_op_echoFunction · 0.64
test_batch_echoFunction · 0.64