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

Function get_files

dali/test/python/test_utils.py:764–771  ·  view source on GitHub ↗
(path, ext)

Source from the content-addressed store, hash-verified

762
763
764def get_files(path, ext):
765 full_path = os.path.join(get_dali_extra_path(), path)
766 audio_files = [
767 os.path.join(full_path, f)
768 for f in os.listdir(full_path)
769 if re.match(f".*\\.{ext}", f) is not None
770 ]
771 return audio_files
772
773
774def _test_skipped(reason=None):

Calls 2

get_dali_extra_pathFunction · 0.85
matchMethod · 0.80

Tested by

no test coverage detected