MCPcopy Create free account
hub / github.com/crowsonkb/style_transfer / eval_loss_and_grad

Method eval_loss_and_grad

style_transfer.py:700–736  ·  view source on GitHub ↗

Returns the summed loss and gradient.

(self, img, sc_grad_args)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

tv_normFunction · 0.90
saxpyFunction · 0.90
swt_normFunction · 0.90
p_normFunction · 0.90
norm2Function · 0.90
eval_sc_gradMethod · 0.80

Tested by

no test coverage detected