MCPcopy Create free account
hub / github.com/apple/ml-facelit / sample

Method sample

facelit/light_utils.py:55–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 return light_example
54
55 def sample(self):
56 return self.samples[randrange(self.n_samples)]
57
58 def __len__(self):
59 return len(self.samples)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected