MCPcopy Create free account
hub / github.com/apache/singa / flip

Function flip

python/singa/image_tool.py:198–201  ·  view source on GitHub ↗
(img)

Source from the content-addressed store, hash-verified

196
197
198def flip(img):
199 # print 'flip'
200 new_img = img.transpose(Image.FLIP_LEFT_RIGHT)
201 return new_img
202
203
204def flip_down(img):

Callers 1

flipMethod · 0.85

Calls 1

transposeMethod · 0.45

Tested by

no test coverage detected