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

Function tv_norm

num_utils.py:150–162  ·  view source on GitHub ↗

Computes the total variation norm and its gradient. From jcjohnson/cnn-vis and [3].

(x, beta=2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

eval_loss_and_gradMethod · 0.90

Calls 1

roll_by_1Function · 0.85

Tested by

no test coverage detected