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

Function t

dali/test/python/operator_1/test_coord_transform.py:260–261  ·  view source on GitHub ↗
(sample_desc)

Source from the content-addressed store, hash-verified

258 return np.array([[c * scales[0], -s], [s, c * scales[1]]], dtype=np.float32)
259
260 def t(sample_desc):
261 return np.float32(np_rng.uniform(-100, 250, 2))
262
263 def mt(sample_desc):
264 return np.append(m(sample_desc), t(sample_desc).reshape(-1, 1), axis=1)

Callers 12

PopUnlockAndRunTaskMethod · 0.85
test_return_constantsFunction · 0.85
mtFunction · 0.85
test_random_apply_p1Function · 0.85
test_random_apply_p0Function · 0.85
loop_images_testFunction · 0.85
test_randomgrayscaleFunction · 0.85
_internal_loopFunction · 0.85
_test_coreFunction · 0.85
_test_pil_imagesFunction · 0.85

Calls 1

float32Method · 0.80

Tested by

no test coverage detected