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

Method has_tensor

cake-core/src/models/common/disk_expert_provider.rs:710–712  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

708 }
709
710 fn has_tensor(&self, name: &str) -> bool {
711 self.tensors.contains_key(name)
712 }
713
714 fn tensor_names(&self) -> Vec<String> {
715 self.tensors.keys().cloned().collect()

Callers 5

contains_tensorMethod · 0.45
newMethod · 0.45
new_stackedMethod · 0.45
read_expert_weightMethod · 0.45
loadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected