MCPcopy Create free account
hub / github.com/pytorch/executorch / get

Method get

tools/cmake/cmake_cache.py:27–28  ·  view source on GitHub ↗
(self, var: str)

Source from the content-addressed store, hash-verified

25 self.cache = CMakeCache.read_cmake_cache(cache_path=self.cache_path)
26
27 def get(self, var: str) -> Optional[CacheValue]:
28 return self.cache.get(var)
29
30 def is_enabled(self, var: str, fallback: bool = False) -> bool:
31 definition = self.get(var)

Callers 8

is_enabledMethod · 0.95
assert_cmake_cacheMethod · 0.95
_keep_workspaceFunction · 0.45
test_end2end.pyFile · 0.45

Calls

no outgoing calls

Tested by 3