Sign in
android
/
platform
/
external
/
pytorch
/
12434504a2
/
.
/
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