MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / __init__

Method __init__

utils/common.py:843–845  ·  view source on GitHub ↗
(self, rot=np.pi / 4, p=1.)

Source from the content-addressed store, hash-verified

841
842class RandomRotateAligned(object):
843 def __init__(self, rot=np.pi / 4, p=1.):
844 self.rot = rot
845 self.p = p
846
847 def __call__(self, coord, coord1=None):
848 if np.random.rand() < self.p:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected