MCPcopy 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_transformFunction · 0.45
image_tool.pyFile · 0.45
load_statesMethod · 0.45
ref_countMethod · 0.45

Calls 1

load_imgFunction · 0.85

Tested by

no test coverage detected