diff --git a/docs/en/ONNX Operator List/ONNX Operator List.md b/docs/en/ONNX Operator List/ONNX Operator List.md index aa756a18d26e42fe8da4e7d59063ae06392f6ade..4b5f3dee3622695b35c934600e8cb4692638fdc6 100644 --- a/docs/en/ONNX Operator List/ONNX Operator List.md +++ b/docs/en/ONNX Operator List/ONNX Operator List.md @@ -1,160 +1,160 @@ # ONNX Operator List -- [Abs](#abs.md) -- [Acos](#acos.md) -- [Acosh](#acosh.md) -- [AdaptiveAvgPool2D](#adaptiveavgpool2d.md) -- [AdaptiveMaxPool2D](#adaptivemaxpool2d.md) -- [Add](#add.md) -- [Addcmul](#addcmul.md) -- [AffineGrid](#affinegrid.md) -- [And](#and.md) -- [Argmax](#argmax.md) -- [Argmin](#argmin.md) -- [AscendRequantS16](#ascendrequants16.md) -- [AscendRequant](#ascendrequant.md) -- [AscendQuant](#ascendquant.md) -- [AscendDequantS16](#ascenddequants16.md) -- [AscendDequant](#ascenddequant.md) -- [AscendAntiQuant](#ascendantiquant.md) -- [Asin](#asin.md) -- [Asinh](#asinh.md) -- [Atan](#atan.md) -- [Atanh](#atanh.md) -- [AveragePool](#averagepool.md) -- [BatchNormalization](#batchnormalization.md) -- [BatchMatMul](#batchmatmul.md) -- [BatchMultiClassNMS](#batchmulticlassnms.md) -- [BitShift](#bitshift.md) -- [Cast](#cast.md) -- [Ceil](#ceil.md) -- [Celu](#celu.md) -- [Concat](#concat.md) -- [Clip](#clip.md) -- [ConvTranspose](#convtranspose.md) -- [Cumsum](#cumsum.md) -- [Conv](#conv.md) -- [Compress](#compress.md) -- [Constant](#constant.md) -- [ConstantOfShape](#constantofshape.md) -- [Cos](#cos.md) -- [Cosh](#cosh.md) -- [DeformableConv2D](#deformableconv2d.md) -- [Det](#det.md) -- [DepthToSpace](#depthtospace.md) -- [Div](#div.md) -- [Dropout](#dropout.md) -- [Elu](#elu.md) -- [EmbeddingBag](#embeddingbag.md) -- [Equal](#equal.md) -- [Erf](#erf.md) -- [Exp](#exp.md) -- [Expand](#expand.md) -- [EyeLike](#eyelike.md) -- [Flatten](#flatten.md) -- [Floor](#floor.md) -- [Gather](#gather.md) -- [GatherND](#gathernd.md) -- [GatherElements](#gatherelements.md) -- [Gemm](#gemm.md) -- [GlobalAveragePool](#globalaveragepool.md) -- [GlobalLpPool](#globallppool.md) -- [GlobalMaxPool](#globalmaxpool.md) -- [Greater](#greater.md) -- [GreaterOrEqual](#greaterorequal.md) -- [HardSigmoid](#hardsigmoid.md) -- [hardmax](#hardmax.md) -- [HardSwish](#hardswish.md) -- [Identity](#identity.md) -- [If](#if.md) -- [InstanceNormalization](#instancenormalization.md) -- [Less](#less.md) -- [LeakyRelu](#leakyrelu.md) -- [LessOrEqual](#lessorequal.md) -- [Log](#log.md) -- [LogSoftMax](#logsoftmax.md) -- [LpNormalization](#lpnormalization.md) -- [LpPool](#lppool.md) -- [LRN](#lrn.md) -- [LSTM](#lstm.md) -- [MatMul](#matmul.md) -- [Max](#max.md) -- [MaxPool](#maxpool.md) -- [MaxRoiPool](#maxroipool.md) -- [MaxUnpool](#maxunpool.md) -- [Mean](#mean.md) -- [MeanVarianceNormalization](#meanvariancenormalization.md) -- [Min](#min.md) -- [Mod](#mod.md) -- [Mul](#mul.md) -- [Multinomial](#multinomial.md) -- [Neg](#neg.md) -- [NonMaxSuppression](#nonmaxsuppression.md) -- [NonZero](#nonzero.md) -- [Not](#not.md) -- [OneHot](#onehot.md) -- [Or](#or.md) -- [RandomNormalLike](#randomnormallike.md) -- [RandomUniformLike](#randomuniformlike.md) -- [RandomUniform](#randomuniform.md) -- [Range](#range.md) -- [Reciprocal](#reciprocal.md) -- [ReduceL1](#reducel1.md) -- [ReduceL2](#reducel2.md) -- [ReduceLogSum](#reducelogsum.md) -- [ReduceLogSumExp](#reducelogsumexp.md) -- [ReduceMin](#reducemin.md) -- [ReduceMean](#reducemean.md) -- [ReduceProd](#reduceprod.md) -- [ReduceSumSquare](#reducesumsquare.md) -- [Resize](#resize.md) -- [Relu](#relu.md) -- [ReduceSum](#reducesum.md) -- [ReduceMax](#reducemax.md) -- [Reshape](#reshape.md) -- [ReverseSequence](#reversesequence.md) -- [RoiExtractor](#roiextractor.md) -- [RoiAlign](#roialign.md) -- [Round](#round.md) -- [PRelu](#prelu.md) -- [Scatter](#scatter.md) -- [ScatterElements](#scatterelements.md) -- [ScatterND](#scatternd.md) -- [Shrink](#shrink.md) -- [Selu](#selu.md) -- [Shape](#shape.md) -- [Sigmoid](#sigmoid.md) -- [Slice](#slice.md) -- [Softmax](#softmax.md) -- [Softsign](#softsign.md) -- [Softplus](#softplus.md) -- [SpaceToDepth](#spacetodepth.md) -- [Split](#split.md) -- [Sqrt](#sqrt.md) -- [Squeeze](#squeeze.md) -- [Sub](#sub.md) -- [Sign](#sign.md) -- [Sin](#sin.md) -- [Sinh](#sinh.md) -- [Size](#size.md) -- [Sum](#sum.md) -- [Tanh](#tanh.md) -- [TfIdfVectorizer](#tfidfvectorizer.md) -- [Tile](#tile.md) -- [ThresholdedRelu](#thresholdedrelu.md) -- [TopK](#topk.md) -- [Transpose](#transpose.md) -- [Pad](#pad.md) -- [Pow](#pow.md) -- [Unsqueeze](#unsqueeze.md) -- [Xor](#xor.md) -- [Where](#where.md) -
@@ -361,7 +361,7 @@ |
---|
@@ -424,7 +424,7 @@ |
---|
@@ -641,7 +641,7 @@ |
---|
@@ -669,7 +669,7 @@ |
---|
@@ -1873,7 +1873,7 @@ |
---|
@@ -1915,7 +1915,7 @@ |
---|
@@ -1978,7 +1978,7 @@ |
---|
@@ -4484,7 +4484,7 @@ |
---|
@@ -6710,7 +6710,7 @@ |
---|
@@ -7417,7 +7417,7 @@ |
---|
@@ -7641,7 +7641,7 @@ |
---|
diff --git a/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md b/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md
index fdc1d09ae873388874fe246681d6c9645fd5a54a..28542efee4d9c8dda4afe59ab9c20562dc31699c 100644
--- a/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md
+++ b/docs/en/PyTorch Installation Guide/PyTorch Installation Guide.md
@@ -1,15 +1,15 @@
# PyTorch Installation Guide
-- [Overview](#overview.md)
-- [Manual Build and Installation](#manual-build-and-installation.md)
- - [Prerequisites](#prerequisites.md)
- - [Installing the PyTorch Framework](#installing-the-pytorch-framework.md)
- - [Configuring Environment Variables](#configuring-environment-variables.md)
- - [Installing the Mixed Precision Module](#installing-the-mixed-precision-module.md)
-- [References](#references.md)
- - [Installing CMake](#installing-cmake.md)
- - [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0.md)
- - [What Do I Do If "torch 1.5.0xxxx" and "torchvision" Do Not Match When torch-\*.whl Is Installed?](#what-do-i-do-if-torch-1-5-0xxxx-and-torchvision-do-not-match-when-torch--whl-is-installed.md)
-Overview+- [Overview](#overviewmd) +- [Manual Build and Installation](#manual-build-and-installationmd) + - [Prerequisites](#prerequisitesmd) + - [Installing the PyTorch Framework](#installing-the-pytorch-frameworkmd) + - [Configuring Environment Variables](#configuring-environment-variablesmd) + - [Installing the Mixed Precision Module](#installing-the-mixed-precision-modulemd) +- [References](#referencesmd) + - [Installing CMake](#installing-cmakemd) + - [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0md) + - [What Do I Do If "torch 1.5.0xxxx" and "torchvision" Do Not Match When torch-\*.whl Is Installed?](#what-do-i-do-if-torch-1-5-0xxxx-and-torchvision-do-not-match-when-torch--whl-is-installedmd) +OverviewWhen setting up the environment for PyTorch model development and running, you can manually build and install the modules adapted to the PyTorch framework on a server. @@ -18,24 +18,24 @@ When setting up the environment for PyTorch model development and running, you c  -Manual Build and Installation+Manual Build and Installation-- **[Prerequisites](#prerequisites.md)** +- **[Prerequisites](#prerequisitesmd)** -- **[Installing the PyTorch Framework](#installing-the-pytorch-framework.md)** +- **[Installing the PyTorch Framework](#installing-the-pytorch-frameworkmd)** -- **[Configuring Environment Variables](#configuring-environment-variables.md)** +- **[Configuring Environment Variables](#configuring-environment-variablesmd)** -- **[Installing the Mixed Precision Module](#installing-the-mixed-precision-module.md)** +- **[Installing the Mixed Precision Module](#installing-the-mixed-precision-modulemd)** -Prerequisites+Prerequisites-## Prerequisites +#### Prerequisites - The development or operating environment of CANN has been installed. For details, see the _CANN Software Installation Guide_. -- CMake 3.12.0 or later has been installed. For details about how to install CMake, see [Installing CMake](#installing-cmake.md). -- GCC 7.3.0 or later has been installed. For details about how to install and use GCC 7.3.0, see [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0.md). +- CMake 3.12.0 or later has been installed. For details about how to install CMake, see [Installing CMake](#installing-cmakemd). +- GCC 7.3.0 or later has been installed. For details about how to install and use GCC 7.3.0, see [How Do I Install GCC 7.3.0?](#how-do-i-install-gcc-7-3-0md). - Python 3.7.5 or 3.8 has been installed. - The Patch and Git tools have been installed in the environment. To install the tools for Ubuntu and CentOS, run the following commands: - Ubuntu @@ -54,9 +54,9 @@ When setting up the environment for PyTorch model development and running, you c -Installing the PyTorch Framework+Installing the PyTorch Framework-## Installation Process +#### Installation Process 1. Log in to the server as the **root** user or a non-root user. 2. Run the following commands in sequence to install the PyTorch dependencies. @@ -162,7 +162,7 @@ When setting up the environment for PyTorch model development and running, you c >**pip3 list | grep torch** -Configuring Environment Variables+Configuring Environment VariablesAfter the software packages are installed, configure environment variables to use Ascend PyTorch. For details about the environment variables, see [Table 1](#en-us_topic_0000001152616261_table42017516135). @@ -211,7 +211,7 @@ After the software packages are installed, configure environment variables to us | |
---|---|
Dynamic library search path. Set this variable based on the preceding example. -If you need to upgrade GCC in OSs such as CentOS, Debian, and BC-Linux, add ${install_path}/lib64 to the LD_LIBRARY_PATH variable of the dynamic library search path. Replace {install_path} with the GCC installation path. For details, see 5. +If you need to upgrade GCC in OSs such as CentOS, Debian, and BC-Linux, add ${install_path}/lib64 to the LD_LIBRARY_PATH variable of the dynamic library search path. Replace {install_path} with the GCC installation path. For details, see 5. |
|
@@ -314,14 +314,14 @@ After the software packages are installed, configure environment variables to us |
For details, see Model Selection.
+For details, see Model Selection.
For details, see Model Porting Evaluation.
+For details, see Model Porting Evaluation.
For details, see Environment Setup.
+For details, see Environment Setup.
For details, see Model Porting.
+For details, see Model Porting.
For details, see Model Training.
+For details, see Model Training.
For details, see Performance Optimization and Analysis.
+For details, see Performance Optimization and Analysis.
For details, see Precision Commissioning.
+For details, see Precision Commissioning.
For details, see Model Saving and Conversion and "ATC Tool Instructions" in the CANN Auxiliary Development Tool User Guide .
+For details, see Model Saving and Conversion and "ATC Tool Instructions" in the CANN Auxiliary Development Tool User Guide .
Describes how to prepare the environment, port models, commission models, and resolve other common problems. For details, see FAQs.
+Describes how to prepare the environment, port models, commission models, and resolve other common problems. For details, see FAQs.
Dynamic library search path. Set this variable based on the preceding example.
-Set up the development and operating environments required for operator development, execution, and verification.
Verify the operator functions in the real-world hardware environment.
@@ -5643,7 +5643,7 @@ |
---|
diff --git a/docs/en/RELEASENOTE/RELEASENOTE.md b/docs/en/RELEASENOTE/RELEASENOTE.md
index 8bc732c5de40150e39b6abb2550558e82e1d0b4d..372600c7586d7a7686c08bc79388ba616003f791 100644
--- a/docs/en/RELEASENOTE/RELEASENOTE.md
+++ b/docs/en/RELEASENOTE/RELEASENOTE.md
@@ -1,40 +1,40 @@
# FrameworkPTAdapter 2.0.3 Release Notes
-- [FrameworkPTAdapter 2.0.3](#frameworkptadapter-2-0-3.md)
- - [Before You Start](#before-you-start.md)
- - [New Features](#new-features.md)
- - [Modified Features](#modified-features.md)
- - [Resolved Issues](#resolved-issues.md)
- - [Known Issues](#known-issues.md)
- - [Compatibility](#compatibility.md)
-- [FrameworkPTAdapter 2.0.2](#frameworkptadapter-2-0-2.md)
- - [Before You Start](#before-you-start-0.md)
- - [New Features](#new-features-1.md)
- - [Modified Features](#modified-features-2.md)
- - [Resolved Issues](#resolved-issues-3.md)
- - [Known Issues](#known-issues-4.md)
- - [Compatibility](#compatibility-5.md)
-FrameworkPTAdapter 2.0.3+- [FrameworkPTAdapter 2.0.3](#frameworkptadapter-2-0-3md) + - [Before You Start](#before-you-startmd) + - [New Features](#new-featuresmd) + - [Modified Features](#modified-featuresmd) + - [Resolved Issues](#resolved-issuesmd) + - [Known Issues](#known-issuesmd) + - [Compatibility](#compatibilitymd) +- [FrameworkPTAdapter 2.0.2](#frameworkptadapter-2-0-2md) + - [Before You Start](#before-you-start-0md) + - [New Features](#new-features-1md) + - [Modified Features](#modified-features-2md) + - [Resolved Issues](#resolved-issues-3md) + - [Known Issues](#known-issues-4md) + - [Compatibility](#compatibility-5md) +FrameworkPTAdapter 2.0.3-- **[Before You Start](#before-you-start.md)** +- **[Before You Start](#before-you-startmd)** -- **[New Features](#new-features.md)** +- **[New Features](#new-featuresmd)** -- **[Modified Features](#modified-features.md)** +- **[Modified Features](#modified-featuresmd)** -- **[Resolved Issues](#resolved-issues.md)** +- **[Resolved Issues](#resolved-issuesmd)** -- **[Known Issues](#known-issues.md)** +- **[Known Issues](#known-issuesmd)** -- **[Compatibility](#compatibility.md)** +- **[Compatibility](#compatibilitymd)** -Before You Start+Before You StartThis framework is modified based on the open-source PyTorch 1.5.0 developed by Facebook, inherits native PyTorch features, and uses NPUs for dynamic image training. Models are adapted by operator granularity, code can be reused, and current networks can be ported and used on NPUs with only device types or data types modified. PyTorch 1.8.1 is supported by this version and later, and this version inherits the features of PyTorch 1.5.0 and provides the same functions, except for the profiling tool. In addition, it optimizes the backend operator adaptation. Currently, PyTorch 1.8.1 supports only the ResNet-50 network model. -New Features+New Features**Table 1** Features supported by PyTorch @@ -209,15 +209,15 @@ PyTorch 1.8.1 is supported by this version and later, and this version inherits |
---|
@@ -256,32 +256,32 @@ N/A |
---|
@@ -403,7 +403,7 @@ N/A |
---|