MindSpore Probability Python API
Probability.
The high-level components used to construct the probabilistic network.
Bayesian Layers
API Name |
Description |
Supported Platforms |
Convolutional variational layers with Reparameterization. |
|
|
Dense variational layers with Local Reparameterization. |
|
|
Dense variational layers with Reparameterization. |
|
Prior and Posterior Distributions
API Name |
Description |
Supported Platforms |
Build Normal distributions with trainable parameters. |
|
|
To initialize a normal distribution of mean 0 and standard deviation 0.1. |
|
Bayesian Wrapper Functions
API Name |
Description |
Supported Platforms |
Generate a suitable WithLossCell for BNN to wrap the bayesian network with loss function. |
|
Deep Probability Networks
API Name |
Description |
Supported Platforms |
Conditional Variational Auto-Encoder (CVAE). |
|
|
Variational Auto-Encoder (VAE). |
|
Infer
API Name |
Description |
Supported Platforms |
The Evidence Lower Bound (ELBO). |
|
|
Stochastic Variational Inference(SVI). |
|
ToolBox
API Name |
Description |
Supported Platforms |
Toolbox for Uncertainty Evaluation. |
|
|
Toolbox for anomaly detection by using VAE. |
|
Model Transformer
API Name |
Description |
Supported Platforms |
Transform Deep Neural Network (DNN) model to Bayesian Neural Network (BNN) model. |
|