Initializer

init(from:)

Creates an dictionary from a machine learning data value.

Declaration

init?(from dataValue: MLDataValue)
Available when Key conforms to MLDataValueConvertible and Value conforms to MLDataValueConvertible.

Relationships

See Also

Converting Between Dictionaries and Create ML Types

var dataValue: MLDataValue

static var dataValueType: MLDataValue.ValueType

The kind of machine learning data value to which the dictionary may be converted.