# PyTorch and MindSpore API Mapping Table

[![View Source On Gitee](https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.3.0rc2/resource/_static/logo_source_en.svg)](https://gitee.com/mindspore/docs/blob/r2.3.0rc2/docs/mindspore/source_en/note/api_mapping/pytorch_api_mapping.md)

Mapping between PyTorch APIs and MindSpore APIs, which is provided by the community. There may be differences in parameters, inputs, outputs, logic functions, and specific scenarios. For details, see the description of each API or the difference comparison provided.

More MindSpore developers are also welcome to participate in improving the mapping content. For more information on the differences in framework mechanisms of PyTorch and MindSpore, see: [Optimizer Comparison](https://www.mindspore.cn/docs/en/r2.3.0rc2/migration_guide/model_development/learning_rate_and_optimizer.html#optimizer-comparison), [Random Number Strategy Comparison](https://www.mindspore.cn/docs/en/r2.3.0rc2/migration_guide/model_development/model_and_cell.html#random-number-strategy-comparison), and [Parameter Initialization Comparison](https://www.mindspore.cn/docs/en/r2.3.0rc2/migration_guide/model_development/model_and_cell.html#parameter-initialization).

## API Mapping Consistency Criteria and Exceptions

API mapping consistency criteria: consistent API function, consistent number or sequence of parameters, consistent parameter data type, consistent default value, consistent parameter name. Satisfying all the consistency conditions at the same time is considered as consistent API mapping.

The API mapping is also consistent in the following exception scenarios:

**Exception Scenario 1**: Compared to the API mapping consistency criteria, only the input data types of API parameters are not supported in the same range, including the following 3 sub-scenarios:

(1) MindSpore API supports passing parameters of int, float, bool, but does not support passing parameters of small bit-width data types such as int8 or float64.

(2) MindSpore API does not support passing parameters of plural type.

**Exception Scenario 2**: Compared to MindSpore APIss, the extra parameters of PyTorch API are [general difference parameters](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#general-difference-parameter-table). General difference parameters exist because PyTorch has some parameters that are added for non-functionality such as performance optimization, and the performance optimization mechanism of MindSpore is different from that of PyTorch.

**Exception Scenario 3**: If it can be guaranteed that MindSpore API uses the default configuration (or that the user does not configure it), MindSpore API can implement the same functionality as the PyTorch API, and MindSpore API has more parameters than PyTorch API. The functionality is not considered a difference.

**Exception Scenario 4**: MindSpore sets the default value of the parameters related to the PyTorch overloading mechanism in the API to None, and the corresponding parameters of the PyTorch counterpart API have no default value.

The following is an example of the exception scenario 4.
In PyTorch 1.8.1, torch.argmax has two API overloads in the form of torch.argmax(input) and torch.argmax(input, dim, keepdim=False), respectively, where torch.argmax(input) returns the index of the maximum value element in the input Tensor, and torch.argmax(input, dim, keepdim=False) returns the index of the maximum value of the input Tensor on the specified axis.

mindspore.ops.argmax has only one API form, namely mindspore.ops.argmax(input, dim=None, keepdim=False), but mindspore.ops.argmax(input) and torch.argmax(input) have the same function. mindspore.ops.argmax(input, dim, keepdim) and torch.argmax(input, dim, keepdim)have the same function. Compared to torch.argmax, the default value of mindspore.ops.argmax parameter dim is set to None only to adapt the two API overload forms of torch.argmax, so the exception scenario 4 is also considered to be consistent API mapping.

## General Difference Parameter Table

Because of the framework mechanism, MindSpore does not provide the following parameters for PyTorch:

| Parameter Names |                          Functions                           |Descriptions|
| :-------------: | :----------------------------------------------------------: |:--:|
|       out       |                 Indicates the output Tensor                  |Assign the operation result to the out parameter, not supported in MindSpore.|
|     layout      |          Indicates the memory distribution strategy          |PyTorch supports torch.striped and torch.split_coo, not supported in MindSpore.|
|     device      |            Indicates the Tensor storage location             |Including device type and optional device number, MindSpore currently supports operator or network-level device scheduling.|
|  requires_grad  |           Indicates whether to update the gradient           |MindSpore can be accessed through the `Parameter.requires_grad` attribute to control.|
|    generator    |        Indicates a generator for pseudorandom number         |In MindSpore, replaced with the parameter `seed` of the APIs of random number.|
|   pin_memory   |         Indicates whether to use locking page memory         |Not supported in MindSpore.|
|  memory_format  |          Indicates the memory format of the Tensor           |Not supported in MindSpore.|
|     stable      |           Indicates whether the sorting is stable            |Generally used in the API of Sorting algorithm, not supported in MindSpore.|
|     inplace     | Indicates that the value of a variable is modified directly without changing the memory address of the variable |MindSpore currently provides some inplace APIs, such as `assign_add`.|
|   sparse_grad   | Indicates whether to perform sparsification on the gradient  |Not supported in MindSpore.|
|  size_average   |             The deprecated parameter in PyTorch              |The `reduction` parameter can be used instead.|
|     reduce      |             The deprecated parameter in PyTorch              |The `reduction` parameter can be used instead.|

## torch

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.abs](https://pytorch.org/docs/1.8.1/generated/torch.abs.html) | [mindspore.ops.abs](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.abs.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.absolute](https://pytorch.org/docs/1.8.1/generated/torch.absolute.html) | [mindspore.ops.absolute](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.absolute.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.acos](https://pytorch.org/docs/1.8.1/generated/torch.acos.html) | [mindspore.ops.acos](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.acos.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.acosh](https://pytorch.org/docs/1.8.1/generated/torch.acosh.html)| [mindspore.ops.acosh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.acosh.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.add](https://pytorch.org/docs/1.8.1/generated/torch.add.html)| [mindspore.ops.add](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.add.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.addbmm](https://pytorch.org/docs/1.8.1/generated/torch.addbmm.html) | [mindspore.ops.addbmm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.addbmm.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.addcdiv](https://pytorch.org/docs/1.8.1/generated/torch.addcdiv.html)| [mindspore.ops.addcdiv](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.addcdiv.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.addcmul](https://pytorch.org/docs/1.8.1/generated/torch.addcmul.html)| [mindspore.ops.addcmul](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.addcmul.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.addmm](https://pytorch.org/docs/1.8.1/generated/torch.addmm.html) | [mindspore.ops.addmm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.addmm.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.addmv](https://pytorch.org/docs/1.8.1/generated/torch.addmv.html) | [mindspore.ops.addmv](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.addmv.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.addr](https://pytorch.org/docs/1.8.1/generated/torch.addr.html) | [mindspore.ops.addr](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.addr.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.all](https://pytorch.org/docs/1.8.1/generated/torch.all.html#torch.all) | [mindspore.ops.all](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.all.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/all.html) |
| [torch.amax](https://pytorch.org/docs/1.8.1/generated/torch.amax.html#torch.amax) | [mindspore.ops.amax](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.amax.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/amax.html) |
| [torch.amin](https://pytorch.org/docs/1.8.1/generated/torch.amin.html#torch.amin) | [mindspore.ops.amin](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.amin.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/amin.html) |
| [torch.angle](https://pytorch.org/docs/1.8.1/generated/torch.angle.html) | [mindspore.ops.angle](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.angle.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.any](https://pytorch.org/docs/1.8.1/generated/torch.any.html#torch.any) | [mindspore.ops.any](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.any.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/any.html) |
| [torch.arange](https://pytorch.org/docs/1.8.1/generated/torch.arange.html)| [mindspore.ops.arange](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arange.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.arccos](https://pytorch.org/docs/1.8.1/generated/torch.arccos.html) | [mindspore.ops.arccos](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arccos.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.arccosh](https://pytorch.org/docs/1.8.1/generated/torch.arccosh.html)                        | [mindspore.ops.arccosh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arccosh.html)                                           |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.arcsin](https://pytorch.org/docs/1.8.1/generated/torch.arcsin.html)                        | [mindspore.ops.arcsin](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arcsin.html)                                           |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.arcsinh](https://pytorch.org/docs/1.8.1/generated/torch.arcsinh.html)                        | [mindspore.ops.arcsinh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arcsinh.html)                                           |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.arctan](https://pytorch.org/docs/1.8.1/generated/torch.arctan.html)                        | [mindspore.ops.arctan](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arctan.html)                                           |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.arctanh](https://pytorch.org/docs/1.8.1/generated/torch.arctanh.html)                        | [mindspore.ops.arctanh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.arctanh.html)                                           |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.argmax](https://pytorch.org/docs/1.8.1/generated/torch.argmax.html) | [mindspore.ops.argmax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.argmax.html) |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.argmin](https://pytorch.org/docs/1.8.1/generated/torch.argmin.html) | [mindspore.ops.argmin](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.argmin.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/argmin.html)   |
| [torch.argsort](https://pytorch.org/docs/1.8.1/generated/torch.argsort.html) | [mindspore.ops.argsort](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.argsort.html) |The functions are consistent, but the parameter names are inconsistent.|
| [torch.asin](https://pytorch.org/docs/1.8.1/generated/torch.asin.html) | [mindspore.ops.asin](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.asin.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)          |
| [torch.asinh](https://pytorch.org/docs/1.8.1/generated/torch.asinh.html)| [mindspore.ops.asinh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.asinh.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.atan](https://pytorch.org/docs/1.8.1/generated/torch.atan.html) | [mindspore.ops.atan](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.atan.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.atan2](https://pytorch.org/docs/1.8.1/generated/torch.atan2.html) | [mindspore.ops.atan2](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.atan2.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.atanh](https://pytorch.org/docs/1.8.1/generated/torch.atanh.html)| [mindspore.ops.atanh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.atanh.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.atleast_1d](https://pytorch.org/docs/1.8.1/generated/torch.atleast_1d.html) | [mindspore.ops.atleast_1d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.atleast_1d.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.atleast_2d](https://pytorch.org/docs/1.8.1/generated/torch.atleast_2d.html) | [mindspore.ops.atleast_2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.atleast_2d.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.atleast_3d](https://pytorch.org/docs/1.8.1/generated/torch.atleast_3d.html) | [mindspore.ops.atleast_3d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.atleast_3d.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.baddbmm](https://pytorch.org/docs/1.8.1/generated/torch.baddbmm.html) | [mindspore.ops.baddbmm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.baddbmm.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.bartlett_window](https://pytorch.org/docs/1.8.1/generated/torch.bartlett_window.html) | [mindspore.ops.bartlett_window](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bartlett_window.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.bernoulli](https://pytorch.org/docs/1.8.1/generated/torch.bernoulli.html) | [mindspore.ops.bernoulli](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bernoulli.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/bernoulli.html) |
| [torch.bincount](https://pytorch.org/docs/1.8.1/generated/torch.bincount.html) | [mindspore.ops.bincount](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bincount.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.bitwise_and](https://pytorch.org/docs/1.8.1/generated/torch.bitwise_and.html) | [mindspore.ops.bitwise_and](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bitwise_and.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.bitwise_or](https://pytorch.org/docs/1.8.1/generated/torch.bitwise_or.html) | [mindspore.ops.bitwise_or](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bitwise_or.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.bitwise_xor](https://pytorch.org/docs/1.8.1/generated/torch.bitwise_xor.html) | [mindspore.ops.bitwise_xor](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bitwise_xor.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.blackman_window](https://pytorch.org/docs/1.8.1/generated/torch.blackman_window.html) | [mindspore.ops.blackman_window](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.blackman_window.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.block_diag](https://pytorch.org/docs/1.8.1/generated/torch.block_diag.html) | [mindspore.ops.block_diag](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.block_diag.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.bmm](https://pytorch.org/docs/1.8.1/generated/torch.bmm.html) | [mindspore.ops.bmm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bmm.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.bucketize](https://pytorch.org/docs/1.8.1/generated/torch.bucketize.html) | [mindspore.ops.bucketize](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bucketize.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/bucketize.html) |
| [torch.broadcast_to](https://pytorch.org/docs/1.8.1/generated/torch.broadcast_to.html) | [mindspore.ops.broadcast_to](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.broadcast_to.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/broadcast_to.html)               |
| [torch.cat](https://pytorch.org/docs/1.8.1/generated/torch.cat.html) | [mindspore.ops.cat](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cat.html) | [The functions are consistent, but the parameter data types are inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/cat.html)                  |
| [torch.cdist](https://pytorch.org/docs/1.8.1/generated/torch.cdist.html)      | [mindspore.ops.cdist](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cdist.html)  |    [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/cdist.html)    |
| [torch.ceil](https://pytorch.org/docs/1.8.1/generated/torch.ceil.html) | [mindspore.ops.ceil](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ceil.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.cholesky](https://pytorch.org/docs/1.8.1/generated/torch.cholesky.html)                        | [mindspore.ops.cholesky](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cholesky.html)                        | The functions are consistent, but the parameter names are inconsistent.|
| [torch.cholesky_solve](https://pytorch.org/docs/1.8.1/generated/torch.cholesky_solve.html)                        | [mindspore.ops.cholesky_solve](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cholesky_solve.html)                        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.chunk](https://pytorch.org/docs/1.8.1/generated/torch.chunk.html)                        | [mindspore.ops.chunk](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.chunk.html)                        | The functions are consistent, but the parameter names are inconsistent. |
| [torch.clamp](https://pytorch.org/docs/1.8.1/generated/torch.clamp.html)                      | [mindspore.ops.clamp](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.clamp.html)                            | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.clip](https://pytorch.org/docs/1.8.1/generated/torch.clip.html) | [mindspore.ops.clip](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.clip.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.column_stack](https://pytorch.org/docs/1.8.1/generated/torch.column_stack.html) | [mindspore.ops.column_stack](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.column_stack.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.combinations](https://pytorch.org/docs/1.8.1/generated/torch.combinations.html) | [mindspore.ops.combinations](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.combinations.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.conj](https://pytorch.org/docs/1.8.1/generated/torch.conj.html) | [mindspore.ops.conj](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.conj.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.copysign](https://pytorch.org/docs/1.8.1/generated/torch.copysign.html) | [mindspore.ops.copysign](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.copysign.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.cos](https://pytorch.org/docs/1.8.1/generated/torch.cos.html) | [mindspore.ops.cos](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cos.html) | [The functions are consistent, but the parameter data types are inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/cos.html) |
| [torch.cosh](https://pytorch.org/docs/1.8.1/generated/torch.cosh.html) | [mindspore.ops.cosh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cosh.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.count_nonzero](https://pytorch.org/docs/1.8.1/generated/torch.count_nonzero.html) | [mindspore.ops.count_nonzero](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.count_nonzero.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.cross](https://pytorch.org/docs/1.8.1/generated/torch.cross.html) | [mindspore.ops.cross](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cross.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.cummax](https://pytorch.org/docs/1.8.1/generated/torch.cummax.html) | [mindspore.ops.cummax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cummax.html) |The functions are consistent, but the parameter names are inconsistent.|
| [torch.cummin](https://pytorch.org/docs/1.8.1/generated/torch.cummin.html) | [mindspore.ops.cummin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cummin.html) |The functions are consistent, but the parameter names are inconsistent.|
| [torch.cumprod](https://pytorch.org/docs/1.8.1/generated/torch.cumprod.html) | [mindspore.ops.cumprod](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cumprod.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.cumsum](https://pytorch.org/docs/1.8.1/generated/torch.cumsum.html) | [mindspore.ops.cumsum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cumsum.html) | The functiions are consistent, but the parameter names are inconsistent. |
| [torch.deg2rad](https://pytorch.org/docs/1.8.1/generated/torch.deg2rad.html) | [mindspore.ops.deg2rad](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.deg2rad.html) | [The functions are consistent, but the parameter data types are inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/deg2rad.html) |
| [torch.diag](https://pytorch.org/docs/1.8.1/generated/torch.diag.html) | [mindspore.ops.diag](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.diag.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/diag.html) |
| [torch.diag_embed](https://pytorch.org/docs/1.8.1/generated/torch.diag_embed.html) | [mindspore.ops.diag_embed](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.diag_embed.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.diagflat](https://pytorch.org/docs/1.8.1/generated/torch.diagflat.html) | [mindspore.ops.diagflat](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.diagflat.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.diagonal](https://pytorch.org/docs/1.8.1/generated/torch.diagonal.html)                    |   [mindspore.ops.diagonal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.diagonal.html)                                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.diff](https://pytorch.org/docs/1.8.1/generated/torch.diff.html)                    |   [mindspore.ops.diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.diff.html)                                    | The functions are consistent, but the parameter names are inconsistent. |
| [torch.digamma](https://pytorch.org/docs/1.8.1/generated/torch.digamma.html) | [mindspore.ops.digamma](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.digamma.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.dist](https://pytorch.org/docs/1.8.1/generated/torch.dist.html) | [mindspore.ops.dist](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.dist.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.div](https://pytorch.org/docs/1.8.1/generated/torch.div.html) | [mindspore.ops.div](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.div.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.divide](https://pytorch.org/docs/1.8.1/generated/torch.divide.html) | [mindspore.ops.divide](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.divide.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.dot](https://pytorch.org/docs/1.8.1/generated/torch.dot.html) | [mindspore.ops.tensor_dot](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tensor_dot.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/tensor_dot.html) |
| [torch.dstack](https://pytorch.org/docs/1.8.1/generated/torch.dstack.html) | [mindspore.ops.dstack](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.dstack.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.einsum](https://pytorch.org/docs/1.8.1/generated/torch.einsum.html) | [mindspore.ops.einsum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.einsum.html#mindspore.ops.einsum) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.eq](https://pytorch.org/docs/1.8.1/generated/torch.eq.html) | [mindspore.ops.equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.equal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.erf](https://pytorch.org/docs/1.8.1/generated/torch.erf.html) | [mindspore.ops.erf](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.erf.html) |    [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.erfc](https://pytorch.org/docs/1.8.1/generated/torch.erfc.html) | [mindspore.ops.erfc](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.erfc.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.erfinv](https://pytorch.org/docs/1.8.1/generated/torch.erfinv.html) | [mindspore.ops.erfinv](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.erfinv.html) | [The functions are consistent, but the parameter data types are inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/erfinv.html) |
| [torch.exp](https://pytorch.org/docs/1.8.1/generated/torch.exp.html) | [mindspore.ops.exp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.exp.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.exp2](https://pytorch.org/docs/1.8.1/generated/torch.exp2.html) | [mindspore.ops.exp2](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.exp2.html) |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.expm1](https://pytorch.org/docs/1.8.1/generated/torch.expm1.html) | [mindspore.ops.expm1](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.expm1.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.eye](https://pytorch.org/docs/1.8.1/generated/torch.eye.html) | [mindspore.ops.eye](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.eye.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.flatten](https://pytorch.org/docs/1.8.1/generated/torch.flatten.html) | [mindspore.ops.flatten](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.flatten.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/flatten.html) |
| [torch.float_power](https://pytorch.org/docs/1.8.1/generated/torch.float_power.html)          | [mindspore.ops.float_power](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.float_power.html)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/float_power.html)    |
| [torch.flip](https://pytorch.org/docs/1.8.1/generated/torch.flip.html)                        | [mindspore.ops.flip](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.flip.html)                          | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.fliplr](https://pytorch.org/docs/1.8.1/generated/torch.fliplr.html)                    | [mindspore.ops.fliplr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.fliplr.html)                      | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.flipud](https://pytorch.org/docs/1.8.1/generated/torch.flipud.html)                    | [mindspore.ops.flipud](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.flipud.html)                      | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.floor](https://pytorch.org/docs/1.8.1/generated/torch.floor.html) | [mindspore.ops.floor](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.floor.html) | [The functions are consistent, but the parameter data types are inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/floor.html) |
| [torch.floor_divide](https://pytorch.org/docs/1.8.1/generated/torch.floor_divide.html) | [mindspore.ops.floor_divide](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.floor_divide.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.fmax](https://pytorch.org/docs/1.8.1/generated/torch.fmax.html) | [mindspore.ops.fmax](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.fmax.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.fmod](https://pytorch.org/docs/1.8.1/generated/torch.fmod.html)          | [mindspore.ops.fmod](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.fmod.html)   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.frac](https://pytorch.org/docs/1.8.1/generated/torch.frac.html)          | [mindspore.ops.frac](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.frac.html)   | The functions are consistent, but the parameter names are inconsistent. |
| [torch.full](https://pytorch.org/docs/1.8.1/generated/torch.full.html) | [mindspore.ops.full](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.full.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.full_like](https://pytorch.org/docs/1.8.1/generated/torch.full_like.html) | [mindspore.ops.full_like](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.full_like.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.gcd](https://pytorch.org/docs/1.8.1/generated/torch.gcd.html) | [mindspore.ops.gcd](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.gcd.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.ge](https://pytorch.org/docs/1.8.1/generated/torch.ge.html) | [mindspore.ops.ge](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ge.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.geqrf](https://pytorch.org/docs/1.8.1/generated/torch.geqrf.html) | [mindspore.ops.geqrf](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.geqrf.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.ger](https://pytorch.org/docs/1.8.1/generated/torch.ger.html) | [mindspore.ops.ger](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ger.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ger.html) |
| [torch.greater](https://pytorch.org/docs/1.8.1/generated/torch.greater.html) | [mindspore.ops.greater](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.greater.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.greater_equal](https://pytorch.org/docs/1.8.1/generated/torch.greater_equal.html) | [mindspore.ops.greater_equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.greater_equal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.gt](https://pytorch.org/docs/1.8.1/generated/torch.gt.html) | [mindspore.ops.gt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.gt.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.hann_window](https://pytorch.org/docs/1.8.1/generated/torch.hann_window.html) | [mindspore.ops.hann_window](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hann_window.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.heaviside](https://pytorch.org/docs/1.8.1/generated/torch.heaviside.html)          | [mindspore.ops.heaviside](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.heaviside.html)   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.hstack](https://pytorch.org/docs/1.8.1/generated/torch.hstack.html)          | [mindspore.ops.hstack](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hstack.html)   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.histc](https://pytorch.org/docs/1.8.1/generated/torch.histc.html)          | [mindspore.ops.histc](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.histc.html)   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.hypot](https://pytorch.org/docs/1.8.1/generated/torch.hypot.html)          | [mindspore.ops.hypot](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hypot.html)   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.hamming_window](https://pytorch.org/docs/1.8.1/generated/torch.hamming_window.html) | [mindspore.ops.hamming_window](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hamming_window.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.i0](https://pytorch.org/docs/1.8.1/generated/torch.i0.html) | [mindspore.ops.i0](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.i0.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.igamma](https://pytorch.org/docs/1.8.1/generated/torch.igamma.html)| [mindspore.ops.igamma](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.igamma.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.igammac](https://pytorch.org/docs/1.8.1/generated/torch.igammac.html)| [mindspore.ops.igammac](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.igammac.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.imag](https://pytorch.org/docs/1.8.1/generated/torch.imag.html) | [mindspore.ops.imag](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.imag.html)  |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.index_select](https://pytorch.org/docs/1.8.1/generated/torch.index_select.html) | [mindspore.ops.index_select](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.index_select.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.inner](https://pytorch.org/docs/1.8.1/generated/torch.inner.html) | [mindspore.ops.inner](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.inner.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.inverse](https://pytorch.org/docs/1.8.1/generated/torch.inverse.html) | [mindspore.ops.inverse](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.inverse.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.isclose](https://pytorch.org/docs/1.8.1/generated/torch.isclose.html) | [mindspore.ops.isclose](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isclose.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/isclose.html) |
| [torch.isfinite](https://pytorch.org/docs/1.8.1/generated/torch.isfinite.html) | [mindspore.ops.isfinite](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isfinite.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.isinf](https://pytorch.org/docs/1.8.1/generated/torch.isinf.html) | [mindspore.ops.isinf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isinf.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.isnan](https://pytorch.org/docs/1.8.1/generated/torch.isnan.html) | [mindspore.ops.isnan](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isnan.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.isneginf](https://pytorch.org/docs/1.8.1/generated/torch.isneginf.html) | [mindspore.ops.isneginf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isneginf.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.isposinf](https://pytorch.org/docs/1.8.1/generated/torch.isposinf.html) | [mindspore.ops.isposinf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isposinf.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.isreal](https://pytorch.org/docs/1.8.1/generated/torch.isreal.html) | [mindspore.ops.isreal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.isreal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.is_complex](https://pytorch.org/docs/1.8.1/generated/torch.is_complex.html) | [mindspore.ops.is_complex](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.is_complex.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.is_floating_point](https://pytorch.org/docs/1.8.1/generated/torch.is_floating_point.html) | [mindspore.ops.is_floating_point](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.is_floating_point.html) | The functions are consistent, but the parameter names are inconsistent.|
| [torch.is_nonzero](https://pytorch.org/docs/1.8.1/generated/torch.is_nonzero.html#torch.is_nonzero) | [mindspore.ops.is_nonzero](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.is_nonzero.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.is_tensor](https://pytorch.org/docs/1.8.1/generated/torch.is_tensor.html#torch.is_tensor) | [mindspore.ops.is_tensor](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.is_tensor.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.kaiser_window](https://pytorch.org/docs/1.8.1/generated/torch.kaiser_window.html) | [mindspore.ops.kaiser_window](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.kaiser_window.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.kron](https://pytorch.org/docs/1.8.1/generated/torch.kron.html) | [mindspore.ops.kron](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.kron.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.lcm](https://pytorch.org/docs/1.8.1/generated/torch.lcm.html) | [mindspore.ops.lcm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lcm.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.ldexp](https://pytorch.org/docs/1.8.1/generated/torch.ldexp.html) | [mindspore.ops.ldexp](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ldexp.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.le](https://pytorch.org/docs/1.8.1/generated/torch.le.html) | [mindspore.ops.le](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.le.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.lerp](https://pytorch.org/docs/1.8.1/generated/torch.lerp.html) | [mindspore.ops.lerp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lerp.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.less](https://pytorch.org/docs/1.8.1/generated/torch.less.html) | [mindspore.ops.less](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.less.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.less_equal](https://pytorch.org/docs/1.8.1/generated/torch.less_equal.html) | [mindspore.ops.less_equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.less_equal.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.linalg.cond](https://pytorch.org/docs/1.8.1/linalg.html#torch.linalg.cond) | [mindspore.ops.cond](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cond.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.linalg.eigvals](https://pytorch.org/docs/stable/generated/torch.linalg.eigvals.html#torch.linalg.eigvals) | [mindspore.ops.eigvals](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.eigvals.html#mindspore.ops.eigvals) |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.linalg.norm](https://pytorch.org/docs/1.8.1/linalg.html#torch.linalg.norm) | [mindspore.ops.norm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.norm.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.linspace](https://pytorch.org/docs/1.8.1/generated/torch.linspace.html) | [mindspore.ops.linspace](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.linspace.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/linspace.html) |
| [torch.log](https://pytorch.org/docs/1.8.1/generated/torch.log.html) | [mindspore.ops.log](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.log.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/log.html) |
| [torch.log2](https://pytorch.org/docs/1.8.1/generated/torch.log2.html) | [mindspore.ops.log2](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.log2.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/log2.html) |
| [torch.log10](https://pytorch.org/docs/1.8.1/generated/torch.log10.html) | [mindspore.ops.log10](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.log10.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/log10.html) |
| [torch.logaddexp](https://pytorch.org/docs/1.8.1/generated/torch.logaddexp.html) | [mindspore.ops.logaddexp](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logaddexp.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logaddexp2](https://pytorch.org/docs/1.8.1/generated/torch.logaddexp2.html) | [mindspore.ops.logaddexp2](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logaddexp2.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logcumsumexp](https://pytorch.org/docs/1.8.1/generated/torch.logcumsumexp.html) | [mindspore.ops.logcumsumexp](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logcumsumexp.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.log1p](https://pytorch.org/docs/1.8.1/generated/torch.log1p.html#torch.log1p) | [mindspore.ops.log1p](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.log1p.html#mindspore.ops.log1p) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logdet](https://pytorch.org/docs/1.8.1/generated/torch.logdet.html#torch.logdet) | [mindspore.ops.logdet](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logdet.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logical_and](https://pytorch.org/docs/1.8.1/generated/torch.logical_and.html) | [mindspore.ops.logical_and](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logical_and.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logical_not](https://pytorch.org/docs/1.8.1/generated/torch.logical_not.html) | [mindspore.ops.logical_not](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logical_not.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logical_or](https://pytorch.org/docs/1.8.1/generated/torch.logical_or.html) | [mindspore.ops.logical_or](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logical_or.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.logical_xor](https://pytorch.org/docs/1.8.1/generated/torch.logical_xor.html) | [mindspore.ops.logical_xor](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logical_xor.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logit](https://pytorch.org/docs/1.8.1/generated/torch.logit.html)| [mindspore.ops.logit](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logit.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logspace](https://pytorch.org/docs/1.8.1/generated/torch.logspace.html) | [mindspore.ops.logspace](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logspace.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.logsumexp](https://pytorch.org/docs/1.8.1/generated/torch.logsumexp.html) | [mindspore.ops.logsumexp](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logsumexp.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.lt](https://pytorch.org/docs/1.8.1/generated/torch.lt.html) | [mindspore.ops.lt](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lt.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.lu_solve](https://pytorch.org/docs/1.8.1/generated/torch.lu_solve.html) | [mindspore.ops.lu_solve](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lu_solve.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.lu_unpack](https://pytorch.org/docs/1.8.1/generated/torch.lu_unpack.html) | [mindspore.ops.lu_unpack](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lu_unpack.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.masked_select](https://pytorch.org/docs/1.8.1/generated/torch.masked_select.html) | [mindspore.ops.masked_select](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.masked_select.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.matmul](https://pytorch.org/docs/1.8.1/generated/torch.matmul.html#torch.matmul) | [mindspore.ops.matmul](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.matmul.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.max](https://pytorch.org/docs/1.8.1/generated/torch.max.html) | [mindspore.ops.max](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.max.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/max.html) |
| [torch.maximum](https://pytorch.org/docs/1.8.1/generated/torch.maximum.html) | [mindspore.ops.maximum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.maximum.html) |   The functions are consistent, but the parameter names are inconsistent.                          |
|[torch.mean](https://pytorch.org/docs/1.8.1/generated/torch.mean.html) | [mindspore.ops.mean](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.mean.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.median](https://pytorch.org/docs/1.8.1/generated/torch.median.html) | [mindspore.ops.median](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.median.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/median.html) |
| [torch.meshgrid](https://pytorch.org/docs/1.8.1/generated/torch.meshgrid.html#torch.meshgrid) | [mindspore.ops.meshgrid](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.meshgrid.html) |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/meshgrid.html)    |
| [torch.mm](https://pytorch.org/docs/1.8.1/generated/torch.mm.html)| [mindspore.ops.mm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.mm.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.mul](https://pytorch.org/docs/1.8.1/generated/torch.mul.html#torch.mul) | [mindspore.ops.mul](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.mul.html#mindspore.ops.mul)   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.min](https://pytorch.org/docs/1.8.1/generated/torch.min.html) | [mindspore.ops.min](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.min.html) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/min.html) |
| [torch.minimum](https://pytorch.org/docs/1.8.1/generated/torch.minimum.html) | [mindspore.ops.minimum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.minimum.html) |   The functions are consistent, but the parameter names are inconsistent.                          |
| [torch.msort](https://pytorch.org/docs/1.8.1/generated/torch.msort.html) | [mindspore.ops.msort](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.msort.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.moveaxis](https://pytorch.org/docs/1.8.1/generated/torch.moveaxis.html) | [mindspore.ops.moveaxis](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.moveaxis.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.movedim](https://pytorch.org/docs/1.8.1/generated/torch.movedim.html) | [mindspore.ops.movedim](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.movedim.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.multinomial](https://pytorch.org/docs/1.8.1/generated/torch.multinomial.html) | [mindspore.ops.multinomial](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.multinomial.html) | [The functions are consistent, but the parameter default values are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/multinomial.html) |
| [torch.multiply](https://pytorch.org/docs/1.8.1/generated/torch.multiply.html) | [mindspore.ops.multiply](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.multiply.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.mv](https://pytorch.org/docs/1.8.1/generated/torch.mv.html) | [mindspore.ops.mv](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.mv.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.mvlgamma](https://pytorch.org/docs/1.8.1/generated/torch.mvlgamma.html)| [mindspore.ops.mvlgamma](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.mvlgamma.html)| [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/mvlgamma.html) |
| [torch.nan_to_num](https://pytorch.org/docs/1.8.1/generated/torch.nan_to_num.html) | [mindspore.ops.nan_to_num](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.nan_to_num.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nansum](https://pytorch.org/docs/1.8.1/generated/torch.nansum.html) | [mindspore.ops.nansum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.nansum.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.narrow](https://pytorch.org/docs/1.8.1/generated/torch.narrow.html) | [mindspore.ops.narrow](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.narrow.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.ne](https://pytorch.org/docs/1.8.1/generated/torch.ne.html) | [mindspore.ops.ne](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ne.html) |   The functions are consistent, but the parameter names are inconsistent.                          |
| [torch.neg](https://pytorch.org/docs/1.8.1/generated/torch.neg.html)| [mindspore.ops.neg](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.neg.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.negative](https://pytorch.org/docs/1.8.1/generated/torch.negative.html) | [mindspore.ops.negative](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.negative.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nextafter](https://pytorch.org/docs/1.8.1/generated/torch.nextafter.html) | [mindspore.ops.nextafter](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.nextafter.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nonzero](https://pytorch.org/docs/1.8.1/generated/torch.nonzero.html) | [mindspore.ops.nonzero](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.nonzero.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.normal](https://pytorch.org/docs/1.8.1/generated/torch.normal.html) | [mindspore.ops.normal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.normal.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/normal.html) |
| [torch.not_equal](https://pytorch.org/docs/1.8.1/generated/torch.not_equal.html) | [mindspore.ops.not_equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.not_equal.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.numel](https://pytorch.org/docs/1.8.1/generated/torch.numel.html) | [mindspore.ops.numel](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.numel.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.ones](https://pytorch.org/docs/1.8.1/generated/torch.ones.html) | [mindspore.ops.ones](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ones.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ones.html) |
| [torch.ones_like](https://pytorch.org/docs/1.8.1/torch.html#torch.ones_like) | [mindspore.ops.ones_like](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ones_like.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.orgqr](https://pytorch.org/docs/1.8.1/generated/torch.orgqr.html) | [mindspore.ops.orgqr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.orgqr.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.ormqr](https://pytorch.org/docs/1.8.1/generated/torch.ormqr.html) | [mindspore.ops.ormqr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ormqr.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.outer](https://pytorch.org/docs/1.8.1/generated/torch.outer.html) | [mindspore.ops.outer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.outer.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.poisson](https://pytorch.org/docs/1.8.1/generated/torch.poisson.html) | [mindspore.ops.random_poisson](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.random_poisson.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/poisson.html) |
| [torch.polar](https://pytorch.org/docs/1.8.1/generated/torch.polar.html) | [mindspore.ops.polar](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.polar.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.polygamma](https://pytorch.org/docs/1.8.1/generated/torch.polygamma.html) | [mindspore.ops.polygamma](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.polygamma.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/polygamma.html) |
| [torch.pow](https://pytorch.org/docs/1.8.1/generated/torch.pow.html#torch.pow) | [mindspore.ops.pow](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.pow.html#mindspore.ops.pow) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.prod](https://pytorch.org/docs/1.8.1/generated/torch.prod.html#torch.prod) | [mindspore.ops.prod](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.prod.html#mindspore.ops.prod) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/prod.html) |
| [torch.rad2deg](https://pytorch.org/docs/1.8.1/generated/torch.rad2deg.html) | [mindspore.ops.rad2deg](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.rad2deg.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/rad2deg.html) |
| [torch.rand](https://pytorch.org/docs/1.8.1/generated/torch.rand.html) | [mindspore.ops.rand](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.rand.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.rand_like](https://pytorch.org/docs/1.8.1/generated/torch.rand_like.html) | [mindspore.ops.rand_like](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.rand_like.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.randn](https://pytorch.org/docs/1.8.1/generated/torch.randn.html) | [mindspore.ops.randn](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.randn.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.randn_like](https://pytorch.org/docs/1.8.1/generated/torch.randn_like.html) | [mindspore.ops.randn_like](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.randn_like.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.randint](https://pytorch.org/docs/1.8.1/generated/torch.randint.html) | [mindspore.ops.randint](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.randint.html) | [The functions are consistent, but the parameter default values are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/randint.html) |
| [torch.randint_like](https://pytorch.org/docs/1.8.1/generated/torch.randint_like.html) | [mindspore.ops.randint_like](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.randint_like.html) | [The functions are consistent, but the parameter default values are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/randint_like.html) |
| [torch.randperm](https://pytorch.org/docs/1.8.1/generated/torch.randperm.html) | [mindspore.ops.randperm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.randperm.html) |   The functions are consistent, but the parameter names are inconsistent. |
| [torch.range](https://pytorch.org/docs/1.8.1/generated/torch.range.html#torch.range) | [mindspore.ops.range](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.range.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/range.html) |
| [torch.ravel](https://pytorch.org/docs/1.8.1/generated/torch.ravel.html) | [mindspore.ops.ravel](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ravel.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.real](https://pytorch.org/docs/1.8.1/generated/torch.real.html) | [mindspore.ops.real](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.real.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.reciprocal](https://pytorch.org/docs/1.8.1/generated/torch.reciprocal.html) | [mindspore.ops.reciprocal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.reciprocal.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.remainder](https://pytorch.org/docs/1.8.1/generated/torch.remainder.html) | [mindspore.ops.remainder](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.remainder.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.renorm](https://pytorch.org/docs/1.8.1/generated/torch.renorm.html) | [mindspore.ops.renorm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.renorm.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/renorm.html) |
| [torch.repeat_interleave](https://pytorch.org/docs/1.8.1/generated/torch.repeat_interleave.html) | [mindspore.ops.repeat_interleave](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.repeat_interleave.html) | The functions are consistent, but the parameter names are inconsistent.|
| [torch.reshape](https://pytorch.org/docs/1.8.1/generated/torch.reshape.html#torch.reshape) | [mindspore.ops.reshape](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.reshape.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.roll](https://pytorch.org/docs/1.8.1/generated/torch.roll.html) | [mindspore.ops.roll](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.roll.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.rot90](https://pytorch.org/docs/1.8.1/generated/torch.rot90.html) | [mindspore.ops.rot90](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.rot90.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.round](https://pytorch.org/docs/1.8.1/generated/torch.round.html)| [mindspore.ops.round](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.round.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.row_stack](https://pytorch.org/docs/1.8.1/generated/torch.row_stack.html)| [mindspore.ops.row_stack](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.row_stack.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.rsqrt](https://pytorch.org/docs/1.8.1/generated/torch.rsqrt.html)                        | [mindspore.ops.rsqrt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.rsqrt.html)                        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.searchsorted](https://pytorch.org/docs/1.8.1/generated/torch.searchsorted.html) | [mindspore.ops.searchsorted](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.searchsorted.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.scatter](https://pytorch.org/docs/1.8.1/generated/torch.scatter.html) | [mindspore.ops.scatter](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.scatter.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/scatter.html) |
| [torch.scatter_add](https://pytorch.org/docs/1.8.1/generated/torch.scatter_add.html) | [mindspore.ops.tensor_scatter_elements](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tensor_scatter_elements.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/scatter_add.html) |
| [torch.sgn](https://pytorch.org/docs/1.8.1/generated/torch.sgn.html)                        | [mindspore.ops.sgn](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sgn.html)                           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.sigmoid](https://pytorch.org/docs/1.8.1/generated/torch.sigmoid.html) | [mindspore.ops.sigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sigmoid.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.sign](https://pytorch.org/docs/1.8.1/generated/torch.sign.html)                        | [mindspore.ops.sign](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sign.html)                          | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.signbit](https://pytorch.org/docs/1.8.1/generated/torch.signbit.html)                        | [mindspore.ops.signbit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.signbit.html)                        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.sin](https://pytorch.org/docs/1.8.1/generated/torch.sin.html)| [mindspore.ops.sin](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sin.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.sinc](https://pytorch.org/docs/1.8.1/generated/torch.sinc.html)| [mindspore.ops.sinc](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sinc.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.sinh](https://pytorch.org/docs/1.8.1/generated/torch.sinh.html)| [mindspore.ops.sinh](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sinh.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.slogdet](https://pytorch.org/docs/1.8.1/generated/torch.slogdet.html)                      | [mindspore.ops.slogdet](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.slogdet.html)                      | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.sort](https://pytorch.org/docs/1.8.1/generated/torch.sort.html) | [mindspore.ops.sort](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sort.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.split](https://pytorch.org/docs/1.8.1/generated/torch.split.html)                      | [mindspore.ops.split](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.split.html)                        | The functions are consistent, but the parameter names are inconsistent.|
| [torch.stack](https://pytorch.org/docs/1.8.1/generated/torch.stack.html) | [mindspore.ops.stack](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.stack.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.squeeze](https://pytorch.org/docs/1.8.1/generated/torch.squeeze.html) | [mindspore.ops.squeeze](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.squeeze.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.std](https://pytorch.org/docs/1.8.1/generated/torch.std.html#torch.std) | [mindspore.ops.std](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.std.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/std.html) |
| [torch.std_mean](https://pytorch.org/docs/1.8.1/generated/torch.std_mean.html#torch.std_mean) | [mindspore.ops.std_mean](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.std_mean.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/std_mean.html) |
| [torch.sqrt](https://pytorch.org/docs/1.8.1/generated/torch.sqrt.html) | [mindspore.ops.sqrt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sqrt.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.square](https://pytorch.org/docs/1.8.1/generated/torch.square.html)| [mindspore.ops.square](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.square.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.sub](https://pytorch.org/docs/1.8.1/generated/torch.sub.html#torch.sub)  | [mindspore.ops.subtract](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.subtract.html)  | The functions are consistent, but the parameter names are inconsistent. |
| [torch.subtract](https://pytorch.org/docs/1.8.1/generated/torch.subtract.html#torch.subtract) | [mindspore.ops.subtract](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.subtract.html)  | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.sum](https://pytorch.org/docs/1.8.1/generated/torch.sum.html)                      | [mindspore.ops.sum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sum.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.svd](https://pytorch.org/docs/1.8.1/generated/torch.svd.html) | [mindspore.ops.svd](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.svd.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/svd.html) |
| [torch.swapaxes](https://pytorch.org/docs/1.8.1/generated/torch.swapaxes.html) | [mindspore.ops.swapaxes](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.swapaxes.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.swapdims](https://pytorch.org/docs/1.8.1/generated/torch.swapdims.html) | [mindspore.ops.swapdims](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.swapdims.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.t](https://pytorch.org/docs/1.8.1/generated/torch.t.html)           | [mindspore.ops.t](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.t.html)           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.tan](https://pytorch.org/docs/1.8.1/generated/torch.tan.html)| [mindspore.ops.tan](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tan.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.tanh](https://pytorch.org/docs/1.8.1/generated/torch.tanh.html) | [mindspore.ops.tanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tanh.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.tensor_split](https://pytorch.org/docs/1.8.1/generated/torch.tensor_split.html)        | [mindspore.ops.tensor_split](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tensor_split.html)          |The functions are consistent, but the parameter names are inconsistent.|
| [torch.tile](https://pytorch.org/docs/1.8.1/generated/torch.tile.html)| [mindspore.ops.tile](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tile.html)| The functions are consistent, but the parameter names are inconsistent. |
| [torch.topk](https://pytorch.org/docs/1.8.1/generated/torch.topk.html#torch.topk) | [mindspore.ops.topk](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.topk.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.trace](https://pytorch.org/docs/1.8.1/generated/torch.trace.html) | [mindspore.ops.trace](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.trace.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.transpose](https://pytorch.org/docs/1.8.1/generated/torch.transpose.html) | [mindspore.ops.swapaxes](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.swapaxes.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.trapz](https://pytorch.org/docs/1.8.1/generated/torch.trapz.html) | [mindspore.ops.trapz](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.trapz.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.tril](https://pytorch.org/docs/1.8.1/generated/torch.tril.html)          | [mindspore.ops.tril](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tril.html)           |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.tril_indices](https://pytorch.org/docs/1.8.1/generated/torch.tril_indices.html) | [mindspore.ops.tril_indices](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tril_indices.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.triu_indices](https://pytorch.org/docs/1.8.1/generated/torch.triu_indices.html) | [mindspore.ops.triu_indices](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.triu_indices.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.true_divide](https://pytorch.org/docs/1.8.1/generated/torch.true_divide.html#torch.true_divide) | [mindspore.ops.true_divide](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.true_divide.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.trunc](https://pytorch.org/docs/1.8.1/generated/torch.trunc.html)| [mindspore.ops.trunc](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.trunc.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.unbind](https://pytorch.org/docs/1.8.1/generated/torch.unbind.html) | [mindspore.ops.unbind](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.unbind.html)                                          | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.unique](https://pytorch.org/docs/1.8.1/generated/torch.unique.html#torch.unique) | [mindspore.ops.unique](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.unique.html#mindspore.ops.unique) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/unique.html) |
| [torch.unique_consecutive](https://pytorch.org/docs/1.8.1/generated/torch.unique_consecutive.html#torch.unique_consecutive) | [mindspore.ops.unique_consecutive](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.unique_consecutive.html#mindspore.ops.unique_consecutive) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.unsqueeze](https://pytorch.org/docs/1.8.1/generated/torch.unsqueeze.html)| [mindspore.ops.unsqueeze](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.unsqueeze.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.vander](https://pytorch.org/docs/1.8.1/generated/torch.vander.html) | [mindspore.ops.vander](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.vander.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.var](https://pytorch.org/docs/1.8.1/generated/torch.var.html#torch.var) | [mindspore.ops.var](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.var.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/var.html) |
| [torch.var_mean](https://pytorch.org/docs/1.8.1/generated/torch.var_mean.html#torch.var_mean) | [mindspore.ops.var_mean](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.var_mean.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/var_mean.html) |
| [torch.view_as_real](https://pytorch.org/docs/1.8.1/generated/torch.view_as_real.html)                        | [mindspore.ops.view_as_real](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.view_as_real.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.vstack](https://pytorch.org/docs/1.8.1/generated/torch.vstack.html) | [mindspore.ops.vstack](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.vstack.html) |   The functions are consistent, but the parameter names are inconsistent.|
| [torch.where](https://pytorch.org/docs/1.8.1/generated/torch.where.html) | [mindspore.ops.where](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.where.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.xlogy](https://pytorch.org/docs/1.8.1/generated/torch.xlogy.html) | [mindspore.ops.xlogy](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.xlogy.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.zeros](https://pytorch.org/docs/1.8.1/generated/torch.zeros.html) | [mindspore.ops.zeros](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.zeros.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/zeros.html) |
| [torch.zeros_like](https://pytorch.org/docs/1.8.1/torch.html#torch.zeros_like) | [mindspore.ops.zeros_like](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.zeros_like.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |

| PyTorch 1.12 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.hsplit](https://pytorch.org/docs/1.12/generated/torch.hsplit.html)                      | [mindspore.ops.hsplit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hsplit.html)                        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.permute](https://pytorch.org/docs/1.12/generated/torch.permute.html) | [mindspore.ops.permute](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.permute.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.vsplit](https://pytorch.org/docs/1.12/generated/torch.vsplit.html)                      | [mindspore.ops.vsplit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.vsplit.html)                        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|

## torch.distributions

| PyTorch 1.8.1 APIs                                                                                                   | MindSpore APIs                                                                                          | Descriptions |
| -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ---- |
| [torch.distributions.laplace.Laplace](https://pytorch.org/docs/1.8.1/distributions.html#torch.distributions.laplace.Laplace) | [mindspore.ops.standard_laplace](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.standard_laplace.html) |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/standard_laplace.html)   |

## torch.distributed

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.distributed.all_gather](https://pytorch.org/docs/1.8.1/distributed.html#torch.distributed.all_gather) | [mindspore.ops.AllGather](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.AllGather.html#mindspore.ops.AllGather) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/all_gather.html)|
| [torch.distributed.all_reduce](https://pytorch.org/docs/1.8.1/distributed.html#torch.distributed.all_reduce) | [mindspore.ops.AllReduce](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.AllReduce.html#mindspore.ops.AllReduce) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/all_reduce.html)|
| [torch.distributed.get_rank](https://pytorch.org/docs/1.8.1/distributed.html#torch.distributed.get_rank) | [mindspore.communication.get_rank](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore.communication.html#mindspore.communication.get_rank) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/get_rank.html)|
| [torch.distributed.init_process_group](https://pytorch.org/docs/1.8.1/distributed.html#torch.distributed.init_process_group) | [mindspore.communication.init](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore.communication.html#mindspore.communication.init) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/init.html) |
| [torch.distributed.new_group](https://pytorch.org/docs/1.8.1/distributed.html#torch.distributed.new_group) | [mindspore.communication.create_group](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore.communication.html#mindspore.communication.create_group) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/create_group.html) |

## torch.nn

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.nn.AdaptiveAvgPool1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AdaptiveAvgPool1d.html) | [mindspore.nn.AdaptiveAvgPool1d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaptiveAvgPool1d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AdaptiveAvgPool1d.html) |
| [torch.nn.AdaptiveAvgPool2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AdaptiveAvgPool2d.html) | [mindspore.nn.AdaptiveAvgPool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaptiveAvgPool2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.AdaptiveAvgPool3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AdaptiveAvgPool3d.html) | [mindspore.nn.AdaptiveAvgPool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaptiveAvgPool3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.AdaptiveMaxPool1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AdaptiveMaxPool1d.html) | [mindspore.nn.AdaptiveMaxPool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaptiveMaxPool1d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AdaptiveMaxPool1d.html) |
| [torch.nn.AdaptiveMaxPool2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AdaptiveMaxPool2d.html) | [mindspore.nn.AdaptiveMaxPool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaptiveMaxPool2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.AdaptiveMaxPool3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AdaptiveMaxPool3d.html) | [mindspore.nn.AdaptiveMaxPool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaptiveMaxPool3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.AvgPool1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AvgPool1d.html) | [mindspore.nn.AvgPool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AvgPool1d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AvgPool1d.html)  |
| [torch.nn.AvgPool2d](https://PyTorch.org/docs/1.8.1/generated/torch.nn.AvgPool2d.html) | [mindspore.nn.AvgPool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AvgPool2d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AvgPool2d.html) |
| [torch.nn.AvgPool3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.AvgPool3d.html)                 | [mindspore.nn.AvgPool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AvgPool3d.html)                    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AvgPool3d.html)|
| [torch.nn.BCELoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.BCELoss.html) | [mindspore.nn.BCELoss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.BCELoss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.BCEWithLogitsLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.BCEWithLogitsLoss.html) | [mindspore.nn.BCEWithLogitsLoss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.BCEWithLogitsLoss.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/BCEWithLogitsLoss.html)   |
| [torch.nn.BatchNorm1d](https://pytorch.org/docs/1.8.1/nn.html#torch.nn.BatchNorm1d) | [mindspore.nn.BatchNorm1d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.BatchNorm1d.html#mindspore.nn.BatchNorm1d) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/BatchNorm1d.html) |
| [torch.nn.BatchNorm2d](https://pytorch.org/docs/1.8.1/nn.html#torch.nn.BatchNorm2d) | [mindspore.nn.BatchNorm2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.BatchNorm2d.html#mindspore.nn.BatchNorm2d) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/BatchNorm2d.html) |
| [torch.nn.BatchNorm3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.BatchNorm3d.html) | [mindspore.nn.BatchNorm3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.BatchNorm3d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/BatchNorm3d.html) |
| [torch.nn.Bilinear](https://pytorch.org/docs/1.8.1/generated/torch.nn.Bilinear.html) | [mindspore.nn.BiDense](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.BiDense.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/BiDense.html) |
| [torch.nn.CeLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.CELU.html) | [mindspore.nn.CELU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.CELU.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ChannelShuffle](https://pytorch.org/docs/1.8.1/generated/torch.nn.ChannelShuffle.html)       | [mindspore.nn.ChannelShuffle](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ChannelShuffle.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.CTCLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.CTCLoss.html) | [mindspore.nn.CTCLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.CTCLoss.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ConstantPad1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ConstantPad1d.html) | [mindspore.nn.ConstantPad1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ConstantPad1d.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ConstantPad2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ConstantPad2d.html) | [mindspore.nn.ConstantPad2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ConstantPad2d.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ConstantPad3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ConstantPad3d.html) | [mindspore.nn.ConstantPad3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ConstantPad3d.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Conv1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.Conv1d.html) | [mindspore.nn.Conv1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Conv1d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Conv1d.html)                                                             |
| [torch.nn.Conv2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.Conv2d.html) | [mindspore.nn.Conv2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Conv2d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Conv2d.html) |
| [torch.nn.Conv3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.Conv3d.html) | [mindspore.nn.Conv3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Conv3d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Conv3d.html)  |
| [torch.nn.ConvTranspose1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ConvTranspose1d.html) | [mindspore.nn.Conv1dTranspose](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Conv1dTranspose.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Conv1dTranspose.html)  |
| [torch.nn.ConvTranspose2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ConvTranspose2d.html) | [mindspore.nn.Conv2dTranspose](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Conv2dTranspose.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Conv2dTranspose.html)  |
| [torch.nn.ConvTranspose3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ConvTranspose3d.html) | [mindspore.nn.Conv3dTranspose](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Conv3dTranspose.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Conv3dTranspose.html)  |
| [torch.nn.CosineEmbeddingLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.CosineEmbeddingLoss.html) | [mindspore.nn.CosineEmbeddingLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.CosineEmbeddingLoss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.CrossEntropyLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.CrossEntropyLoss.html) | [mindspore.nn.CrossEntropyLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.CrossEntropyLoss.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CrossEntropyLoss.html)  |
|  [torch.nn.Dropout](https://pytorch.org/docs/1.8.1/generated/torch.nn.Dropout.html) | [mindspore.nn.Dropout](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Dropout.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Dropout.html) |
| [torch.nn.Dropout2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.Dropout2d.html#torch.nn.Dropout2d) | [mindspore.nn.Dropout2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Dropout2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Dropout3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.Dropout3d.html#torch.nn.Dropout3d) | [mindspore.nn.Dropout3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Dropout3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ELU](https://pytorch.org/docs/1.8.1/generated/torch.nn.ELU.html) | [mindspore.nn.ELU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ELU.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Flatten](https://pytorch.org/docs/1.8.1/generated/torch.nn.Flatten.html) | [mindspore.nn.Flatten](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Flatten.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.GaussianNLLLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.GaussianNLLLoss.html)     | [mindspore.nn.GaussianNLLLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.GaussianNLLLoss.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GaussianNLLLoss.html) |
| [torch.nn.GELU](https://pytorch.org/docs/1.8.1/generated/torch.nn.GELU.html) | [mindspore.nn.GELU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.GELU.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GELU.html) |
| [torch.nn.GRU](https://pytorch.org/docs/1.8.1/generated/torch.nn.GRU.html#torch.nn.GRU) | [mindspore.nn.GRU](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.GRU.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GRU.html) |
| [torch.nn.GRUCell](https://pytorch.org/docs/1.8.1/generated/torch.nn.GRUCell.html) | [mindspore.nn.GRUCell](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.GRUCell.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GRUCell.html)   |
| [torch.nn.GroupNorm](https://pytorch.org/docs/1.8.1/generated/torch.nn.GroupNorm.html) | [mindspore.nn.GroupNorm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.GroupNorm.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GroupNorm.html)  |
| [torch.nn.Hardshrink](https://pytorch.org/docs/1.8.1/generated/torch.nn.Hardshrink.html#torch.nn.Hardshrink) | [mindspore.nn.HShrink](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.HShrink.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/HShrink.html)  |
| [torch.nn.Hardsigmoid](https://pytorch.org/docs/1.8.1/generated/torch.nn.Hardsigmoid.html) | [mindspore.nn.Hsigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.HSigmoid.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.Hardswish](https://pytorch.org/docs/1.8.1/generated/torch.nn.Hardswish.html) | [mindspore.nn.Hswish](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.HSwish.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Hardtanh](https://pytorch.org/docs/1.8.1/generated/torch.nn.Hardtanh.html) | [mindspore.nn.Hardtanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Hardtanh.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.HingeEmbeddingLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.HingeEmbeddingLoss.html) | [mindspore.nn.HingeEmbeddingLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.HingeEmbeddingLoss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.HuberLoss](https://pytorch.org/docs/stable/generated/torch.nn.HuberLoss.html)                 | [mindspore.nn.HuberLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.HuberLoss.html)           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Identity](https://pytorch.org/docs/1.8.1/generated/torch.nn.Identity.html) | [mindspore.nn.Identity](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Identity.html)  |  The functions are consistent, but the parameter names are inconsistent.|
| [torch.nn.init.uniform_](https://pytorch.org/docs/1.8.1/nn.init.html#torch.nn.init.uniform_)   | [mindspore.ops.uniform](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.uniform.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Uniform.html) |
| [torch.nn.InstanceNorm1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.InstanceNorm1d.html) | [mindspore.nn.InstanceNorm1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.InstanceNorm1d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/InstanceNorm1d.html)    |
| [torch.nn.InstanceNorm2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.InstanceNorm2d.html) | [mindspore.nn.InstanceNorm2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.InstanceNorm2d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/InstanceNorm2d.html)    |
| [torch.nn.InstanceNorm3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.InstanceNorm3d.html) | [mindspore.nn.InstanceNorm3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.InstanceNorm3d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/InstanceNorm3d.html)|
| [torch.nn.KLDivLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.KLDivLoss.html) | [mindspore.nn.KLDivLoss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.KLDivLoss.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.L1Loss](https://pytorch.org/docs/1.8.1/generated/torch.nn.L1Loss.html#torch.nn.L1Loss) | [mindspore.nn.L1Loss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.L1Loss.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.LayerNorm](https://pytorch.org/docs/1.8.1/generated/torch.nn.LayerNorm.html) | [mindspore.nn.LayerNorm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LayerNorm.html) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LayerNorm.html) |
| [torch.nn.LeakyReLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.LeakyReLU.html)| [mindspore.nn.LeakyReLU](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LeakyReLU.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LeakyReLU.html)  |
| [torch.nn.LPPool1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.LPPool1d.html)                   | [mindspore.nn.LPPool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LPPool1d.html)                      | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.LPPool2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.LPPool2d.html)                   | [mindspore.nn.LPPool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LPPool2d.html)                      | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.LSTM](https://pytorch.org/docs/1.8.1/generated/torch.nn.LSTM.html) | [mindspore.nn.LSTM](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LSTM.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LSTM.html) |
| [torch.nn.LSTMCell](https://pytorch.org/docs/1.8.1/generated/torch.nn.LSTMCell.html?torch.nn.LSTMCell) | [mindspore.nn.LSTMCell](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LSTMCell.html) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LSTMCell.html) |
| [torch.nn.Linear](https://pytorch.org/docs/1.8.1/generated/torch.nn.Linear.html) | [mindspore.nn.Dense](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Dense.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Dense.html) |
| [torch.nn.LocalResponseNorm](https://pytorch.org/docs/1.8.1/generated/torch.nn.LocalResponseNorm.html) | [mindspore.nn.LRN](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LRN.html) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LRN.html) |
| [torch.nn.LogSigmoid](https://pytorch.org/docs/1.8.1/generated/torch.nn.LogSigmoid.html) | [mindspore.nn.LogSigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LogSigmoid.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.LogSoftMax](https://pytorch.org/docs/1.8.1/generated/torch.nn.LogSoftmax.html) | [mindspore.nn.LogSoftMax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LogSoftmax.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.MSELoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.MSELoss.html) | [mindspore.nn.MSELoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MSELoss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.MarginRankingLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.MarginRankingLoss.html) | [mindspore.nn.MarginRankingLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MarginRankingLoss.html)    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.MaxPool1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.MaxPool1d.html) | [mindspore.nn.MaxPool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MaxPool1d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MaxPool1d.html) |
| [torch.nn.MaxPool2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.MaxPool2d.html) | [mindspore.nn.MaxPool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MaxPool2d.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MaxPool2d.html) |
| [torch.nn.MaxPool3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.MaxPool3d.html)                 | [mindspore.nn.MaxPool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MaxPool3d.html)                    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MaxPool3d.html)|
| [torch.nn.MaxUnpool1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.MaxUnpool1d.html)                 | [mindspore.nn.MaxUnpool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MaxUnpool1d.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.MaxUnpool2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.MaxUnpool2d.html)                 | [mindspore.nn.MaxUnpool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MaxUnpool2d.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.MaxUnpool3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.MaxUnpool3d.html)                 | [mindspore.nn.MaxUnpool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MaxUnpool3d.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.ModuleDict](https://pytorch.org/docs/1.8.1/nn.html#torch.nn.ModuleDict) | [mindspore.nn.CellDict](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.CellDict.html#mindspore.nn.CellDict) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CellDict.html) |
| [torch.nn.ModuleList](https://pytorch.org/docs/1.8.1/nn.html#torch.nn.ModuleList) | [mindspore.nn.CellList](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.CellList.html#mindspore.nn.CellList) | The functions are consistent, but the parameter names are inconsistent.  |
| [torch.nn.MultiheadAttention](https://pytorch.org/docs/1.8.1/generated/torch.nn.MultiheadAttention.html)| [mindspore.nn.MultiheadAttention](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MultiheadAttention.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MultiheadAttention.html) |
| [torch.nn.MultiLabelMarginLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.MultiLabelMarginLoss.html) | [mindspore.nn.MultiLabelMarginLoss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MultilabelMarginLoss.html)    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.MultiLabelSoftMarginLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.MultiLabelSoftMarginLoss.html)                 | [mindspore.nn.MultiLabelSoftMarginLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MultiLabelSoftMarginLoss.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.MultiMarginLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.MultiMarginLoss.html)                 | [mindspore.nn.MultiMarginLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.MultiMarginLoss.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.NLLLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.NLLLoss.html)                 | [mindspore.nn.NLLLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.NLLLoss.html)                    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/NLLLoss.html)  |
| [torch.nn.parameter.Parameter](https://pytorch.org/docs/1.8.1/generated/torch.nn.parameter.Parameter.html) | [mindspore.Parameter](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/mindspore.Parameter.html#mindspore.Parameter) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Parameter.html)|
| [torch.nn.PReLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.PReLU.html) | [mindspore.nn.PReLU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.PReLU.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/PReLU.html)  |
| [torch.nn.PixelShuffle](https://pytorch.org/docs/1.8.1/generated/torch.nn.PixelShuffle.html)                 | [mindspore.nn.PixelShuffle](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.PixelShuffle.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.PixelUnshuffle](https://pytorch.org/docs/1.8.1/generated/torch.nn.PixelUnshuffle.html)                 | [mindspore.nn.PixelUnshuffle](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.PixelUnshuffle.html)                    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.PoissonNLLLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.PoissonNLLLoss.html) | [mindspore.nn.PoissonNLLLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.PoissonNLLLoss.html)  |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ReflectionPad1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReflectionPad1d.html) | [mindspore.nn.ReflectionPad1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReflectionPad1d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ReflectionPad2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReflectionPad2d.html) | [mindspore.nn.ReflectionPad2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReflectionPad2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ReLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReLU.html) | [mindspore.nn.ReLU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReLU.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ReLU.html)   |
| [torch.nn.ReLU6](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReLU6.html) | [mindspore.nn.ReLU6](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReLU6.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ReplicationPad1d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReplicationPad1d.html) | [mindspore.nn.ReplicationPad1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReplicationPad1d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ReplicationPad2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReplicationPad2d.html) | [mindspore.nn.ReplicationPad2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReplicationPad2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.ReplicationPad3d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ReplicationPad3d.html) | [mindspore.nn.ReplicationPad3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ReplicationPad3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.RNN](https://pytorch.org/docs/1.8.1/generated/torch.nn.RNN.html) | [mindspore.nn.RNN](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.RNN.html) |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RNN.html)      |
| [torch.nn.RNNCell](https://pytorch.org/docs/1.8.1/generated/torch.nn.RNNCell.html) | [mindspore.nn.RNNCell](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.RNNCell.html) |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RNNCell.html)         |
| [torch.nn.RReLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.RReLU.html) | [mindspore.nn.RReLU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.RReLU.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.SeLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.SELU.html) | [mindspore.nn.SeLU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SeLU.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Sequential](https://pytorch.org/docs/1.8.1/generated/torch.nn.Sequential.html) | [mindspore.nn.SequentialCell](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SequentialCell.html) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SequentialCell.html)   |
| [torch.nn.Sigmoid](https://pytorch.org/docs/1.8.1/generated/torch.nn.Sigmoid.html) | [mindspore.nn.Sigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Sigmoid.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Sigmoid.html) |
| [torch.nn.SiLU](https://pytorch.org/docs/1.8.1/generated/torch.nn.SiLU.html) | [mindspore.nn.SiLU](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SiLU.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.SmoothL1Loss](https://pytorch.org/docs/1.8.1/generated/torch.nn.SmoothL1Loss.html) | [mindspore.nn.SmoothL1Loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SmoothL1Loss.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SmoothL1Loss.html)  |
| [torch.nn.SoftMarginLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.SoftMarginLoss.html) | [mindspore.nn.SoftMarginLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SoftMarginLoss.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.nn.Softmax](https://pytorch.org/docs/1.8.1/generated/torch.nn.Softmax.html) | [mindspore.nn.Softmax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Softmax.html) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/nn_Softmax.html) |
| [torch.nn.Softmin](https://pytorch.org/docs/1.8.1/generated/torch.nn.Softmin.html) | [mindspore.nn.Softmin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Softmin.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/softmin.html) |
| [torch.nn.Softmax2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.Softmax2d.html) | [mindspore.nn.Softmax2d]( https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Softmax2d.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Softshrink](https://pytorch.org/docs/1.8.1/generated/torch.nn.Softshrink.html) | [mindspore.nn.SoftShrink](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SoftShrink.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SoftShrink.html)   |
| [torch.nn.Softsign](https://pytorch.org/docs/1.8.1/generated/torch.nn.Softsign.html) | [mindspore.nn.Softsign](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Softsign.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.SyncBatchNorm](https://pytorch.org/docs/1.8.1/generated/torch.nn.SyncBatchNorm.html) | [mindspore.nn.SyncBatchNorm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SyncBatchNorm.html) |     [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SyncBatchNorm.html)                  |
| [torch.nn.Tanh](https://pytorch.org/docs/1.8.1/generated/torch.nn.Tanh.html) | [mindspore.nn.Tanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Tanh.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Tanh.html) |
| [torch.nn.Tanhshrink](https://pytorch.org/docs/1.8.1/generated/torch.nn.Tanhshrink.html) | [mindspore.nn.Tanhshrink](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Tanhshrink.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Threshold](https://pytorch.org/docs/1.8.1/generated/torch.nn.Threshold.html) | [mindspore.nn.Threshold](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Threshold.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.Transformer](https://pytorch.org/docs/1.8.1/generated/torch.nn.Transformer.html)| [mindspore.nn.Transformer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Transformer.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Transformer.html) |
| [torch.nn.TransformerDecoder](https://pytorch.org/docs/1.8.1/generated/torch.nn.TransformerDecoder.html)| [mindspore.nn.TransformerDecoder](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.TransformerDecoder.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TransformerDecoder.html) |
| [torch.nn.TransformerEncoder](https://pytorch.org/docs/1.8.1/generated/torch.nn.TransformerEncoder.html)| [mindspore.nn.TransformerEncoder](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.TransformerEncoder.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TransformerEncoder.html) |
| [torch.nn.TransformerDecoderLayer](https://pytorch.org/docs/1.8.1/generated/torch.nn.TransformerDecoderLayer.html)| [mindspore.nn.TransformerDecoderLayer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.TransformerDecoderLayer.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TransformerDecoderLayer.html)|
| [torch.nn.TransformerEncoderLayer](https://pytorch.org/docs/1.8.1/generated/torch.nn.TransformerEncoderLayer.html)| [mindspore.nn.TransformerEncoderLayer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.TransformerEncoderLayer.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TransformerEncoderLayer.html)|
| [torch.nn.TripletMarginLoss](https://pytorch.org/docs/1.8.1/generated/torch.nn.TripletMarginLoss.html) | [mindspore.nn.TripletMarginLoss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.TripletMarginLoss.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TripletMarginLoss.html) |
| [torch.nn.Unflatten](https://pytorch.org/docs/1.8.1/generated/torch.nn.Unflatten.html) | [mindspore.nn.Unflatten](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Unflatten.html)  |The functions are consistent, but the parameter names are inconsistent.|
| [torch.nn.Unfold](https://pytorch.org/docs/1.8.1/generated/torch.nn.Unfold.html) | [mindspore.nn.Unfold](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Unfold.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Unfold.html) |
| [torch.nn.Upsample](https://pytorch.org/docs/1.8.1/generated/torch.nn.Upsample.html) | [mindspore.nn.Upsample](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Upsample.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/interpolate.html) |
| [torch.nn.ZeroPad2d](https://pytorch.org/docs/1.8.1/generated/torch.nn.ZeroPad2d.html) | [mindspore.nn.ZeroPad2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ZeroPad2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |

## torch.nn.functional

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.nn.functional.adaptive_avg_pool1d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.adaptive_avg_pool1d)   | [mindspore.ops.adaptive_avg_pool1d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.adaptive_avg_pool1d.html)                             | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AdaptiveAvgPool1d.html) |
| [torch.nn.functional.adaptive_avg_pool2d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.adaptive_avg_pool2d)   | [mindspore.ops.adaptive_avg_pool2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.adaptive_avg_pool2d.html)                             | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.adaptive_avg_pool3d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.adaptive_avg_pool3d)   | [mindspore.ops.adaptive_avg_pool3d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.adaptive_avg_pool3d.html)                             | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.adaptive_max_pool1d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.adaptive_max_pool1d)   | [mindspore.ops.adaptive_max_pool1d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.adaptive_max_pool1d.html)                             | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AdaptiveMaxPool1d.html) |
| [torch.nn.functional.adaptive_max_pool2d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.adaptive_max_pool2d)   | [mindspore.ops.adaptive_max_pool2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.adaptive_max_pool2d.html)                             | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.affine_grid](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.affine_grid)   | [mindspore.ops.affine_grid](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.affine_grid.html)     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.avg_pool1d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.avg_pool1d)   | [mindspore.ops.avg_pool1d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.avg_pool1d.html)                             | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/avg_pool1d.html) |
| [torch.nn.functional.avg_pool2d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.avg_pool2d)   | [mindspore.ops.avg_pool2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.avg_pool2d.html)                             | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/avg_pool1d.html) |
| [torch.nn.functional.avg_pool3d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.avg_pool3d)   | [mindspore.ops.avg_pool3d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.avg_pool3d.html)                             | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/avg_pool1d.html) |
| [torch.nn.functional.batch_norm](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.batch_norm)   | [mindspore.ops.batch_norm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.batch_norm.html)                             | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.bilinear](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.bilinear) | [mindspore.ops.bidense](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.bidense.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.binary_cross_entropy](https://pytorch.org/docs/1.8.1/nn.functional.html#binary-cross-entropy)   | [mindspore.ops.binary_cross_entropy](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.binary_cross_entropy.html)         | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.binary_cross_entropy_with_logits](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.binary_cross_entropy_with_logits)   | [mindspore.ops.binary_cross_entropy_with_logits](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.binary_cross_entropy_with_logits.html)                             | The functions are consistent, but the parameter names are inconsistent.  |
| [torch.nn.functional.celu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.celu)                 | [mindspore.ops.celu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.celu.html)                    | The functions are consistent, but the parameter names are inconsistent.|
| [torch.nn.functional.conv1d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.conv1d) | [mindspore.ops.conv1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.conv1d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.conv2d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.conv2d) | [mindspore.ops.conv2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.conv2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.conv3d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.conv3d) | [mindspore.ops.conv3d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.conv3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.cosine_embedding_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.cosine_embedding_loss) | [mindspore.ops.cosine_embedding_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cosine_embedding_loss.html) |  The functions are consistent   |
| [torch.nn.functional.cosine_similarity](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.cosine_similarity)| [mindspore.ops.cosine_similarity](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cosine_similarity.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.cross_entropy](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.cross_entropy)| [mindspore.ops.cross_entropy](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.cross_entropy.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.ctc_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.ctc_loss)| [mindspore.ops.ctc_loss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ctc_loss.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.linear](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.linear) | [mindspore.ops.dense](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.dense.html#mindspore.ops.dense) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.dropout](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.dropout) | [mindspore.ops.dropout](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.dropout.html#mindspore.ops.dropout) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/drop_out.html) |
| [torch.nn.functional.dropout2d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.dropout2d) | [mindspore.ops.dropout2d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.dropout2d.html#mindspore.ops.dropout2d) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/dropout2d.html) |
| [torch.nn.functional.dropout3d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.dropout3d) | [mindspore.ops.dropout3d](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.dropout3d.html#mindspore.ops.dropout3d) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/dropout3d.html) |
| [torch.nn.functional.elu](https://pytorch.org/docs/1.8.1/nn.functional.html#elu) | [mindspore.ops.elu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.elu.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/elu.html)  |
| [torch.nn.functional.fold](https://pytorch.org/docs/1.8.1/nn.functional.html#fold) | [mindspore.ops.fold](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.fold.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/mindspore.ops.fold.html) |
| [torch.nn.functional.gelu](https://pytorch.org/docs/1.8.1/nn.functional.html#gelu) | [mindspore.ops.gelu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.gelu.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/mindspore.ops.gelu.html) |
| [torch.nn.functional.glu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.glu) | [mindspore.ops.glu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.glu.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.grid_sample](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.grid_sample) | [mindspore.ops.grid_sample](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.grid_sample.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/grid_sample.html) |
| [torch.nn.functional.gumbel_softmax](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.gumbel_softmax) | [mindspore.ops.gumbel_softmax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.gumbel_softmax.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.hardshrink](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.hardshrink) | [mindspore.ops.hardshrink](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hardshrink.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.hardsigmoid](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.hardsigmoid) | [mindspore.ops.hardsigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hardsigmoid.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.hardswish](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.hardswish) | [mindspore.ops.hardswish](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hardswish.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.hardtanh](https://pytorch.org/docs/1.8.1/nn.functional.html#hardtanh) | [mindspore.ops.hardtanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hardtanh.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.hinge_embedding_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#hinge-embedding-loss) | [mindspore.ops.hinge_embedding_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.hinge_embedding_loss.html) |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.nn.functional.interpolate](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.interpolate)      | [mindspore.ops.interpolate](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.interpolate.html)    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/interpolate.html)  |
| [torch.nn.functional.kl_div](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.kl_div)                             | [mindspore.ops.kl_div](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.kl_div.html#mindspore.ops.kl_div)  | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/kl_div.html) |
| [torch.nn.functional.l1_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#l1-loss) | [mindspore.ops.l1_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.l1_loss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.leaky_relu](https://pytorch.org/docs/1.8.1/nn.functional.html#leaky-relu) | [mindspore.ops.leaky_relu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.leaky_relu.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/leaky_relu.html) |
| [torch.nn.functional.logsigmoid](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.logsigmoid) | [mindspore.ops.logsigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.logsigmoid.html) |  The functions are consistent, but the parameter names are inconsistent.   |
| [torch.nn.functional.log_softmax](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.log_softmax) | [mindspore.ops.log_softmax](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.log_softmax.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/log_softmax.html)      |
| [torch.nn.functional.lp_pool1d](https://pytorch.org/docs/1.8.1/nn.functional.html#lp-pool1d)                     | [mindspore.ops.lp_pool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lp_pool1d.html)           | The functions are consistent, but the parameter names are inconsistent.|
| [torch.nn.functional.lp_pool2d](https://pytorch.org/docs/1.8.1/nn.functional.html#lp-pool2d)                     | [mindspore.ops.lp_pool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.lp_pool2d.html)           | The functions are consistent, but the parameter names are inconsistent.|
| [torch.nn.functional.margin_ranking_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#margin-ranking-loss) | [mindspore.ops.margin_ranking_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.margin_ranking_loss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.max_pool3d](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.max_pool3d) | [mindspore.ops.max_pool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.max_pool3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.max_unpool1d](https://pytorch.org/docs/1.8.1/nn.functional.html#max-unpool1d) | [mindspore.ops.max_unpool1d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.max_unpool1d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.max_unpool2d](https://pytorch.org/docs/1.8.1/nn.functional.html#max-unpool2d) | [mindspore.ops.max_unpool2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.max_unpool2d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.max_unpool3d](https://pytorch.org/docs/1.8.1/nn.functional.html#max-unpool3d) | [mindspore.ops.max_unpool3d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.max_unpool3d.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.mse_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#mse-loss)                           | [mindspore.ops.mse_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.mse_loss.html)            |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.nn.functional.multi_margin_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.multi_margin_loss) | [mindspore.ops.multi_margin_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.multi_margin_loss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.multilabel_margin_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.multilabel_margin_loss) | [mindspore.ops.multilabel_margin_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.multilabel_margin_loss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.multilabel_soft_margin_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.multilabel_soft_margin_loss) | [mindspore.ops.multilabel_soft_margin_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.multilabel_soft_margin_loss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.nll_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.nll_loss) | [mindspore.ops.nll_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.nll_loss.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.pad](https://pytorch.org/docs/1.8.1/nn.functional.html#pad)                                | [mindspore.ops.pad](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.pad.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/pad.html) |
| [torch.nn.functional.pdist](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.pdist)| [mindspore.ops.pdist](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.pdist.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.nn.functional.pixel_shuffle](https://pytorch.org/docs/1.8.1/nn.functional.html#pixel-shuffle) | [mindspore.ops.pixel_shuffle](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.pixel_shuffle.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.pixel_unshuffle](https://pytorch.org/docs/1.8.1/nn.functional.html#pixel-unshuffle) | [mindspore.ops.pixel_unshuffle](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.pixel_unshuffle.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.prelu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.prelu) | [mindspore.ops.prelu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.prelu.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.relu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.relu) | [mindspore.ops.relu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.relu.html) |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.nn.functional.relu6](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.relu6) | [mindspore.ops.relu6](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.relu6.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.rrelu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.rrelu) | [mindspore.ops.rrelu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.rrelu.html) |  The functions are consistent, but the parameter names are inconsistent.   |
| [torch.nn.functional.selu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.selu) | [mindspore.ops.selu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.selu.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.sigmoid](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.sigmoid) | [mindspore.ops.sigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.sigmoid.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.silu](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.silu) | [mindspore.ops.silu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.silu.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.softmax](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.softmax) | [mindspore.ops.softmax](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.softmax.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/softmax.html) |
| [torch.nn.functional.softmin](https://pysoftmaxtorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.softmin) | [mindspore.ops.softmin](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.softmin.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/softmin.html) |
| [torch.nn.functional.softsign](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.softsign) | [mindspore.ops.softsign](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.softsign.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.smooth_l1_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.smooth_l1_loss)           | [mindspore.ops.smooth_l1_loss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.smooth_l1_loss.html)                                              | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.nn.functional.soft_margin_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#soft-margin-loss)                           | [mindspore.ops.soft_margin_loss](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.soft_margin_loss.html)                           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.softshrink](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.softshrink) | [mindspore.ops.softshrink](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.softshrink.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.tanh](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.tanh) | [mindspore.ops.tanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tanh.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.tanhshrink](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.tanhshrink) | [mindspore.ops.tanhshrink](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tanhshrink.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.nn.functional.threshold](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.threshold) | [mindspore.ops.threshold](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.threshold.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.nn.functional.triplet_margin_loss](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.triplet_margin_loss) | [mindspore.ops.triplet_margin_loss](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.triplet_margin_loss.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TripletMarginLoss.html) |
| [torch.nn.functional.unfold](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.unfold) | [mindspore.ops.unfold](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.unfold.html) | Consistent |
| [torch.nn.functional.upsample](https://pytorch.org/docs/1.8.1/nn.functional.html#torch.nn.functional.upsample) | [mindspore.ops.upsample](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.upsample.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/interpolate.html) |

## torch.nn.Module

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| [torch.nn.Module.apply](https://pytorch.org/docs/1.8.1/generated/torch.nn.Module.html#torch.nn.Module.apply) | [mindspore.nn.Cell.apply](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Cell.html#mindspore.nn.Cell.apply) |      Consistent     |

## torch.nn.utils

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
|[torch.nn.utils.clip_grad_value_](https://pytorch.org/docs/1.8.1/generated/torch.nn.utils.clip_grad_value_.html)                   |[mindspore.ops.clip_by_value](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.clip_by_value.html)                           |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/clip_by_value.html)    |
|[torch.nn.utils.clip_grad_norm_](https://pytorch.org/docs/1.8.1/generated/torch.nn.utils.clip_grad_norm_.html)                   |[mindspore.ops.clip_by_norm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.clip_by_norm.html)                           |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/clip_by_norm.html)    |

## torch.Tensor

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                |
| ------------------------------------------------------------ | ------------------------------------------------------------ |---------------------------------------------|
| [torch.Tensor.abs](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.abs)                              | [mindspore.Tensor.abs](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.abs.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.absolute](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.absolute)  | [mindspore.Tensor.absolute](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.absolute.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.acos](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.acos)| [mindspore.Tensor.acos](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.acos.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.acosh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.acosh)| [mindspore.Tensor.acosh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.acosh.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.add](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.add)| [mindspore.Tensor.add](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.add.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.addbmm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.addbmm)                              | [mindspore.Tensor.addbmm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.addbmm.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.addcdiv](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.addcdiv)| [mindspore.Tensor.addcdiv](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.addcdiv.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.addcmul](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.addcmul)| [mindspore.Tensor.addcmul](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.addcmul.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.addmm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.addmm)                                | [mindspore.Tensor.addmm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.addmm.html) |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.addmv](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.addmv)                                | [mindspore.Tensor.addmv](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.addmv.html)                         |  The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.addr](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.addr) | [mindspore.Tensor.addr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.addr.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.all](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.all)                                | [mindspore.Tensor.all](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.all.html) |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/all.html) |
| [torch.Tensor.amax](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.amax)                                | [mindspore.Tensor.amax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.amax.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/amax.html) |
| [torch.Tensor.amin](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.amin)                                | [mindspore.Tensor.amin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.amin.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/amin.html) |
| [torch.Tensor.any](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.any)                                | [mindspore.Tensor.any](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.any.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/any.html) |
| [torch.Tensor.arccos](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.arccos)                     | [mindspore.Tensor.arccos](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.arccos.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.arccosh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.arccosh)                     | [mindspore.Tensor.arccosh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.arccosh.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.argmax](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.argmax) | [mindspore.Tensor.argmax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.argmax.html#mindspore.Tensor.argmax) |  The functions are consistent, but the parameter names are inconsistent.  |
| [torch.Tensor.angle](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.angle)                     | [mindspore.Tensor.angle](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.angle.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.arcsin](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.arcsin)                       | [mindspore.Tensor.arcsin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.arcsin.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.arcsinh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.arcsinh)                     | [mindspore.Tensor.arcsinh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.arcsinh.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.arctan](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.arctan)                       | [mindspore.Tensor.arctan](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.arctan.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.arctanh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.arctanh)                     | [mindspore.Tensor.arctanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.arctanh.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.argmin](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.argmin)                     | [mindspore.Tensor.argmin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.argmin.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                     |
| [torch.Tensor.argsort](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.argsort)                     | [mindspore.Tensor.argsort](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.argsort.html)                     |The functions are consistent, but the parameter names are inconsistent.|
| [torch.Tensor.asin](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.asin)| [mindspore.Tensor.asin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.asin.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.asinh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.asinh)| [mindspore.Tensor.asinh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.asinh.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.atan](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.atan)| [mindspore.Tensor.atan](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.atan.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.atan2](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.atan2)                     | [mindspore.Tensor.atan2](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.atan2.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                     |
| [torch.Tensor.atanh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.atanh)| [mindspore.Tensor.atanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.atanh.html)|[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.baddbmm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.baddbmm)                     | [mindspore.Tensor.baddbmm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.baddbmm.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.bernoulli](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bernoulli) | [mindspore.Tensor.bernoulli](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bernoulli.html) | [The functions are consistent, but the number or sequence of parameters is inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/bernoulli.html) |
| [torch.Tensor.bincount](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bincount)                     | [mindspore.Tensor.bincount](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bincount.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.bitwise_and](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bitwise_and)| [mindspore.Tensor.bitwise_and](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bitwise_and.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.bitwise_or](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bitwise_or)| [mindspore.Tensor.bitwise_or](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bitwise_or.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.bitwise_xor](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bitwise_xor)| [mindspore.Tensor.bitwise_xor](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bitwise_xor.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.bmm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bmm)| [mindspore.Tensor.bmm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bmm.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.bool](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.bool)| [mindspore.Tensor.bool](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.bool.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.broadcast_to](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.broadcast_to) | [mindspore.Tensor.broadcast_to](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.broadcast_to.html)                         |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/broadcast_to.html)     |
| [torch.Tensor.cauchy_](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cauchy_)              | [mindspore.Tensor.cauchy](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cauchy.html)                                        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.ceil](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ceil)                     | [mindspore.Tensor.ceil](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ceil.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                      |
| [torch.Tensor.chunk](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.chunk)                     | [mindspore.Tensor.chunk](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.chunk.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                        |
| [torch.Tensor.cholesky](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cholesky) | [mindspore.Tensor.cholesky](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cholesky.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.cholesky_solve](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cholesky_solve) | [mindspore.Tensor.cholesky_solve](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cholesky_solve.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.clamp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.clamp)                         | [mindspore.Tensor.clamp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.clamp.html)                         |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.clip](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.clip)                           | [mindspore.Tensor.clip](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.clip.html)                           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.conj](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.conj)                   | [mindspore.Tensor.conj](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.conj.html)                   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.contiguous](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.contiguous)                   | [mindspore.Tensor.contiguous](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.contiguous.html)                   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.copysign](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.copysign)                   | [mindspore.Tensor.copysign](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.copysign.html)                   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)               |
| [torch.Tensor.cos](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cos)                     | [mindspore.Tensor.cos](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cos.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.cosh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cosh)                   | [mindspore.Tensor.cosh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cosh.html)                   | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)               |
| [torch.Tensor.cross](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cross)                     | [mindspore.Tensor.cross](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cross.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)               |
| [torch.Tensor.cummax](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cummax)                   | [mindspore.Tensor.cummax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cummax.html)                   | The functions are consistent, but the parameter names are inconsistent.     |
| [torch.Tensor.cummin](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cummin)                   | [mindspore.Tensor.cummin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cummin.html)                   | The functions are consistent, but the parameter names are inconsistent.     |
| [torch.Tensor.cumprod](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cumprod) | [mindspore.Tensor.cumprod](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cumprod.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.cumsum](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.cumsum) | [mindspore.Tensor.cumsum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.cumsum.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.deg2rad](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.deg2rad)                     | [mindspore.Tensor.deg2rad](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.deg2rad.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)               |
| [torch.Tensor.diag](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.diag) | [mindspore.Tensor.diag](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.diag.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/diag.html) |
| [torch.Tensor.diagonal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.diagonal)                       |  [mindspore.Tensor.diagonal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.diagonal.html)                                      |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.diagflat](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.diagflat)                     | [mindspore.Tensor.diagflat](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.diagflat.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)               |
| [torch.Tensor.diff](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.diff)                     | [mindspore.Tensor.diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.diff.html)                     | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.digamma](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.digamma)                     | [mindspore.Tensor.digamma](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.digamma.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.dim](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.dim) | [mindspore.Tensor.ndimension](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ndimension.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.div](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.div) | [mindspore.Tensor.div](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.div.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.divide](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.divide)                     | [mindspore.Tensor.divide](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.divide.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.eq](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.eq) | [mindspore.Tensor.equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.equal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.erf](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.erf)                     | [mindspore.Tensor.erf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.erf.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                              |
| [torch.Tensor.erfc](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.erfc)                     | [mindspore.Tensor.erfc](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.erfc.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                              |
| [torch.Tensor.erfinv](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.erfinv)                     | [mindspore.Tensor.erfinv](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.erfinv.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                              |
| [torch.Tensor.exp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.exp)                     | [mindspore.Tensor.exp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.exp.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                              |
| [torch.Tensor.expand](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.expand) | [mindspore.Tensor.broadcast_to](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.broadcast_to.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/expand.html) |
| [torch.Tensor.expand_as](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.expand_as) | [mindspore.Tensor.expand_as](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.expand_as.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.expm1](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.expm1)                     | [mindspore.Tensor.expm1](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.expm1.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                              |
| [torch.Tensor.fill_diagonal_](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.fill_diagonal_)                           | [mindspore.Tensor.fill_diagonal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.fill_diagonal.html)                           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.flip](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.flip)                           | [mindspore.Tensor.flip](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.flip.html)                           | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/flip.html)  |
| [torch.Tensor.fliplr](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.fliplr)                       | [mindspore.Tensor.fliplr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.fliplr.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.flipud](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.flipud)                       | [mindspore.Tensor.flipud](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.flipud.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.float](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.float) | [mindspore.Tensor.float](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.float.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.float_power](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.float_power)                       | [mindspore.Tensor.float_power](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.float_power.html)                       | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/float_power.html) |
| [torch.Tensor.floor](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.floor)                       | [mindspore.Tensor.floor](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.floor.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.floor_divide](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.floor_divide)                       | [mindspore.Tensor.floor_divide](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.floor_divide.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.fmax](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.fmax) | [mindspore.Tensor.fmax](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.fmax.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.fmod](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.fmod)                       | [mindspore.Tensor.fmod](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.fmod.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.frac](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.frac)                       | [mindspore.Tensor.frac](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.frac.html)                       | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.gather](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.gather)                       | [mindspore.Tensor.gather_elements](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.gather_elements.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.ge](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ge) | [mindspore.Tensor.ge](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ge.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.Tensor.geqrf](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.geqrf)                       | [mindspore.Tensor.geqrf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.geqrf.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.ger](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ger) | [mindspore.Tensor.ger](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ger.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ger.html) |
| [torch.Tensor.greater](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.greater) | [mindspore.Tensor.greater](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.greater.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.greater_equal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.greater_equal) | [mindspore.Tensor.greater_equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.greater_equal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.gt](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.gt) | [mindspore.Tensor.gt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.gt.html) | The functions are consistent, but the parameter names are inconsistent.   |
| [torch.Tensor.H](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.H)                       | [mindspore.Tensor.H](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.H.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.half](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.half) | [mindspore.Tensor.half](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.half.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.hardshrink](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.hardshrink) | [mindspore.Tensor.hardshrink](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.hardshrink.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.heaviside](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.heaviside)                       | [mindspore.Tensor.heaviside](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.heaviside.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.histc](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.histc)                       | [mindspore.Tensor.histc](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.histc.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.hypot](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.hypot)                       | [mindspore.Tensor.hypot](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.hypot.html)                       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.i0](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.i0)| [mindspore.Tensor.i0](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.i0.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.igamma](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.igamma)| [mindspore.Tensor.igamma](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.igamma.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.igammac](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.igammac)| [mindspore.Tensor.igammac](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.igammac.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.imag](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.imag)| [mindspore.Tensor.imag](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.imag.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.index_add](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.index_add) | [mindspore.Tensor.index_add](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.index_add.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.index_fill](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.index_fill) | [mindspore.Tensor.index_fill](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.index_fill.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.index_put](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.index_put) | [mindspore.Tensor.index_put](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.index_put.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.index_select](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.index_select) | [mindspore.Tensor.index_select](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.index_select.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.inner](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.inner)      | [mindspore.Tensor.inner](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.inner.html)    | The functions are consistent, but parameter names are different. |
| [torch.Tensor.int](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.int) | [mindspore.Tensor.int](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.int.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.inverse](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.inverse)                 | [mindspore.Tensor.inverse](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.inverse.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.isclose](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isclose)      | [mindspore.Tensor.isclose](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isclose.html)    | The functions are consistent, but parameter names are inconsistent. |
| [torch.Tensor.isfinite](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isfinite)      | [mindspore.Tensor.isfinite](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isfinite.html)    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.isinf](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isinf)      | [mindspore.Tensor.isinf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isinf.html)    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.isnan](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isnan)      | [mindspore.Tensor.isnan](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isnan.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.is_complex](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.is_complex) | [mindspore.Tensor.is_complex](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.is_complex.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.is_contiguous](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.is_contiguous) | [mindspore.Tensor.is_contiguous](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.is_contiguous.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.is_floating_point](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.is_floating_point) | [mindspore.Tensor.is_floating_point](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.is_floating_point.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.is_signed](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.is_signed)                 | [mindspore.Tensor.is_signed](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.is_signed.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.isneginf](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isneginf)                 | [mindspore.Tensor.isneginf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isneginf.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.isposinf](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isposinf)                 | [mindspore.Tensor.isposinf](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isposinf.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.isreal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.isreal)                 | [mindspore.Tensor.isreal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.isreal.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.item](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.item) | [mindspore.Tensor.item](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.item.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/item.html) |
| [torch.Tensor.lcm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.lcm)                             | [mindspore.Tensor.lcm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.lcm.html)                             | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)          |
| [torch.Tensor.ldexp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ldexp)                         | [mindspore.Tensor.ldexp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ldexp.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)            |
| [torch.Tensor.le](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.le) | [mindspore.Tensor.le](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.le.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.lerp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.lerp)                         | [mindspore.Tensor.lerp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.lerp.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)            |
| [torch.Tensor.less](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.less) | [mindspore.Tensor.less](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.less.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.less_equal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.less_equal) | [mindspore.Tensor.less_equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.less_equal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.log](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.log)                         | [mindspore.Tensor.log](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.log.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.log_normal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.log_normal)                         | [mindspore.Tensor.log_normal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.log_normal.html)                                              | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.log10](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.log10)                         | [mindspore.Tensor.log10](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.log10.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.log1p](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.log1p)                         | [mindspore.Tensor.log1p](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.log1p.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.log2](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.log2)                         | [mindspore.Tensor.log2](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.log2.html)                             | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.logaddexp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logaddexp)                   | [mindspore.Tensor.logaddexp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logaddexp.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.logaddexp2](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logaddexp2)                   | [mindspore.Tensor.logaddexp2](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logaddexp2.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.logcumsumexp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logcumsumexp)                   | [mindspore.Tensor.logcumsumexp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logcumsumexp.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.logdet](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logdet) | [mindspore.Tensor.logdet](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logdet.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.logical_and](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logical_and) | [mindspore.Tensor.logical_and](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logical_and.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.logical_not](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logical_not) | [mindspore.Tensor.logical_not](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logical_not.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.logical_or](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logical_or) | [mindspore.Tensor.logical_or](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logical_or.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.logical_xor](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logical_xor) | [mindspore.Tensor.logical_xor](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logical_xor.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.logit](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logit)| [mindspore.Tensor.logit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logit.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.logsumexp](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.logsumexp)                   | [mindspore.Tensor.logsumexp](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.logsumexp.html)                 | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.long](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.long) | [mindspore.Tensor.long](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.long.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.lt](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.lt)                   | [mindspore.Tensor.lt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.lt.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.lu_solve](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.lu_solve)                   | [mindspore.Tensor.lu_solve](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.lu_solve.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.masked_fill](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.masked_fill) | [mindspore.Tensor.masked_fill](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.masked_fill.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.masked_scatter](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.masked_scatter) | [mindspore.Tensor.masked_scatter](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.masked_scatter.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/masked_scatter.html) |
| [torch.Tensor.masked_select](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.masked_select) | [mindspore.Tensor.masked_select](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.masked_select.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.matmul](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.matmul) | [mindspore.Tensor.matmul](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.matmul.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.max](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.max)                       | [mindspore.Tensor.max](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.max.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/tensor_max.html) |
| [torch.Tensor.maximum](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.maximum) | [mindspore.Tensor.maximum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.maximum.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.mean](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.mean) | [mindspore.Tensor.mean](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.mean.html) | The functions are consistent, but parameter names are inconsistent. |
| [torch.Tensor.median](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.median) | [mindspore.Tensor.median](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.median.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/median.html) |
| [torch.Tensor.mH](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.mH)| [mindspore.Tensor.mH](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.mH.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.min](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.min) | [mindspore.Tensor.min](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.min.html#mindspore.Tensor.min) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/tensor_min.html) |
| [torch.Tensor.minimum](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.minimum)      | [mindspore.Tensor.minimum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.minimum.html)    | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.mm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.mm)| [mindspore.Tensor.mm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.mm.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.moveaxis](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.moveaxis) | [mindspore.Tensor.moveaxis](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.moveaxis.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.movedim](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.movedim) | [mindspore.Tensor.movedim](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.movedim.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.msort](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.msort) | [mindspore.Tensor.msort](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.msort.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.mT](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.mT)| [mindspore.Tensor.mT](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.mT.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.mul](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.mul) | [mindspore.Tensor.mul](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.mul.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.multinomial](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.multinomial) | [mindspore.Tensor.multinomial](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.multinomial.html) | [The functions are consistent, but the parameter default values are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/multinomial.html) |
| [torch.Tensor.multiply](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.multiply) | [mindspore.Tensor.multiply](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.multiply.html) |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.mvlgamma](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.mvlgamma) | [mindspore.Tensor.mvlgamma](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.mvlgamma.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.nan_to_num](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.nan_to_num) | [mindspore.Tensor.nan_to_num](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.nan_to_num.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.nanmedian](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.nanmedian) | [mindspore.Tensor.nanmedian](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.nanmedian.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.nansum](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.nansum) | [mindspore.Tensor.nansum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.nansum.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.narrow](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.narrow) | [mindspore.Tensor.narrow](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.narrow.html) | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.ndim](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ndim) | [mindspore.Tensor.ndim](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ndim.html#mindspore.Tensor.ndim) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.ndimension](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ndimension) | [mindspore.Tensor.ndimension](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ndimension.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.ne](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ne) | [mindspore.Tensor.ne](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ne.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.neg](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.neg)                   | [mindspore.Tensor.neg](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.neg.html)                 |   [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.negative](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.negative)                   | [mindspore.Tensor.negative](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.negative.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.nelement](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.nelement)                   | [mindspore.Tensor.nelement](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.nelement.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.new_ones](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.new_ones) | [mindspore.Tensor.new_ones](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.new_ones.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.new_zeros](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.new_zeros) | [mindspore.Tensor.new_zeros](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.new_zeros.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.nextafter](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.nextafter) | [mindspore.Tensor.nextafter](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.nextafter.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.norm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.norm) | [mindspore.Tensor.norm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.norm.html) | torch.Tensor.norm is about to be deprecated, mindspore.Tensor.norm is completely consistent with torch.linalg.norm |
| [torch.Tensor.nonzero](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.nonzero) | [mindspore.Tensor.nonzero](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.nonzero.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.not_equal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.not_equal)                   | [mindspore.Tensor.not_equal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.not_equal.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.numel](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.numel)                   | [mindspore.Tensor.numel](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.numel.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.numpy](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.numpy) | [mindspore.Tensor.asnumpy](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.asnumpy.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.orgqr](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.orgqr) | [mindspore.Tensor.orgqr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.orgqr.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.ormqr](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ormqr) | [mindspore.Tensor.ormqr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ormqr.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.outer](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.outer) | [mindspore.Tensor.outer](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.outer.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.permute](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.permute)                   | [mindspore.Tensor.permute](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.permute.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.pow](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.pow)                       | [mindspore.Tensor.pow](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.pow.html)                                         |The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.prod](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.prod)                       | [mindspore.Tensor.prod](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.prod.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/prod.html) |
| [torch.Tensor.ravel](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.ravel) | [mindspore.Tensor.ravel](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.ravel.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.real](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.real) | [mindspore.Tensor.real](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.real.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.reciprocal](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.reciprocal) | [mindspore.Tensor.reciprocal](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.reciprocal.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.remainder](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.remainder)                   | [mindspore.Tensor.remainder](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.remainder.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)                                       |
| [torch.Tensor.renorm](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.renorm) | [mindspore.Tensor.renorm](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.renorm.html) | [The functions are consistent, but the parameter data types are inconsistent.](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/renorm.html) |
| [torch.Tensor.rad2deg](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.rad2deg)                     | [mindspore.Tensor.rad2deg](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.rad2deg.html)                     | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)              |
| [torch.Tensor.repeat](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.repeat) | [mindspore.Tensor.tile](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.tile.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/tensor_repeat.html) |
| [torch.Tensor.repeat_interleave](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.repeat_interleave) | [mindspore.Tensor.repeat_interleave](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.repeat_interleave.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.reshape](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.reshape)               | [mindspore.Tensor.reshape](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.reshape.html)               | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.reshape_as](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.reshape_as)               | [mindspore.Tensor.reshape_as](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.reshape_as.html)               | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.round](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.round)| [mindspore.Tensor.round](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.round.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.roll](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.roll)                         | [mindspore.Tensor.roll](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.roll.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.rot90](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.rot90)                         | [mindspore.Tensor.rot90](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.rot90.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.rsqrt](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.rsqrt)                           | [mindspore.Tensor.rsqrt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.rsqrt.html)                           |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)  |
| [torch.Tensor.scatter_](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.scatter_)                        | [mindspore.ops.tensor_scatter_elements](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.tensor_scatter_elements.html)                    |[diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/tensor_scatter_elements.html)   |
| [torch.Tensor.sum_to_size](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sum_to_size) | [mindspore.Tensor.sum_to_size](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sum_to_size.html)                  | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.scatter](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.scatter) | [mindspore.Tensor.scatter](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.scatter.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/scatter.html) |
| [torch.Tensor.sgn](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sgn)                           | [mindspore.Tensor.sgn](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sgn.html)                           |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.shape](https://pytorch.org/docs/2.1/generated/torch.Tensor.shape.html#torch.Tensor.shape) | [mindspore.Tensor.shape](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.shape.html#mindspore.Tensor.shape)|[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.short](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.short)                         | [mindspore.Tensor.short](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.short.html)                         | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.sigmoid](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sigmoid)               | [mindspore.Tensor.sigmoid](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sigmoid.html)       | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.sign](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sign)                           | [mindspore.Tensor.sign](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sign.html)                           |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.signbit](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.signbit)                           | [mindspore.Tensor.signbit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.signbit.html)                           |[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)   |
| [torch.Tensor.sin](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sin)| [mindspore.Tensor.sin](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sin.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.sinc](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sinc)| [mindspore.Tensor.sinc](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sinc.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.sinh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sinh)| [mindspore.Tensor.sinh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sinh.html)|[Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.size](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.size) | [mindspore.Tensor.shape](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.shape.html#mindspore.Tensor.shape) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/shape.html)|
| [torch.Tensor.slogdet](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.slogdet)           | [mindspore.Tensor.slogdet](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.slogdet.html)           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.sort](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sort) | [mindspore.Tensor.sort](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sort.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.split](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.split)                         | [mindspore.Tensor.split](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.split.html)                         | The functions are consistent, but the parameter names are inconsistent. The split_size parameter is split_size_or_sections in MindSpore. |
| [torch.Tensor.sqrt](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sqrt) | [mindspore.Tensor.sqrt](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sqrt.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.square](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.square)| [mindspore.Tensor.square](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.square.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.squeeze](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.squeeze) | [mindspore.Tensor.squeeze](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.squeeze.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.std](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.std) | [mindspore.Tensor.std](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.std.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/std.html) |
| [torch.Tensor.storage_offset](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.storage_offset) | [mindspore.Tensor.storage_offset](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.storage_offset.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.stride](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.stride) | [mindspore.Tensor.stride](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.stride.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.sub](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sub) | [mindspore.Tensor.subtract](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.subtract.html)                  | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.subtract](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.subtract) | [mindspore.Tensor.subtract](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.subtract.html)                  | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.sum](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.sum) | [mindspore.Tensor.sum](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.sum.html#mindspore.Tensor.sum) | [The functions are consistent, but the number or sequence of parameters is inconsistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TensorSum.html) |  
| [torch.Tensor.svd](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.svd) | [mindspore.Tensor.svd](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.svd.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/svd.html) |
| [torch.Tensor.swapaxes](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.swapaxes) | [mindspore.Tensor.swapaxes](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.swapaxes.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.swapdims](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.swapdims) | [mindspore.Tensor.swapdims](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.swapdims.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.T](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.T)                           | [mindspore.Tensor.T](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.T.html)        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.t](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.t)                           | [mindspore.Tensor.t](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.t.html)        | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.take](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.take)                           | [mindspore.Tensor.take](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.take.html)        | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/take.html) |
| [torch.Tensor.tan](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.tan)| [mindspore.Tensor.tan](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.tan.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.tanh](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.tanh) | [mindspore.Tensor.tanh](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.tanh.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.trace](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.trace) | [mindspore.Tensor.trace](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.trace.html) |    [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.transpose](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.transpose) | [mindspore.Tensor.swapaxes](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.swapaxes.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.tile](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.tile) | [mindspore.Tensor.tile](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.tile.html) | the functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.to](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.to)| [mindspore.Tensor.to](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.to.html)| [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/to.html) |
| [torch.Tensor.topk](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.topk)| [mindspore.Tensor.topk](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.topk.html)| [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.triu](https://pytorch.org/docs/1.8.1/tensors.html?#torch.Tensor.triu)           | [mindspore.Tensor.triu](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.triu.html)           | The functions are consistent, but the parameter names are inconsistent.|
| [torch.Tensor.tril](https://pytorch.org/docs/1.8.1/tensors.html?highlight=tril#torch.Tensor.tril) | [mindspore.Tensor.tril](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.tril.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.tensor_split](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.tensor_split)           | [mindspore.Tensor.tensor_split](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.tensor_split.html)           |The functions are consistent, but the parameter names are inconsistent.|
| [torch.Tensor.true_divide](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.true_divide) | [mindspore.Tensor.true_divide](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.true_divide.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.trunc](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.trunc) | [mindspore.Tensor.trunc](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.trunc.html) |  [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.unbind](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.unbind)                 | [mindspore.Tensor.unbind](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.unbind.html)                 | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.unique_consecutive](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.unique_consecutive)                 | [mindspore.Tensor.unique_consecutive](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.unique_consecutive.html)                 | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.unsqueeze](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.unsqueeze)           | [mindspore.Tensor.unsqueeze](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.unsqueeze.html)           | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions)|
| [torch.Tensor.var](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.var) | [mindspore.Tensor.var](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.var.html) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/var.html) |
| [torch.Tensor.view](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.view) | [mindspore.Tensor.view](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.view.html) | The functions are consistent |
| [torch.Tensor.view_as](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.view_as) | [mindspore.Tensor.view_as](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.view_as.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.where](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.where) | [mindspore.Tensor.where](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.where.html) | [Consistent](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_api_mapping.html#api-mapping-consistency-criteria-and-exceptions) |
| [torch.Tensor.xlogy](https://pytorch.org/docs/1.8.1/tensors.html#torch.Tensor.xlogy)                 | [mindspore.Tensor.xlogy](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.xlogy.html)                 | The functions are consistent, but the parameter names are inconsistent.|

| PyTorch 1.12 APIs                                           | MindSpore APIs                                               | Descriptions                                |
| ------------------------------------------------------------ | ------------------------------------------------------------ |---------------------------------------------|
| [torch.Tensor.hsplit](https://pytorch.org/docs/1.12/generated/torch.Tensor.hsplit.html)                         | [mindspore.Tensor.hsplit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.hsplit.html)                         | The functions are consistent, but the parameter names are inconsistent. |
| [torch.Tensor.vsplit](https://pytorch.org/docs/1.12/generated/torch.Tensor.vsplit.html)                         | [mindspore.Tensor.vsplit](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/mindspore/Tensor/mindspore.Tensor.vsplit.html)                         | The functions are consistent, but the parameter names are inconsistent. |

## torch.optim

| PyTorch 1.8.1 APIs                                                                                                                 | MindSpore APIs                                                                                                                                                     | Descriptions                                                                          |
|------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------|
| [torch.optim.Adadelta](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adadelta)                                             | [mindspore.nn.Adadelta](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Adadelta.html)                                                              | Consistent                                                                            |
| [torch.optim.Adagrad](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adagrad)                                               | [mindspore.nn.Adagrad](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Adagrad.html)                                                                | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Adagrad.html)                                   |
| [torch.optim.Adam](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adam)                                                     | [mindspore.nn.Adam](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Adam.html)                                                                      | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Adam.html)   |
| [torch.optim.AdaMax](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.AdaMax)                                                 | [mindspore.nn.AdaMax](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdaMax.html)                                                                  | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AdaMax.html) |
| [torch.optim.AdamW](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.AdamW)                                                   | [mindspore.nn.AdamWeightDecay](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.AdamWeightDecay.html)                                                | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AdamWeightDecay.html)|
| [torch.optim.ASGD](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.ASGD)                                                     | [mindspore.nn.ASGD](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.ASGD.html)                                                                      | Consistent                                                                            |
| [torch.optim.Optimizer](https://pytorch.org/docs/1.8.0/optim.html#torch.optim.Optimizer)                                           | [mindspore.nn.Optimizer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Optimizer.html#mindspore.nn.Optimizer)                                     | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Optimizer.html) |
| [torch.optim.SparseAdam](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.SparseAdam)                                         | [mindspore.nn.LazyAdam](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.LazyAdam.html)                                                              | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SparseAdam.html) |
| [torch.optim.RMSProp](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.RMSProp)                                               | [mindspore.nn.RMSProp](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.RMSProp.html)                                                                | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RMSProp.html)  |
| [torch.optim.Rprop](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Rprop)                                                   | [mindspore.nn.Rprop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Rprop.html)                                                                    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Rprop.html)      |
| [torch.optim.SGD](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.SGD)                                                       | [mindspore.nn.SGD](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.SGD.html)                                                                        | Consistent                                                                            |
| [torch.optim.lr_scheduler.CosineAnnealingLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.CosineAnnealingLR) | [mindspore.nn.cosine_decay_lr](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.cosine_decay_lr.html#mindspore.nn.cosine_decay_lr)               | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CosineDecayLr.html) |
| [torch.optim.lr_scheduler.ExponentialLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.ExponentialLR)         | [mindspore.nn.exponential_decay_lr](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.exponential_decay_lr.html#mindspore.nn.exponential_decay_lr)    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ExponentialDecayLR.html) |
| [torch.optim.lr_scheduler.MultiStepLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.MultiStepLR)             | [mindspore.nn.piecewise_constant_lr](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.piecewise_constant_lr.html#mindspore.nn.piecewise_constant_lr) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/PiecewiseConstantLR.html) |
| [torch.optim.lr_scheduler.StepLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.StepLR)                       | [mindspore.nn.piecewise_constant_lr](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.piecewise_constant_lr.html#mindspore.nn.piecewise_constant_lr) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/PiecewiseConstantLR.html) |

## torch.optim

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.optim.Adadelta](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adadelta)                                            | [mindspore.experimental.optim.Adadelta](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.Adadelta.html)                                                              | Consistent                                                                            |
| [torch.optim.Adagrad](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adagrad)                                              | [mindspore.experimental.optim.Adagrad](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.Adagrad.html)                                                                | Consistent                                   |
| [torch.optim.Adam](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adam)                                                     | [mindspore.experimental.optim.Adam](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.Adam.html)                                                     | Consistent |
| [torch.optim.Adamax](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Adamax)                                                 | [mindspore.experimental.optim.Adamax](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.Adamax.html)                                                                  | Consistent |
| [torch.optim.AdamW](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.AdamW)                                                   | [mindspore.experimental.optim.AdamW](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.AdamW.html)                                                     | Consistent |
| [torch.optim.ASGD](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.ASGD)                                                     | [mindspore.experimental.optim.ASGD](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.ASGD.html)                                                                      | Consistent                                                                            |
| [torch.optim.NAdam](https://pytorch.org/docs/1.12/generated/torch.optim.NAdam.html)                                                   | [mindspore.experimental.optim.NAdam](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.NAdam.html)                                                                    | Consistent     |
| [torch.optim.RAdam](https://pytorch.org/docs/1.12/generated/torch.optim.RAdam.html)                                                   | [mindspore.experimental.optim.RAdam](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.RAdam.html)                                                                    | Consistent      |
| [torch.optim.RMSprop](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.RMSprop)                                               | [mindspore.experimental.optim.RMSprop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.RMSprop.html)                                                                | Consistent  |
| [torch.optim.Rprop](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.Rprop)                                                   | [mindspore.experimental.optim.Rprop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.Rprop.html)                                                                    | Consistent    |
| [torch.optim.SGD](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.SGD)                                                     | [mindspore.experimental.optim.SGD](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.SGD.html)                                                     | Consistent |

## torch.optim.lr_scheduler

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.optim.lr_scheduler.LRScheduler](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.LRScheduler)      | [mindspore.experimental.optim.lr_scheduler.LRScheduler](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.LRScheduler.html#mindspore.experimental.optim.lr_scheduler.LRScheduler)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.ConstantLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.ConstantLR)      | [mindspore.experimental.optim.lr_scheduler.ConstantLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.ConstantLR.html#mindspore.experimental.optim.lr_scheduler.ConstantLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.CosineAnnealingLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.CosineAnnealingLR)      | [mindspore.experimental.optim.lr_scheduler.CosineAnnealingLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.CosineAnnealingLR.html#mindspore.experimental.optim.lr_scheduler.CosineAnnealingLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.CosineAnnealingWarmRestarts](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.CosineAnnealingWarmRestarts)      | [mindspore.experimental.optim.lr_scheduler.CosineAnnealingWarmRestarts](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.CosineAnnealingWarmRestarts.html#mindspore.experimental.optim.lr_scheduler.CosineAnnealingWarmRestarts)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.CyclicLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.CyclicLR)      | [mindspore.experimental.optim.lr_scheduler.CyclicLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.CyclicLR.html#mindspore.experimental.optim.lr_scheduler.CyclicLR)                                                     | No `verbose` and `momentum` related input params, other functions are consistent |
| [torch.optim.lr_scheduler.ExponentialLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.ExponentialLR)      | [mindspore.experimental.optim.lr_scheduler.ExponentialLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.ExponentialLR.html#mindspore.experimental.optim.lr_scheduler.ExponentialLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.LambdaLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.LambdaLR)      | [mindspore.experimental.optim.lr_scheduler.LambdaLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.LambdaLR.html#mindspore.experimental.optim.lr_scheduler.LambdaLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.LinearLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.LinearLR)      | [mindspore.experimental.optim.lr_scheduler.LinearLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.LinearLR.html#mindspore.experimental.optim.lr_scheduler.LinearLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.MultiplicativeLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.MultiplicativeLR)      | [mindspore.experimental.optim.lr_scheduler.MultiplicativeLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.MultiplicativeLR.html#mindspore.experimental.optim.lr_scheduler.MultiplicativeLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.MultiStepLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.MultiStepLR)      | [mindspore.experimental.optim.lr_scheduler.MultiStepLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.MultiStepLR.html#mindspore.experimental.optim.lr_scheduler.MultiStepLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.PolynomialLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.PolynomialLR)      | [mindspore.experimental.optim.lr_scheduler.PolynomialLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.PolynomialLR.html#mindspore.experimental.optim.lr_scheduler.PolynomialLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.ReduceLROnPlateau](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.ReduceLROnPlateau)      | [mindspore.experimental.optim.lr_scheduler.ReduceLROnPlateau](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.ReduceLROnPlateau.html#mindspore.experimental.optim.lr_scheduler.ReduceLROnPlateau)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.SequentialLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.SequentialLR)      | [mindspore.experimental.optim.lr_scheduler.SequentialLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.SequentialLR.html#mindspore.experimental.optim.lr_scheduler.SequentialLR)                                                     | No `verbose` input param, other functions are consistent |
| [torch.optim.lr_scheduler.StepLR](https://pytorch.org/docs/1.8.1/optim.html#torch.optim.lr_scheduler.StepLR)      | [mindspore.experimental.optim.lr_scheduler.StepLR](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/experimental/optim/mindspore.experimental.optim.lr_scheduler.StepLR.html#mindspore.experimental.optim.lr_scheduler.StepLR)                                                     | No `verbose` input param, other functions are consistent |

## torch.utils

| PyTorch 1.8.1 APIs                                           | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torch.utils.data.DataLoader](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.DataLoader) | [mindspore.dataset.GeneratorDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.GeneratorDataset.html#mindspore.dataset.GeneratorDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/DataLoader.html) |
| [torch.utils.data.distributed.DistributedSampler](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.distributed.DistributedSampler) | [mindspore.dataset.DistributedSampler](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.DistributedSampler.html#mindspore.dataset.DistributedSampler)  |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/DistributedSampler.html) |
| [torch.utils.data.RandomSampler](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.RandomSampler)  | [mindspore.dataset.RandomSampler](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.RandomSampler.html#mindspore.dataset.RandomSampler) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RandomSampler.html)  |
| [torch.utils.data.SequentialSampler](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.SequentialSampler)     | [mindspore.dataset.SequentialSampler](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.SequentialSampler.html#mindspore.dataset.SequentialSampler)  | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SequentialSampler.html)     |
| [torch.utils.data.SubsetRandomSampler](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.SubsetRandomSampler)    | [mindspore.dataset.SubsetRandomSampler](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.SubsetRandomSampler.html#mindspore.dataset.SubsetRandomSampler)    |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SubsetRandomSampler.html)  |
| [torch.utils.data.WeightedRandomSampler](https://pytorch.org/docs/1.8.1/data.html#torch.utils.data.WeightedRandomSampler)    | [mindspore.dataset.WeightedRandomSampler](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.WeightedRandomSampler.html#mindspore.dataset.WeightedRandomSampler) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/WeightedRandomSampler.html)   |                                                           |
| [torch.utils.checkpoint.checkpoint](https://pytorch.org/docs/1.8.1/checkpoint.html#torch.utils.checkpoint.checkpoint)    | [mindspore.nn.Cell.recompute](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/nn/mindspore.nn.Cell.html#mindspore.nn.Cell.recompute)    |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/checkpoint.html)  |

## torchaudio

| TorchAudio 0.8.1 APIs     | MindSpore APIs     | Descriptions        |
| ----------------------- | ------------------------- | ------------------ |
| [torchaudio.datasets.CMUARCTIC](https://pytorch.org/audio/0.8.0/datasets.html#cmuarctic)  | [mindspore.dataset.CMUArcticDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.CMUArcticDataset.html#mindspore.dataset.CMUArcticDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CMUARCTIC.html)  |
| [torchaudio.datasets.GTZAN](https://pytorch.org/audio/0.8.0/datasets.html#gtzan)  | [mindspore.dataset.GTZANDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.GTZANDataset.html#mindspore.dataset.GTZANDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GTZAN.html)  |
| [torchaudio.datasets.LIBRITTS](https://pytorch.org/audio/0.8.0/datasets.html#libritts)  | [mindspore.dataset.LibriTTSDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.LibriTTSDataset.html#mindspore.dataset.LibriTTSDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LIBRITTS.html)  |
| [torchaudio.datasets.LJSPEECH](https://pytorch.org/audio/0.8.0/datasets.html#ljspeech)  | [mindspore.dataset.LJSpeechDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.LJSpeechDataset.html#mindspore.dataset.LJSpeechDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/LJSPEECH.html)  |
| [torchaudio.datasets.SPEECHCOMMANDS](https://pytorch.org/audio/0.8.0/datasets.html#speechcommands)  | [mindspore.dataset.SpeechCommandsDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.SpeechCommandsDataset.html#mindspore.dataset.SpeechCommandsDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SPEECHCOMMANDS.html)  |
| [torchaudio.datasets.TEDLIUM](https://pytorch.org/audio/0.8.0/datasets.html#tedlium)  | [mindspore.dataset.TedliumDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.TedliumDataset.html#mindspore.dataset.TedliumDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TEDLIUM.html)  |
| [torchaudio.datasets.YESNO](https://pytorch.org/audio/0.8.0/datasets.html#yesno)  | [mindspore.dataset.YesNoDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.YesNoDataset.html#mindspore.dataset.YesNoDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/YESNO.html)  |
| [torchaudio.transforms.AmplitudeToDB](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.AmplitudeToDB.html)   | [mindspore.dataset.audio.AmplitudeToDB](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.AmplitudeToDB.html#mindspore.dataset.audio.AmplitudeToDB)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AmplitudeToDB.html)  |
| [torchaudio.transforms.ComplexNorm](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.ComplexNorm.html)   | [mindspore.dataset.audio.ComplexNorm](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.ComplexNorm.html#mindspore.dataset.audio.ComplexNorm)   | Consistent  |
| [torchaudio.transforms.ComputeDeltas](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.ComputeDeltas.html)   | [mindspore.dataset.audio.ComputeDeltas](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.ComputeDeltas.html#mindspore.dataset.audio.ComputeDeltas)   | The functions are consistent, but the parameter names are inconsistent.  |
| [torchaudio.transforms.Fade](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.Fade.html)   | [mindspore.dataset.audio.Fade](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.Fade.html#mindspore.dataset.audio.Fade)   | Consistent |
| [torchaudio.transforms.FrequencyMasking](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.FrequencyMasking.html)   | [mindspore.dataset.audio.FrequencyMasking](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.FrequencyMasking.html#mindspore.dataset.audio.FrequencyMasking)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/FrequencyMasking.html)  |
| [torchaudio.transforms.GriffinLim](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.GriffinLim.html)   | [mindspore.dataset.audio.GriffinLim](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.GriffinLim.html#mindspore.dataset.audio.GriffinLim)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/GriffinLim.html)  |
| [torchaudio.transforms.InverseMelScale](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.InverseMelScale.html) | [mindspore.dataset.audio.InverseMelScale](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.InverseMelScale.html#mindspore.dataset.audio.InverseMelScale) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/InverseMelScale.html)  |
| [torchaudio.transforms.MelScale](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.MelScale.html)   | [mindspore.dataset.audio.MelScale](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.MelScale.html#mindspore.dataset.audio.MelScale)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MelScale.html)  |
| [torchaudio.transforms.MelSpectrogram](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.MelSpectrogram.html)   | [mindspore.dataset.audio.MelSpectrogram](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.MelSpectrogram.html#mindspore.dataset.audio.MelSpectrogram)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MelSpectrogram.html)  |
| [torchaudio.transforms.MFCC](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.MFCC.html)   | [mindspore.dataset.audio.MFCC](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.MFCC.html#mindspore.dataset.audio.MFCC)   | Consistent  |
| [torchaudio.transforms.MuLawEncoding](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.MuLawEncoding.html)   | [mindspore.dataset.audio.MuLawEncoding](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.MuLawEncoding.html#mindspore.dataset.audio.MuLawEncoding)   | Consistent  |
| [torchaudio.transforms.MuLawDecoding](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.MuLawDecoding.html)   | [mindspore.dataset.audio.MuLawDecoding](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.MuLawDecoding.html#mindspore.dataset.audio.MuLawDecoding)   | Consistent  |
| [torchaudio.transforms.Resample](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.Resample.html)   | [mindspore.dataset.audio.Resample](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.Resample.html#mindspore.dataset.audio.Resample)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Resample.html)  |
| [torchaudio.transforms.SlidingWindowCmn](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.SlidingWindowCmn.html) | [mindspore.dataset.audio.SlidingWindowCmn](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.SlidingWindowCmn.html#mindspore.dataset.audio.SlidingWindowCmn) | Consistent  |
| [torchaudio.transforms.SpectralCentroid](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.SpectralCentroid.html)   | [mindspore.dataset.audio.SpectralCentroid](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.SpectralCentroid.html#mindspore.dataset.audio.SpectralCentroid)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SpectralCentroid.html)  |
| [torchaudio.transforms.Spectrogram](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.Spectrogram.html)   | [mindspore.dataset.audio.Spectrogram](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.Spectrogram.html#mindspore.dataset.audio.Spectrogram)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Spectrogram.html)  |
| [torchaudio.transforms.TimeMasking](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.TimeMasking.html)   | [mindspore.dataset.audio.TimeMasking](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.TimeMasking.html#mindspore.dataset.audio.TimeMasking)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TimeMasking.html)  |
| [torchaudio.transforms.TimeStretch](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.TimeStretch.html)   | [mindspore.dataset.audio.TimeStretch](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.TimeStretch.html#mindspore.dataset.audio.TimeStretch)    | Consistent  |
| [torchaudio.transforms.Vad](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.Vad.html)   | [mindspore.dataset.audio.Vad](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.Vad.html#mindspore.dataset.audio.Vad)   | Consistent  |
| [torchaudio.transforms.Vol](https://pytorch.org/audio/0.8.0/transforms.html#torchaudio.transforms.Vol.html)   | [mindspore.dataset.audio.Vol](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_audio/mindspore.dataset.audio.Vol.html#mindspore.dataset.audio.Vol)   | Consistent  |

## torchtext

| TorchText 0.9.1 APIs                                        | MindSpore APIs                                               | Descriptions                                                 |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| [torchtext.data.functional.custom_replace](https://pytorch.org/text/0.9.0/data_functional.html#custom-replace) | [mindspore.dataset.text.RegexReplace](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.RegexReplace.html#mindspore.dataset.text.RegexReplace) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RegexReplace.html) |
| [torchtext.data.functional.load_sp_model](https://pytorch.org/text/0.9.0/data_functional.html#load-sp-model) | [mindspore.dataset.text.SentencePieceTokenizer](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.SentencePieceTokenizer.html#mindspore.dataset.text.SentencePieceTokenizer) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/load_sp_model.html) |
| [torchtext.data.functional.numericalize_tokens_from_iterator](https://pytorch.org/text/0.9.0/data_functional.html#numericalize-tokens-from-iterator) | [mindspore.dataset.text.Lookup](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.Lookup.html#mindspore.dataset.text.Lookup) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Lookup.html) |
| [torchtext.data.functional.sentencepiece_numericalizer](https://pytorch.org/text/0.9.0/data_functional.html#sentencepiece-numericalizer) | [mindspore.dataset.text.SentencePieceTokenizer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.SentencePieceTokenizer.html#mindspore.dataset.text.SentencePieceTokenizer) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SentencePieceTokenizer_Out_INT.html) |
| [torchtext.data.functional.sentencepiece_tokenizer](https://pytorch.org/text/0.9.0/data_functional.html#sentencepiece-tokenizer) | [mindspore.dataset.text.SentencePieceTokenizer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.SentencePieceTokenizer.html#mindspore.dataset.text.SentencePieceTokenizer) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SentencePieceTokenizer_Out_STRING.html) |
| [torchtext.data.functional.simple_space_split](https://pytorch.org/text/0.9.0/data_functional.html#simple-space-split) | [mindspore.dataset.text.WhitespaceTokenizer](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.WhitespaceTokenizer.html#mindspore.dataset.text.WhitespaceTokenizer) |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/WhitespaceTokenizer.html)      |
| [torchtext.data.utils.ngrams_iterator](https://pytorch.org/text/0.9.0/data_utils.html#ngrams-iterator)      | [mindspore.dataset.text.Ngram](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_text/mindspore.dataset.text.Ngram.html#mindspore.dataset.text.Ngram)      | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Ngram.html)    |
| [torchtext.datasets.AG_NEWS](https://pytorch.org/text/0.9.0/datasets.html#ag-news)  | [mindspore.dataset.AGNewsDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.AGNewsDataset.html#mindspore.dataset.AGNewsDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AGNEWS.html)  |
| [torchtext.datasets.AmazonReviewFull](https://pytorch.org/text/0.9.0/datasets.html#amazonreviewfull)  | [mindspore.dataset.AmazonReviewDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.AmazonReviewDataset.html#mindspore.dataset.AmazonReviewDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AmazonReviewFull.html)  |
| [torchtext.datasets.AmazonReviewPolarity](https://pytorch.org/text/0.9.0/datasets.html#amazonreviewpolarity)  | [mindspore.dataset.AmazonReviewDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.AmazonReviewDataset.html#mindspore.dataset.AmazonReviewDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/AmazonReviewPolarity.html)  |
| [torchtext.datasets.CoNLL2000Chunking](https://pytorch.org/text/0.9.0/datasets.html#conll2000chunking)  | [mindspore.dataset.CoNLL2000Dataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.CoNLL2000Dataset.html#mindspore.dataset.CoNLL2000Dataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CoNLL2000Chunking.html)  |
| [torchtext.datasets.DBpedia](https://pytorch.org/text/0.9.0/datasets.html#dbpedia)  | [mindspore.dataset.DBpediaDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.DBpediaDataset.html#mindspore.dataset.DBpediaDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/DBpedia.html)  |
| [torchtext.datasets.IMDB](https://pytorch.org/text/0.9.0/datasets.html#imdb)  | [mindspore.dataset.IMDBDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.IMDBDataset.html#mindspore.dataset.IMDBDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/IMDB.html)  |
| [torchtext.datasets.IWSLT2016](https://pytorch.org/text/0.9.0/datasets.html#iwslt2016)  | [mindspore.dataset.IWSLT2016Dataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.IWSLT2016Dataset.html#mindspore.dataset.IWSLT2016Dataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/IWSLT2016.html)  |
| [torchtext.datasets.IWSLT2017](https://pytorch.org/text/0.9.0/datasets.html#iwslt2017)  | [mindspore.dataset.IWSLT2017Dataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.IWSLT2017Dataset.html#mindspore.dataset.IWSLT2017Dataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/IWSLT2017.html)  |
| [torchtext.datasets.PennTreebank](https://pytorch.org/text/0.9.0/datasets.html#penntreebank)  | [mindspore.dataset.PennTreebankDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.PennTreebankDataset.html#mindspore.dataset.PennTreebankDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/PennTreebank.html)  |
| [torchtext.datasets.SogouNews](https://pytorch.org/text/0.9.0/datasets.html#sogounews)  | [mindspore.dataset.SogouNewsDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.SogouNewsDataset.html#mindspore.dataset.SogouNewsDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SogouNews.html)  |
| [torchtext.datasets.SQuAD1](https://pytorch.org/text/0.9.0/datasets.html#torchtext.datasets.SQuAD1)  | [mindspore.dataset.SQuADDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.SQuADDataset.html#mindspore.dataset.SQuADDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SQuAD1.html)  |
| [torchtext.datasets.SQuAD2](https://pytorch.org/text/0.9.0/datasets.html#torchtext.datasets.SQuAD2)  | [mindspore.dataset.SQuADDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.SQuADDataset.html#mindspore.dataset.SQuADDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/SQuAD2.html)  |
| [torchtext.datasets.UDPOS](https://pytorch.org/text/0.9.0/datasets.html#udpos)  | [mindspore.dataset.UDPOSDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.UDPOSDataset.html#mindspore.dataset.UDPOSDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/UDPOS.html)  |
| [torchtext.datasets.WikiText103](https://pytorch.org/text/0.9.0/datasets.html#wikitext103)  | [mindspore.dataset.WikiTextDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.WikiTextDataset.html#mindspore.dataset.WikiTextDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/WikiText103.html)  |
| [torchtext.datasets.WikiText2](https://pytorch.org/text/0.9.0/datasets.html#wikitext-2)  | [mindspore.dataset.WikiTextDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.WikiTextDataset.html#mindspore.dataset.WikiTextDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/WikiText2.html)  |
| [torchtext.datasets.YahooAnswers](https://pytorch.org/text/0.9.0/datasets.html#yahooanswers)  | [mindspore.dataset.YahooAnswersDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.YahooAnswersDataset.html#mindspore.dataset.YahooAnswersDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/YahooAnswers.html)  |
| [torchtext.datasets.YelpReviewFull](https://pytorch.org/text/0.9.0/datasets.html#yelpreviewfull)  | [mindspore.dataset.YelpReviewDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.YelpReviewDataset.html#mindspore.dataset.YelpReviewDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/YelpReviewFull.html)  |
| [torchtext.datasets.YelpReviewPolarity](https://pytorch.org/text/0.9.0/datasets.html#yelpreviewpolarity)  | [mindspore.dataset.YelpReviewDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.YelpReviewDataset.html#mindspore.dataset.YelpReviewDataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/YelpReviewPolarity.html)  |

## torchvision

| TorchVision 0.9.1 APIs                  | MindSpore APIs                       | Descriptions                      |
| ---------------------------------------- | --------------------------------- | --------------------------------------- |
| [torchvision.datasets.CelebA](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.CelebA)  | [mindspore.dataset.CelebADataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.CelebADataset.html#mindspore.dataset.CelebADataset) |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CelebA.html)  |
| [torchvision.datasets.Cityscapes](https://pytorch.org/vision/0.9/datasets.html#cityscapes)     | [mindspore.dataset.CityscapesDataset](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.CityscapesDataset.html)    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Cityscapes.html) |
| [torchvision.datasets.CIFAR10](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.CIFAR10)    | [mindspore.dataset.Cifar10Dataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.Cifar10Dataset.html#mindspore.dataset.Cifar10Dataset) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CIFAR10.html) |
| [torchvision.datasets.CIFAR100](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.CIFAR100)    | [mindspore.dataset.Cifar100Dataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.Cifar100Dataset.html#mindspore.dataset.Cifar100Dataset) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CIFAR100.html) |
| [torchvision.datasets.CocoDetection](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.CocoDetection)  | [mindspore.dataset.CocoDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.CocoDataset.html#mindspore.dataset.CocoDataset)  | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/CocoDataset.html)     |
| [torchvision.datasets.ImageFolder](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.ImageFolder)    | [mindspore.dataset.ImageFolderDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.ImageFolderDataset.html#mindspore.dataset.ImageFolderDataset)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ImageFolder.html) |
| [torchvision.datasets.MNIST](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.MNIST)     | [mindspore.dataset.MnistDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.MnistDataset.html#mindspore.dataset.MnistDataset)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/MNIST.html)   |
| [torchvision.datasets.VOCDetection](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.VOCDetection)    | [mindspore.dataset.VOCDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.VOCDataset.html#mindspore.dataset.VOCDataset)  | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/VOCDetection.html)    |
| [torchvision.datasets.VOCSegmentation](https://pytorch.org/vision/0.9/datasets.html#torchvision.datasets.VOCSegmentation)     | [mindspore.dataset.VOCDataset](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset/mindspore.dataset.VOCDataset.html#mindspore.dataset.VOCDataset)    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/VOCSegmentation.html) |
| [torchvision.ops.nms](https://pytorch.org/vision/0.9/ops.html#torchvision.ops.nms.html#torchvision.ops.nms)  | [mindspore.ops.NMSWithMask](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.NMSWithMask.html#mindspore.ops.NMSWithMask)       |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/nms.html)       |
| [torchvision.ops.roi_align](https://pytorch.org/vision/0.9/ops.html#torchvision.ops.roi_align.html#torchvision.ops.roi_align)    | [mindspore.ops.ROIAlign](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.ROIAlign.html#mindspore.ops.ROIAlign)     |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/roi_align.html)   |
| [torchvision.transforms.CenterCrop](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.CenterCrop)   | [mindspore.dataset.vision.CenterCrop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.CenterCrop.html#mindspore.dataset.vision.CenterCrop)    |  Consistent   |
| [torchvision.transforms.ColorJitter](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.ColorJitter) | [mindspore.dataset.vision.RandomColorAdjust](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomColorAdjust.html#mindspore.dataset.vision.RandomColorAdjust)   | Consistent  |
| [torchvision.transforms.Compose](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.Compose)      | [mindspore.dataset.transforms.Compose](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_transforms/mindspore.dataset.transforms.Compose.html#mindspore.dataset.transforms.Compose)   |  Consistent  |
| [torchvision.transforms.ConvertImageDtype](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.ConvertImageDtype)       | [mindspore.dataset.transforms.TypeCast](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_transforms/mindspore.dataset.transforms.TypeCast.html#mindspore.dataset.transforms.TypeCast)           | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/TypeCast.html)          |
| [torchvision.transforms.FiveCrop](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.FiveCrop)                         | [mindspore.dataset.vision.FiveCrop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.FiveCrop.html#mindspore.dataset.vision.FiveCrop)  |  Consistent |
| [torchvision.transforms.GaussianBlur](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.GaussianBlur) | [mindspore.dataset.vision.GaussianBlur](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.GaussianBlur.html#mindspore.dataset.vision.GaussianBlur)  |  Consistent |
| [torchvision.transforms.Grayscale](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.Grayscale)   | [mindspore.dataset.vision.Grayscale](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.Grayscale.html#mindspore.dataset.vision.Grayscale)    |  Consistent |
| [torchvision.transforms.LinearTransformation](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.LinearTransformation) | [mindspore.dataset.vision.LinearTransformation](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.LinearTransformation.html#mindspore.dataset.vision.LinearTransformation) | Consistent |
| [torchvision.transforms.Normalize](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.Normalize)                       | [mindspore.dataset.vision.Normalize](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.Normalize.html#mindspore.dataset.vision.Normalize)    | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/Normalize.html)  |
| [torchvision.transforms.Pad](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.Pad)  | [mindspore.dataset.vision.Pad](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.Pad.html#mindspore.dataset.vision.Pad)  | The functions are consistent, but the parameter names are inconsistent. |
| [torchvision.transforms.RandomAffine](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomAffine)    | [mindspore.dataset.vision.RandomAffine](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomAffine.html#mindspore.dataset.vision.RandomAffine)   |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RandomAffine.html)    |
| [torchvision.transforms.RandomApply](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomApply)   | [mindspore.dataset.transforms.RandomApply](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_transforms/mindspore.dataset.transforms.RandomApply.html#mindspore.dataset.transforms.RandomApply)   | The functions are consistent, but the parameter names are inconsistent. |
| [torchvision.transforms.RandomChoice](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomChoice)                 | [mindspore.dataset.transforms.RandomChoice](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_transforms/mindspore.dataset.transforms.RandomChoice.html#mindspore.dataset.transforms.RandomChoice)   | Consistent |
| [torchvision.transforms.RandomCrop](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomCrop)      | [mindspore.dataset.vision.RandomCrop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomCrop.html#mindspore.dataset.vision.RandomCrop)   | The functions are consistent, but the parameter names are inconsistent. |
| [torchvision.transforms.RandomGrayscale](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomGrayscale)           | [mindspore.dataset.vision.RandomGrayscale](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomGrayscale.html#mindspore.dataset.vision.RandomGrayscale)     | The functions are consistent, but the parameter names are inconsistent. |
| [torchvision.transforms.RandomHorizontalFlip](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomHorizontalFlip) | [mindspore.dataset.vision.RandomHorizontalFlip](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomHorizontalFlip.html#mindspore.dataset.vision.RandomHorizontalFlip)    | The functions are consistent, but the parameter names are inconsistent. |
| [torchvision.transforms.RandomOrder](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomOrder)                   | [mindspore.dataset.transforms.RandomOrder](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_transforms/mindspore.dataset.transforms.RandomOrder.html#mindspore.dataset.transforms.RandomOrder)            |   Consistent |
| [torchvision.transforms.RandomPerspective](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomPerspective)       | [mindspore.dataset.vision.RandomPerspective](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomPerspective.html#mindspore.dataset.vision.RandomPerspective)     |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RandomPerspective.html)  |
| [torchvision.transforms.RandomResizedCrop](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomResizedCrop)       | [mindspore.dataset.vision.RandomResizedCrop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomResizedCrop.html#mindspore.dataset.vision.RandomResizedCrop)   |   [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RandomResizedCrop.html) |
| [torchvision.transforms.RandomRotation](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomRotation)             | [mindspore.dataset.vision.RandomRotation](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomRotation.html#mindspore.dataset.vision.RandomRotation)      |  [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/RandomRotation.html) |
| [torchvision.transforms.RandomVerticalFlip](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.RandomVerticalFlip)     | [mindspore.dataset.vision.RandomVerticalFlip](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.RandomVerticalFlip.html#mindspore.dataset.vision.RandomVerticalFlip)      |  The functions are consistent, but the parameter names are inconsistent.  |
| [torchvision.transforms.Resize](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.Resize)                             | [mindspore.dataset.vision.Resize](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.Resize.html#mindspore.dataset.vision.Resize)    |  Consistent  |
| [torchvision.transforms.TenCrop](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.TenCrop)      | [mindspore.dataset.vision.TenCrop](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.TenCrop.html#mindspore.dataset.vision.TenCrop) |  The functions are consistent, but the parameter names are inconsistent.  |
| [torchvision.transforms.ToPILImage](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.ToPILImage)  | [mindspore.dataset.vision.ToPIL](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.ToPIL.html#mindspore.dataset.vision.ToPIL)   | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ToPIL.html)           |
| [torchvision.transforms.ToTensor](https://pytorch.org/vision/0.9/transforms.html#torchvision.transforms.ToTensor)   | [mindspore.dataset.vision.ToTensor](https://mindspore.cn/docs/en/r2.3.0rc2/api_python/dataset_vision/mindspore.dataset.vision.ToTensor.html#mindspore.dataset.vision.ToTensor)  | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/ToTensor.html)        |
| [torchvision.ops.deform_conv2d](https://pytorch.org/vision/main/generated/torchvision.ops.deform_conv2d.html#deform-conv2d) | [mindspore.ops.deformable_conv2d](https://www.mindspore.cn/docs/en/r2.3.0rc2/api_python/ops/mindspore.ops.deformable_conv2d.html#mindspore-ops-deformable-conv2d) | [diff](https://www.mindspore.cn/docs/en/r2.3.0rc2/note/api_mapping/pytorch_diff/deform_conv2d.html)        |