Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QWTforGithub/T2LDM
/ __init__
Method
__init__
utils/common.py:827–828 ·
view source on GitHub ↗
(self, p=1.)
Source
from the content-addressed store, hash-verified
825
826
class
RandomFlip(object):
827
def
__init__(self, p=1.):
828
self.p = p
829
830
def
__call__(self, coord, coord1=None):
831
if
np.random.rand() < self.p:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected