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

Function impl

dali/test/python/operator_1/test_arithmetic_ops.py:1243–1251  ·  view source on GitHub ↗
(device, shape_a, shape_b)

Source from the content-addressed store, hash-verified

1241
1242def test_broadcasting_dimensionality_limits():
1243 def impl(device, shape_a, shape_b):
1244 @pipeline_def(batch_size=1, num_threads=3, device_id=0)
1245 def pipe():
1246 a = fn.random.uniform(range=[-1, 1], shape=shape_a)
1247 b = fn.random.uniform(range=[-1, 1], shape=shape_b)
1248 return a + b
1249
1250 p = pipe()
1251 p.run()
1252
1253 # ERROR
1254 error_msg = (

Calls 2

pipeFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected