MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / scale_img

Function scale_img

cnn_class2/style_transfer1.py:95–98  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

93
94
95def scale_img(x):
96 x = x - x.min()
97 x = x / x.max()
98 return x
99
100
101if __name__ == '__main__':

Callers 3

style_transfer2.pyFile · 0.90
style_transfer3.pyFile · 0.90
style_transfer1.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected