MCPcopy Create free account
hub / github.com/pytorch/pytorch / get_oss_binary_folder

Function get_oss_binary_folder

tools/code_coverage/package/oss/utils.py:9–14  ·  view source on GitHub ↗
(test_type: TestType)

Source from the content-addressed store, hash-verified

7
8
9def get_oss_binary_folder(test_type: TestType) -> str:
10 assert test_type in {TestType.CPP, TestType.PY}
11 # TODO: change the way we get binary file -- binary may not in build/bin ?
12 return os.path.join(
13 get_pytorch_folder(), "build/bin" if test_type == TestType.CPP else "test"
14 )
15
16
17def get_oss_shared_library() -> List[str]:

Callers 6

get_oss_binary_fileFunction · 0.85
run_oss_python_testFunction · 0.85
get_test_list_by_typeFunction · 0.85
get_test_listFunction · 0.85
get_python_run_onlyFunction · 0.85
print_init_infoFunction · 0.85

Calls 2

get_pytorch_folderFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…