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

Method get_unchecked

cake-core/src/utils/fp8.rs:91–93  ·  view source on GitHub ↗
(&self, name: &str, dtype: DType, dev: &Device)

Source from the content-addressed store, hash-verified

89 }
90
91 fn get_unchecked(&self, name: &str, dtype: DType, dev: &Device) -> candle_core::Result<Tensor> {
92 self.load_tensor(name, dtype, dev)
93 }
94
95 fn contains_tensor(&self, name: &str) -> bool {
96 self.inner.get(name).is_ok()

Callers

nothing calls this directly

Calls 1

load_tensorMethod · 0.45

Tested by

no test coverage detected