Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/XingangPan/DragGAN
/ scale2d_inv
Function
scale2d_inv
training/augment.py:108–109 ·
view source on GitHub ↗
(sx, sy, **kwargs)
Source
from the content-addressed store, hash-verified
106
return
translate2d(-tx, -ty, **kwargs)
107
108
def
scale2d_inv(sx, sy, **kwargs):
109
return
scale2d(1 / sx, 1 / sy, **kwargs)
110
111
def
rotate2d_inv(theta, **kwargs):
112
return
rotate2d(-theta, **kwargs)
Callers
1
forward
Method · 0.70
Calls
1
scale2d
Function · 0.70
Tested by
no test coverage detected