Browse Source

!31913 Modify the English Link

Merge pull request !31913 from 宦晓玲/code_docs_325
r1.7
i-robot Gitee 4 years ago
parent
commit
aba48e688b
No known key found for this signature in database GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 5 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      docs/api/api_python/mindspore.ops.functional.rst
  3. +3
    -3
      mindspore/python/mindspore/nn/probability/README.md

+ 1
- 1
README.md View File

@@ -239,7 +239,7 @@ please check out [docker](https://gitee.com/mindspore/mindspore/blob/master/scri

## Quickstart

See the [Quick Start](https://www.mindspore.cn/tutorials/en/master/quick_start.html)
See the [Quick Start](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html)
to implement the image classification.

## Docs


+ 1
- 1
docs/api/api_python/mindspore.ops.functional.rst View File

@@ -260,7 +260,7 @@ functional算子是经过初始化后的Primitive,可以直接作为函数使
* - mindspore.ops.stack
- Refer to :class:`mindspore.ops.Stack`.
* - mindspore.ops.stop_gradient
- Disable update during back propagation. (`stop_gradient <https://www.mindspore.cn/tutorials/en/master/beginner/autograd.html#stop-gradient>`_)
- Disable update during back propagation. (`stop_gradient <https://www.mindspore.cn/tutorials/en/master/beginner/autograd.html#stopping-gradient>`_)
* - mindspore.ops.strided_slice
- Refer to :class:`mindspore.ops.StridedSlice`.
* - mindspore.ops.string_concat


+ 3
- 3
mindspore/python/mindspore/nn/probability/README.md View File

@@ -42,7 +42,7 @@ MDP requires MindSpore version 0.7.0-beta or later. MDP is actively evolving. In

### Bayesian Neural Network

1. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/quick_start.html) in Tutorial.
1. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html) in Tutorial.

2. Define a Bayesian Neural Network. The bayesian LeNet is used in this example.

@@ -227,7 +227,7 @@ optimizer = nn.Adam(params=vae.trainable_params(), learning_rate=0.001)
net_with_loss = nn.WithLossCell(vae, net_loss)
```

3. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/quick_start.html) in Tutorial.
3. Process the required dataset. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html) in Tutorial.
4. Use SVI interface to train VAE network. vi.run can return the trained network, get_train_loss can get the loss after training.

```python
@@ -437,7 +437,7 @@ if __name__ == "__main__":

The uncertainty estimation toolbox is based on MindSpore Deep Probabilistic Programming (MDP), and it is suitable for mainstream deep learning models, such as regression, classification, target detection and so on. In the inference stage, with the uncertainy estimation toolbox, developers only need to pass in the trained model and training dataset, specify the task and the samples to be estimated, then can obtain the aleatoric uncertainty and epistemic uncertainty. Based the uncertainty information, developers can understand the model and the dataset better.

In classification task, for example, the model is lenet model. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/quick_start.html) in Tutorial. For evaluating the uncertainty of test examples, the use of the toolbox is as follows:
In classification task, for example, the model is lenet model. The MNIST dateset is used in the example. Data processing is consistent with [Implementing an Image Classification Application](https://www.mindspore.cn/tutorials/en/master/beginner/quick_start.html) in Tutorial. For evaluating the uncertainty of test examples, the use of the toolbox is as follows:

```python
from mindspore.nn.probability.toolbox.uncertainty_evaluation import UncertaintyEvaluation


Loading…
Cancel
Save