Introduction

The migration tools described in this chapter provide the capabilities of migrating PyTorch and TensorFlow training scripts to MindSpore or the Ascend NPU platform, with no or minimal changes to the code. For details, see the following sections.

  • X2MindSpore: migrates PyTorch and TensorFlow training scripts to code that can run on MindSpore.
  • PyTorch GPU2Ascend: migrates PyTorch training scripts from GPU platforms to the Ascend NPU platform.