MCPcopy Create free account
hub / github.com/XingangPan/DragGAN / scale2d

Function scale2d

training/augment.py:73–78  ·  view source on GitHub ↗
(sx, sy, **kwargs)

Source from the content-addressed store, hash-verified

71 **kwargs)
72
73def scale2d(sx, sy, **kwargs):
74 return matrix(
75 [sx, 0, 0],
76 [0, sy, 0],
77 [0, 0, 1],
78 **kwargs)
79
80def scale3d(sx, sy, sz, **kwargs):
81 return matrix(

Callers 2

scale2d_invFunction · 0.70
forwardMethod · 0.70

Calls 1

matrixFunction · 0.70

Tested by

no test coverage detected