File | Start Line | End Line | Api | Type | Tips |
app\AlgApp.py | 23 | 23 | torchvision.transforms.Compose | SUPPORTED | The corresponding api of "torchvision.transforms.Compose" is "mindspore.dataset.transforms.c_transforms.Compose", will be converted to "x2ms_adapter.data_transforms.Compose" by x2mindspore. |
app\AlgApp.py | 24 | 24 | torchvision.transforms.ToTensor | SUPPORTED | The corresponding api of "torchvision.transforms.ToTensor" is "mindspore.dataset.vision.py_transforms.ToTensor", will be converted to "v_transforms.ToTensor" by x2mindspore. |
app\AlgApp.py | 24 | 24 | torchvision.transforms.Normalize | SUPPORTED | The corresponding api of "torchvision.transforms.Normalize" is "mindspore.dataset.vision.c_transforms.Normalize", will be converted to "x2ms_adapter.data_transforms.Normalize" by x2mindspore. |
app\AlgApp.py | 28 | 28 | torch.load | SUPPORTED | The corresponding api of "torch.load" is "mindspore.load_checkpoint", will be converted to "x2ms_adapter.load" by x2mindspore. |
app\AlgApp.py | 48 | 48 | torch.FloatTensor | SUPPORTED | "torch.FloatTensor" has no corresponding api in MindSpore, will be converted to adapted api "x2ms_adapter.FloatTensor" by x2mindspore. |
app\model.py | 5 | 5 | torch.nn.Module | SUPPORTED | The corresponding api of "torch.nn.Module" is "mindspore.nn.Cell", will be converted to "nn.Cell" by x2mindspore. |
app\model.py | 13 | 13 | torch.nn.Conv2d | SUPPORTED | The corresponding api of "torch.nn.Conv2d" is "mindspore.nn.Conv2d", will be converted to "x2ms_adapter.nn.Conv2d" by x2mindspore. |
app\model.py | 28 | 28 | torch.nn.Conv2d | SUPPORTED | The corresponding api of "torch.nn.Conv2d" is "mindspore.nn.Conv2d", will be converted to "x2ms_adapter.nn.Conv2d" by x2mindspore. |
app\model.py | 29 | 29 | torch.nn.init.normal_ | SUPPORTED | The corresponding api of "torch.nn.init.normal_" is "mindspore.common.initializer.Normal", will be converted to "x2ms_adapter.nn_init.normal_" by x2mindspore. |
app\model.py | 31 | 31 | torch.nn.init.constant_ | SUPPORTED | The corresponding api of "torch.nn.init.constant_" is "mindspore.common.initializer.Constant", will be converted to "x2ms_adapter.nn_init.constant_" by x2mindspore. |
app\model.py | 32 | 32 | torch.nn.BatchNorm2d | SUPPORTED | The corresponding api of "torch.nn.BatchNorm2d" is "mindspore.nn.BatchNorm2d", will be converted to "x2ms_adapter.nn.BatchNorm2d" by x2mindspore. |
app\model.py | 33 | 33 | torch.nn.init.constant_ | SUPPORTED | The corresponding api of "torch.nn.init.constant_" is "mindspore.common.initializer.Constant", will be converted to "x2ms_adapter.nn_init.constant_" by x2mindspore. |
app\model.py | 34 | 34 | torch.nn.init.constant_ | SUPPORTED | The corresponding api of "torch.nn.init.constant_" is "mindspore.common.initializer.Constant", will be converted to "x2ms_adapter.nn_init.constant_" by x2mindspore. |
app\model.py | 45 | 45 | torch.nn.MaxPool2d | SUPPORTED | The corresponding api of "torch.nn.MaxPool2d" is "mindspore.nn.MaxPool2d", will be converted to "x2ms_adapter.nn.MaxPool2d" by x2mindspore. |
app\model.py | 47 | 47 | torch.nn.Conv2d | SUPPORTED | The corresponding api of "torch.nn.Conv2d" is "mindspore.nn.Conv2d", will be converted to "x2ms_adapter.nn.Conv2d" by x2mindspore. |
app\model.py | 49 | 49 | torch.nn.BatchNorm2d | SUPPORTED | The corresponding api of "torch.nn.BatchNorm2d" is "mindspore.nn.BatchNorm2d", will be converted to "x2ms_adapter.nn.BatchNorm2d" by x2mindspore. |
app\model.py | 49 | 49 | torch.nn.ReLU | SUPPORTED | The corresponding api of "torch.nn.ReLU" is "mindspore.nn.ReLU", will be converted to "x2ms_adapter.nn.ReLU" by x2mindspore. |
app\model.py | 51 | 51 | torch.nn.ReLU | SUPPORTED | The corresponding api of "torch.nn.ReLU" is "mindspore.nn.ReLU", will be converted to "x2ms_adapter.nn.ReLU" by x2mindspore. |
app\model.py | 53 | 53 | torch.nn.Sequential | SUPPORTED | The corresponding api of "torch.nn.Sequential" is "mindspore.nn.SequentialCell", will be converted to "x2ms_adapter.nn.Sequential" by x2mindspore. |