MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / _std

Function _std

imperative/python/megengine/utils/module_stats.py:180–182  ·  view source on GitHub ↗
(inp)

Source from the content-addressed store, hash-verified

178
179
180def _std(inp):
181 inp = Tensor(inp).astype(np.float32)
182 return F.std(inp).numpy()
183
184
185def dict2table(list_of_dict, header):

Callers 2

get_param_statsFunction · 0.85
get_activation_statsFunction · 0.85

Calls 3

TensorClass · 0.50
astypeMethod · 0.45
numpyMethod · 0.45

Tested by

no test coverage detected