MCPcopy Create free account
hub / github.com/Newmu/dcgan_code / grayscale_weight_grid_vis

Function grayscale_weight_grid_vis

lib/vis.py:26–28  ·  view source on GitHub ↗
(w, (nh, nw), save_path=None)

Source from the content-addressed store, hash-verified

24 return img
25
26def grayscale_weight_grid_vis(w, (nh, nw), save_path=None):
27 w = (w+w.min())/(w.max()-w.min())
28 return grayscale_grid_vis(w, (nh, nw), save_path=save_path)

Callers

nothing calls this directly

Calls 1

grayscale_grid_visFunction · 0.85

Tested by

no test coverage detected