评价此页

torch.mtia.is_initialized#

torch.mtia.is_initialized()[源码]#

返回 PyTorch 的 MTIA 状态是否已初始化。