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

Method add_scaled

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

Source from the content-addressed store, hash-verified

1466 }
1467
1468 fn add_scaled(&self, a: &Tensor, b: &Tensor, c: &Tensor) -> Result<Tensor> {
1469 (a + b.broadcast_mul(&c.unsqueeze(0)?.unsqueeze(2)?)?)?.contiguous()
1470 }
1471
1472 fn adaln_modulate(
1473 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected