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

Function p_norm

num_utils.py:74–82  ·  view source on GitHub ↗

Returns the pth power of the p-norm and its gradient.

(arr, p=2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

eval_loss_and_gradMethod · 0.90
_swt_normFunction · 0.85

Calls 2

sasumFunction · 0.85
sdotFunction · 0.85

Tested by

no test coverage detected