torchoutil
Github
PyPI
Github
PyPI
Quick search
torchoutil
torchoutil package
Docs
»
torchoutil
»
torchoutil package
»
torchoutil.serialization package
»
torchoutil.serialization.pickle module
← torchoutil.serialization.numpy module
torchoutil.serialization.safetensors module →
torchoutil.serialization.pickle module
¶
dump_pickle
(
obj
:
Any
,
fpath
:
str
|
Path
|
PathLike
|
None
,
*
,
overwrite
:
bool
=
True
,
make_parents
:
bool
=
True
,
to_builtins
:
bool
=
False
,
)
→
bytes
[source]
¶
Dump content to PICKLE format into a bytes and/or file.
to_pickle
(
obj
:
Any
,
fpath
:
str
|
Path
|
PathLike
|
None
,
*
,
overwrite
:
bool
=
True
,
make_parents
:
bool
=
True
,
to_builtins
:
bool
=
False
,
)
→
bytes
[source]
¶
Dump content to PICKLE format into a bytes and/or file.
← torchoutil.serialization.numpy module
torchoutil.serialization.safetensors module →