is_initialized¶
torch.tvarant.is_initialized() → bool
Returns whether lazy device initialization has completed.
Return whether lazy device initialization has completed.
Returns:
| Name | Type | Description |
|---|---|---|
bool |
bool
|
|
Source code in torch_tvarant/tvarant/__init__.py
54 55 56 57 58 59 60 | |