MCPcopy Index your code
hub / github.com/amazon-science/patchcore-inspection / _params_file

Method _params_file

src/patchcore/patchcore.py:231–232  ·  view source on GitHub ↗
(filepath, prepend="")

Source from the content-addressed store, hash-verified

229
230 @staticmethod
231 def _params_file(filepath, prepend=""):
232 return os.path.join(filepath, prepend + "patchcore_params.pkl")
233
234 def save_to_path(self, save_path: str, prepend: str = "") -> None:
235 LOGGER.info("Saving PatchCore data.")

Callers 2

save_to_pathMethod · 0.95
load_from_pathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected