Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ imsave
Function
imsave
unsupervised_class3/util.py:24–26 ·
view source on GitHub ↗
(fn, arr)
Source
from the content-addressed store, hash-verified
22
return
np.array(im)
23
24
def
imsave(fn, arr):
25
im = Image.fromarray(arr)
26
im.save(fn)
27
28
def
imresize(arr, sz):
29
im = Image.fromarray(arr)
Callers
1
crop_and_resave
Function · 0.85
Calls
1
save
Method · 0.45
Tested by
no test coverage detected