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

Function get_oss_shared_library

tools/code_coverage/package/oss/utils.py:17–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15
16
17def get_oss_shared_library() -> List[str]:
18 lib_dir = os.path.join(get_pytorch_folder(), "build", "lib")
19 return [
20 os.path.join(lib_dir, lib)
21 for lib in os.listdir(lib_dir)
22 if lib.endswith(".dylib")
23 ]
24
25
26def get_oss_binary_file(test_name: str, test_type: TestType) -> str:

Callers 1

exportFunction · 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…