MCPcopy 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
108def scale2d_inv(sx, sy, **kwargs):
109 return scale2d(1 / sx, 1 / sy, **kwargs)
110
111def rotate2d_inv(theta, **kwargs):
112 return rotate2d(-theta, **kwargs)

Callers 1

forwardMethod · 0.70

Calls 1

scale2dFunction · 0.70

Tested by

no test coverage detected