Home
last modified time | relevance | path

Searched defs:PathLike (Results 1 – 25 of 47) sorted by relevance

12

/aosp_15_r20/external/pytorch/torch/distributed/checkpoint/
H A Dfilesystem.py345 self, path: Union[str, os.PathLike], mode: str
351 self, path: Union[str, os.PathLike], suffix: str
357 self, path: Union[str, os.PathLike], new_path: Union[str, os.PathLike]
362 def init_path(self, path: Union[str, os.PathLike]) -> Union[str, os.PathLike]:
366 def mkdir(self, path: Union[str, os.PathLike]) -> None:
371 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
375 def exists(self, path: Union[str, os.PathLike]) -> bool:
379 def rm_file(self, path: Union[str, os.PathLike]) -> None:
386 self, path: Union[str, os.PathLike], mode: str
392 self, path: Union[str, os.PathLike], suffix: str
[all …]
H A D_fsspec_filesystem.py33 self, path: Union[str, os.PathLike], mode: str
41 self, path: Union[str, os.PathLike], suffix: str
45 def init_path(self, path: Union[str, os.PathLike]) -> Union[str, os.PathLike]:
50 self, path: Union[str, os.PathLike], new_path: Union[str, os.PathLike]
54 def mkdir(self, path: [str, os.PathLike]) -> None:
58 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
69 def exists(self, path: Union[str, os.PathLike]) -> bool:
72 def rm_file(self, path: Union[str, os.PathLike]) -> None:
93 path: Union[str, os.PathLike],
125 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
[all …]
H A Dformat_utils.py61 checkpoint_id: Optional[Union[str, os.PathLike]] = None,
140 def reset(self, checkpoint_id: Union[str, os.PathLike, None] = None) -> None:
145 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
197 dcp_checkpoint_dir: Union[str, os.PathLike],
222 torch_save_path: Union[str, os.PathLike],
H A Dstorage.py46 def reset(self, checkpoint_id: Union[str, os.PathLike, None] = None) -> None:
148 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
185 def reset(self, checkpoint_id: Union[str, os.PathLike, None] = None) -> None:
279 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
H A Dstate_dict_loader.py56 checkpoint_id: Union[str, os.PathLike, None] = None,
239 checkpoint_id: Union[str, os.PathLike, None] = None,
H A Dstate_dict_saver.py62 checkpoint_id: Union[str, os.PathLike, None] = None,
165 checkpoint_id: Union[str, os.PathLike, None] = None,
H A D_storage_utils.py10 checkpoint_id: Union[str, os.PathLike, None],
/aosp_15_r20/external/vboot_reference/scripts/image_signing/
H A Dsign_uefi.py44 def is_pkcs11_key_path(path: os.PathLike) -> bool:
80 def __init__(self, temp_dir: os.PathLike, keys: Keys):
129 def create_detached_signature(self, input_path: os.PathLike):
165 def inject_vbpubk(efi_file: os.PathLike, keys: Keys):
212 def sign_target_dir(target_dir: os.PathLike, keys: Keys, efi_glob: str):
255 def sign_target_file(target_file: os.PathLike, keys: Keys):
/aosp_15_r20/trusty/device/arm/generic-arm64/project/qemu/
Dqemu_options.py31 def path(self, directory: os.PathLike):
34 def ensure_image_exists(self, image_dir: os.PathLike,
35 instance_dir: os.PathLike):
44 def delete_image_changes(self, instance_dir: os.PathLike):
53 def args(self, image_dir: os.PathLike, instance_dir: os.PathLike):
Dqemu_arm64_options.py31 def path(self, directory: os.PathLike):
34 def ensure_image_exists(self, image_dir: os.PathLike,
35 instance_dir: os.PathLike):
44 def delete_image_changes(self, instance_dir: os.PathLike):
53 def args(self, image_dir: os.PathLike, instance_dir: os.PathLike):
Drun.py20 def init(*, android=None, instance_dir: os.PathLike, disable_rpmb=False,
/aosp_15_r20/external/toolchain-utils/cros_utils/
H A Dbugs.py76 directory: Optional[Union[os.PathLike, str]],
109 bug_id: int, body: str, directory: Optional[os.PathLike] = None
128 directory: Optional[os.PathLike] = None,
170 directory: Optional[os.PathLike] = None,
/aosp_15_r20/external/pytorch/test/distributed/checkpoint/
H A Dtest_checkpoint.py172 def reset(self, checkpoint_id: Union[str, os.PathLike, None] = None) -> None:
196 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
205 def reset(self, checkpoint_id: Union[str, os.PathLike, None] = None) -> None:
228 def validate_checkpoint_id(cls, checkpoint_id: Union[str, os.PathLike]) -> bool:
/aosp_15_r20/external/crosvm/tools/impl/
H A Dcommand.py37 PathLike = Union[Path, str] variable
551 def cwd_context(path: PathLike):
567 def chdir(path: PathLike):
H A Dutil.py32 PathLike = Union[Path, str] variable
/aosp_15_r20/external/pytorch/torch/onnx/_internal/exporter/
H A D_reporting.py134 filename: str | os.PathLike,
155 filename: str | os.PathLike,
H A D_compat.py114 def export_compat(
H A D_onnx_program.py119 destination: str | os.PathLike,
/aosp_15_r20/external/pytorch/torch/export/
H A D__init__.py283 f: Union[str, os.PathLike, io.BytesIO],
364 f: Union[str, os.PathLike, io.BytesIO],
/aosp_15_r20/trusty/vendor/google/aosp/scripts/
Drun_tests.py303 root: os.PathLike,
519 root: os.PathLike,
/aosp_15_r20/external/mesa3d/src/util/
H A Dglsl2spirv.py148 def preprocess_file(args: 'Arguments', origin_file: T.TextIO, directory: os.PathLike, filemap: T.Di…
/aosp_15_r20/external/fonttools/Tests/ufoLib/
H A DUFOZ_test.py52 class PathLike: class
/aosp_15_r20/external/executorch/devtools/etrecord/
H A D_etrecord.py161 et_record: Union[str, os.PathLike, BinaryIO, IO[bytes]],
/aosp_15_r20/external/pytorch/torch/onnx/
H A D__init__.py137 def export(
/aosp_15_r20/external/toolchain-utils/crosperf/
H A Dsuite_runner.py64 def ssh_tunnel(sshwatcher: "os.PathLike", machinename: str) -> str:

12