torch.is_warn_always_enabled¶
- torch.is_warn_always_enabled()[source]¶
Returns True if the global warn_always flag is turned on. Refer to
torch.set_warn_always()
documentation for more details.- Return type
Returns True if the global warn_always flag is turned on. Refer to
torch.set_warn_always()
documentation for more details.