Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
171
def
eval_fn(params):
172
return
loss(params, (train_images, train_labels))
173
174
175
def
add_noise_to_params(params, sigma, rng):
Callers
nothing calls this directly
Calls
1
loss
Function · 0.85
Tested by
no test coverage detected