Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ load
Method
load
python/singa/image_tool.py:231–234 ·
view source on GitHub ↗
(self, path, grayscale=False)
Source
from the content-addressed store, hash-verified
229
return
230
231
def
load(self, path, grayscale=False):
232
img = load_img(path, grayscale)
233
self.imgs = [img]
234
return
self
235
236
def
set(self, imgs):
237
self.imgs = imgs
Callers
4
image_transform
Function · 0.45
image_tool.py
File · 0.45
load_states
Method · 0.45
ref_count
Method · 0.45
Calls
1
load_img
Function · 0.85
Tested by
no test coverage detected