Sign in
android
/
platform
/
external
/
pytorch
/
848e7ac42a3c121d03bcff6cb53c1afb9b76164e
/
.
/
torch
/
amp
/
__init__.py
blob: 263908eff68bab7c7d9a123bd77a5f5c048b8c5a [
file
] [
log
] [
blame
]
from
.
autocast_mode
import
(
_enter_autocast
,
_exit_autocast
,
autocast
,
custom_bwd
,
custom_fwd
,
is_autocast_available
,
)
from
.
grad_scaler
import
GradScaler