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

Function eval_fn

mbd/blackbox/mbd_mnist.py:171–172  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

169
170
171def eval_fn(params):
172 return loss(params, (train_images, train_labels))
173
174
175def add_noise_to_params(params, sigma, rng):

Callers

nothing calls this directly

Calls 1

lossFunction · 0.85

Tested by

no test coverage detected