MCPcopy Create free account
hub / github.com/PythonOT/POT / rand

Method rand

ot/backend.py:1310–1311  ·  view source on GitHub ↗
(self, *size, type_as=None)

Source from the content-addressed store, hash-verified

1308 self.rng_.seed(seed)
1309
1310 def rand(self, *size, type_as=None):
1311 return self.rng_.rand(*size)
1312
1313 def randn(self, *size, type_as=None):
1314 return self.rng_.randn(*size)

Callers

nothing calls this directly

Calls 1

randMethod · 0.45

Tested by

no test coverage detected