Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
198
def
flip(img):
199
# print 'flip'
200
new_img = img.transpose(Image.FLIP_LEFT_RIGHT)
201
return
new_img
202
203
204
def
flip_down(img):
Callers
1
flip
Method · 0.85
Calls
1
transpose
Method · 0.45
Tested by
no test coverage detected