oa::TrainingValue

TrainingValue struct in the OA Ml public surface.

Public Methods

oa::Optional<oa::F64> oa::TrainingValue::asNumber()

Static Public Methods

static TrainingValue oa::TrainingValue::fromBool(oa::Bool inValue)
static TrainingValue oa::TrainingValue::fromFloat(oa::F64 inValue)
static TrainingValue oa::TrainingValue::fromInteger(oa::I64 inValue)
static TrainingValue oa::TrainingValue::fromString(oa::String inValue)

Public Data Members

booleanValueoa::Boolfield
floatValueoa::F64field
integeroa::I64field
kindTrainingValueKindfield
stringStringfield

Public Method Documentation

oa::Optional<oa::F64> oa::TrainingValue::asNumber()
No public source comment is attached to this declaration.

Returns

oa::Optional<oa::F64>

The declared return value.

static TrainingValue oa::TrainingValue::fromBool( oa::Bool inValue )
No public source comment is attached to this declaration.

Parameters

inValue
oa::Bool

Returns

TrainingValue

The declared return value.

static TrainingValue oa::TrainingValue::fromFloat( oa::F64 inValue )
No public source comment is attached to this declaration.

Parameters

inValue
oa::F64

Returns

TrainingValue

The declared return value.

static TrainingValue oa::TrainingValue::fromInteger( oa::I64 inValue )
No public source comment is attached to this declaration.

Parameters

inValue
oa::I64

Returns

TrainingValue

The declared return value.

static TrainingValue oa::TrainingValue::fromString( oa::String inValue )
No public source comment is attached to this declaration.

Parameters

inValue
oa::String

Returns

TrainingValue

The declared return value.