SharedVariable<DomainType>
Name
SharedVariable()
IsEvidenceVariable
GetCopyFor(Model)
GetEvidenceCorrection()
InferOutput(IGeneratedAlgorithm, Model, Int32)
InferOutput(InferenceEngine, Model, Int32)
Marginal<T>()
Named(String)
Random<DistributionType>(DistributionType, Boolean)
Random<DistributionArrayType>(Range, DistributionArrayType, Boolean)
Random<DistributionArrayType>(VariableArray<DomainType>, Range, DistributionArrayType, Boolean)
Random<ItemType, DistributionArrayType>(ItemType, Range, DistributionArrayType, Boolean)
SetDefinitionTo(Model, Variable<DomainType>)
SetInput(Model, Int32)
ToString()
net10.0-windows7.0
namespace Microsoft.ML.Probabilistic.Models
{
public abstract class SharedVariable<DomainType> : Object, ISharedVariable
{
public static ISharedVariableArray<VariableArray<DomainType>, DomainType[][]> Random<DistributionArrayType>(VariableArray<DomainType> itemPrototype, Range range, DistributionArrayType prior, ? divideMessages = true)
where DistributionArrayType, CanGetLogAverageOf<DistributionArrayType>, IDistribution<DomainType[][]>, Sampleable<DomainType[][]>, SettableToUniform, SettableTo<DistributionArrayType>, SettableToProduct<DistributionArrayType>, SettableToRatio<DistributionArrayType>, ICloneable;
}
}
| .NET | 5.06.07.08.09.010.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net10.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
| Assembly | Microsoft.ML.Probabilistic.Compiler , Version=0.4.2403.801, PublicKeyToken=e4813102a62778da |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.ML.Probabilistic.Compiler (0.4.2403.801) netstandard2.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API