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

Method _check_arg_len

dali/python/nvidia/dali/_debug_mode.py:486–492  ·  view source on GitHub ↗
(self, expected_len, actual_len, args_type)

Source from the content-addressed store, hash-verified

484 )
485
486 def _check_arg_len(self, expected_len, actual_len, args_type):
487 if expected_len != actual_len:
488 raise RuntimeError(
489 f"Trying to use operator '{self._op_name}' "
490 f"with different number of {args_type} than"
491 f" when it was built. Expected: {expected_len} {args_type}, got {actual_len}."
492 )
493
494 def _check_device_classification(self, expected, actual, arg_type, value):
495 if expected != actual:

Callers 1

runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected