|
|
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="obsSize"></param>
|
|
|
|
/// <param name="maxNumObs"></param>
|
|
|
|
/// <param name="obsType"></param>
|
|
|
|
public static ObservationSpec VariableLength(int obsSize, int maxNumObs, ObservationType obsType = ObservationType.Default) |
|
|
|
public static ObservationSpec VariableLength(int obsSize, int maxNumObs) |
|
|
|
{ |
|
|
|
var dimProps = new InplaceArray<DimensionProperty>( |
|
|
|
DimensionProperty.VariableSize, |
|
|
|
|
|
|
new InplaceArray<int>(obsSize, maxNumObs), |
|
|
|
dimProps, |
|
|
|
obsType |
|
|
|
dimProps |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|