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

Method valid_axes

dali/test/python/operator_2/test_reduce.py:288–289  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

286def test_reduce_invalid_axes():
287 class Batch3DInvalidAxes(Batch3D):
288 def valid_axes(self): # Invalid axes
289 return [-100, (100, 0)]
290
291 batch_fn = Batch3DInvalidAxes(np.uint8)
292 dali_reduce_fn, numpy_reduce_fn = reduce_fns["sum"]

Callers 1

test_reduce_invalid_axesFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected