[release/1.10] fix pybind issue for get_autocast_cpu_dtype and get_autocast_gpu_dtype...
authorEli Uriegas <1700823+seemethere@users.noreply.github.com>
Fri, 10 Dec 2021 19:41:40 +0000 (11:41 -0800)
committerGitHub <noreply@github.com>
Fri, 10 Dec 2021 19:41:40 +0000 (11:41 -0800)
commit3e412cd6dff635c0a58d85749e42e9ee1866a84e
tree01a49dc0a242a53270b553eaf71e187c5ab695e8
parent302ee7bfb604ebef384602c56e3853efed262030
[release/1.10] fix pybind issue for get_autocast_cpu_dtype and get_autocast_gpu_dtype (#66396) (#69620)

Co-authored-by: XiaobingSuper <xiaobing.zhang@intel.com>
test/test_autocast.py
torch/csrc/autograd/init.cpp