To specify a new backend with backend-specific device functions when running the test suite, create a Python device specification file in the format: | |
import torch | |
import torch_npu | |
! |
To specify a new backend with backend-specific device functions when running the test suite, create a Python device specification file in the format: | |
import torch | |
import torch_npu | |
! |