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

Method add3

cake-core/src/backends/cpu/mod.rs:252–254  ·  view source on GitHub ↗
(&self, a: &Tensor, b: &Tensor, c: &Tensor)

Source from the content-addressed store, hash-verified

250 }
251
252 fn add3(&self, a: &Tensor, b: &Tensor, c: &Tensor) -> Result<Tensor> {
253 (a + b)? + c
254 }
255
256 fn exp_mul(&self, x: &Tensor, y: &Tensor) -> Result<Tensor> {
257 x * y.exp()?

Callers 5

fused_add3_cpuFunction · 0.45
fused_add3_gpuFunction · 0.45
vulkan_add3Function · 0.45
test_cpu_backend_add3Function · 0.45
metal_add3_matches_cpuFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_cpu_backend_add3Function · 0.36
metal_add3_matches_cpuFunction · 0.36