Class ReplicatePointOp
Inheritance
ReplicatePointOp
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Clone), "Replicate<>", new Type[]{}, Default = false)]
[Buffers(new string[]{"toDef"})]
[Quality(QualityBand.Preview)]
public static class ReplicatePointOp
Methods
DefAverageConditional<T>(T, T)
Declaration
public static T DefAverageConditional<T>(T toDef, T result)
where T : SettableTo<T>
Parameters
Type |
Name |
Description |
T |
toDef |
|
T |
result |
|
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|
LogEvidenceRatio<T>(IList<T>)
Declaration
public static double LogEvidenceRatio<T>(IList<T> uses)
Parameters
Type |
Name |
Description |
IList<T> |
uses |
|
Returns
Type Parameters
ToDef<T>(T[], T)
Declaration
public static T ToDef<T>([SkipIfAllUniform] T[] Uses, T result)
where T : SettableToProduct<T>, SettableTo<T>, SettableToUniform
Parameters
Type |
Name |
Description |
T[] |
Uses |
|
T |
result |
|
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|
ToDef<T>(IReadOnlyList<T>, T)
Declaration
public static T ToDef<T>([SkipIfAllUniform] IReadOnlyList<T> Uses, T result)
where T : SettableToProduct<T>, SettableTo<T>, SettableToUniform
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|
ToDefIncrement<T>(T, T)
Declaration
public static T ToDefIncrement<T>(T toDef, T use)
where T : SettableToProduct<T>
Parameters
Type |
Name |
Description |
T |
toDef |
|
T |
use |
|
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|
ToDefInit<T>(T)
Initialize the buffer toDef
.
Declaration
public static T ToDefInit<T>(T Def)
where T : ICloneable, SettableToUniform
Parameters
Type |
Name |
Description |
T |
Def |
Incoming message from Def .
|
Returns
Type |
Description |
T |
Initial value of buffer toDef .
|
Type Parameters
Name |
Description |
T |
The type of the messages.
|
UsesAverageConditional<T, TDef>(TDef, Int32, T)
Declaration
public static T UsesAverageConditional<T, TDef>(TDef Def, int resultIndex, T result)
where T : SettableTo<TDef>
Parameters
Type |
Name |
Description |
TDef |
Def |
|
Int32 |
resultIndex |
|
T |
result |
|
Returns
Type Parameters
Name |
Description |
T |
The type of the outgoing message.
|
TDef |
The type of the incoming message from Def .
|