torch.is\_inference\_mode\_enabled
==================================

.. currentmodule:: torch

.. autofunction:: is_inference_mode_enabled