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

Method has_tensor

cake-core/src/utils/tensor_storage.rs:572–574  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

570 }
571
572 fn has_tensor(&self, name: &str) -> bool {
573 self.index.contains_key(name)
574 }
575
576 fn tensor_names(&self) -> Vec<String> {
577 self.index.keys().cloned().collect()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected