Nano: add patching function for dtype (#6947)

* add patching function for dtype

* update

* fix pep8

* update the parameter name
This commit is contained in:
Junwei Deng 2022-12-16 16:16:12 +08:00 committed by GitHub
parent 6b65968e3c
commit f304d33168

View file

@ -33,3 +33,11 @@ Patch API
:members:
:undoc-members:
:show-inheritance:
.. automodule:: bigdl.nano.pytorch.patching.gpu_cpu.gpu_cpu
:members: patch_cuda, unpatch_cuda
:show-inheritance:
.. automodule:: bigdl.nano.pytorch.patching.dtype_patching.dtype_patching
:members: patch_dtype
:show-inheritance: