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

Function pipeline

dali/test/python/operator_2/test_random_beta.py:79–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 prefetch_queue_depth=1,
78 )
79 def pipeline():
80 shape_provider = fn.full(1, shape=shape)
81 return fn.random.beta(
82 shape_provider,
83 alpha=alpha,
84 beta=beta,
85 dtype=dali_dtype,
86 )
87
88 p = pipeline()
89 batch = [np.array(s) for s in p.run()[0]]

Callers 3

test_beta_distributionFunction · 0.70
test_incorrect_paramFunction · 0.70

Calls 1

betaMethod · 0.80

Tested by

no test coverage detected