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

Function _repack_input_sets

dali/python/nvidia/dali/ops/_operator_utils.py:117–121  ·  view source on GitHub ↗

Zip the list from [[arg0, arg0', arg0''], [arg1', arg1'', arg1''], ...] to [(arg0, arg1, ...), (arg0', arg1', ...), (arg0'', arg1'', ...)]

(inputs)

Source from the content-addressed store, hash-verified

115 return result
116
117 def _repack_input_sets(inputs):
118 """Zip the list from [[arg0, arg0', arg0''], [arg1', arg1'', arg1''], ...]
119 to [(arg0, arg1, ...), (arg0', arg1', ...), (arg0'', arg1'', ...)]
120 """
121 return _repack_list(inputs, tuple)
122
123 input_sets = []
124 if _detect_multiple_input_sets(inputs):

Callers 1

_build_input_setsFunction · 0.85

Calls 1

_repack_listFunction · 0.85

Tested by

no test coverage detected