MCPcopy Create free account
hub / github.com/ai-techsystems/deepC / find

Method find

test/parser/unitOperators.py:9–15  ·  view source on GitHub ↗
(self, pattern, path)

Source from the content-addressed store, hash-verified

7class unitOperatorsTest(unittest.TestCase):
8
9 def find(self, pattern, path):
10 result = []
11 for root, dirs, files in os.walk(path):
12 for name in files:
13 if fnmatch.fnmatch(name, pattern):
14 result.append(os.path.join(root, name))
15 return result
16
17 def test_readAllOnnxFiles(self):
18 # mute stdout

Callers 7

test_readAllOnnxFilesMethod · 0.95
check_commentsFunction · 0.45
remove_commentsFunction · 0.45
remove_dtypeFunction · 0.45
change_computeFunction · 0.45
mainFunction · 0.45
run_modelFunction · 0.45

Calls 1

appendMethod · 0.80

Tested by 1

test_readAllOnnxFilesMethod · 0.76