Class RepeatBlock
'Repeat' block
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Models
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class RepeatBlock : StatementBlock, IDisposable, IStatementBlock
Constructors
RepeatBlock(Variable<Double>)
Constructs 'for each' block from a range
Declaration
public RepeatBlock(Variable<double> count)
Parameters
Type | Name | Description |
---|---|---|
Variable<Double> | count |
Properties
Count
The variable that indicates the (possibly fractional) number of repeats.
Declaration
public Variable<double> Count { get; }
Property Value
Type | Description |
---|---|
Variable<Double> |
Methods
ToString()
ToString override
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |