MCPcopy Create free account
hub / github.com/LeCAR-Lab/model-based-diffusion / softmax_update

Function softmax_update

mbd/planners/path_integral.py:34–36  ·  view source on GitHub ↗
(weights, Y0s, sigma, mu_0t)

Source from the content-addressed store, hash-verified

32
33@jax.jit
34def softmax_update(weights, Y0s, sigma, mu_0t):
35 mu_0tm1 = jnp.einsum("n,nij->ij", weights, Y0s)
36 return mu_0tm1, sigma
37
38
39@jax.jit

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected