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

Function normalize

num_utils.py:85–87  ·  view source on GitHub ↗

Normalizes an array in-place to have an L1 norm equal to its size.

(arr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

eval_c_gradMethod · 0.90
eval_s_gradMethod · 0.90
eval_sc_grad_tileMethod · 0.90

Calls 2

sscalFunction · 0.85
sasumFunction · 0.85

Tested by

no test coverage detected