MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / api_generate

Function api_generate

tools/generate.py:44–46  ·  view source on GitHub ↗
(input_path: Path, output_path: Path)

Source from the content-addressed store, hash-verified

42
43
44def api_generate(input_path: Path, output_path: Path):
45 with open(output_path, 'w') as f:
46 f.write(clang_format(api.run(input_path)))
47
48
49def te_generate(input_path: Path, output_path: Path):

Callers 1

mainFunction · 0.85

Calls 3

clang_formatFunction · 0.70
writeMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected