Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
95
def
scale_img(x):
96
x = x - x.min()
97
x = x / x.max()
98
return
x
99
100
101
if
__name__ ==
'__main__'
:
Callers
3
style_transfer2.py
File · 0.90
style_transfer3.py
File · 0.90
style_transfer1.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected