MCPcopy Create free account
hub / github.com/circuitnet/CircuitNet / std

Function std

feature_extraction/vis.py:29–34  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

27 return result
28
29def std(input):
30 if input.max() == 0:
31 return input
32 else:
33 result = (input-input.min()) / (input.max()-input.min())
34 return result
35
36def vis_data(args, path_list):
37 feature_save_path = os.path.join(args.save_path)

Callers 1

vis_dataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected