torchoutil
Github
PyPI
Github
PyPI
Quick search
torchoutil
torchoutil package
Docs
»
torchoutil
»
torchoutil package
»
torchoutil.extras package
»
torchoutil.extras.numpy package
»
torchoutil.extras.numpy.saving module
← torchoutil.extras.numpy.modules module
torchoutil.extras.numpy.scan_info module →
torchoutil.extras.numpy.saving module
¶
dump_numpy
(
obj
:
ndarray
,
fpath
:
str
|
Path
|
None
=
None
,
*
args
,
np_format
:
Literal
[
'npy'
,
'npz'
]
|
None
=
'npy'
,
overwrite
:
bool
=
True
,
make_parents
:
bool
=
True
,
**
kwargs
,
)
→
bytes
[source]
¶
load_numpy
(
fpath
:
str
|
Path
,
*
args
,
**
kwargs
,
)
→
ndarray
[source]
¶
← torchoutil.extras.numpy.modules module
torchoutil.extras.numpy.scan_info module →