MCPcopy Create free account
hub / github.com/NVIDIA/DALI / value

Function value

dali/test/python/operator_1/test_color_twist.py:159–160  ·  view source on GitHub ↗
(sample_desc)

Source from the content-addressed store, hash-verified

157 return np.float32(sample_desc.rng.random())
158
159 def value(sample_desc):
160 return np.float32(sample_desc.rng.random())
161
162 def contrast(sample_desc):
163 return np.float32(2 * sample_desc.rng.random())

Callers 4

PYBIND11_MODULEFunction · 0.85
RunSampleMethod · 0.85
GetDefaultValueMethod · 0.85
GetOpenCvChannelTypeFunction · 0.85

Calls 1

float32Method · 0.80

Tested by

no test coverage detected