Contents

init(from:)

Creates a data-value multidimensional array from another instance.

Declaration

init?(from dataValue: MLDataValue)

Discussion

Use this initializer to create an MLDataValue.MultiArrayType from another multiarray instance. You can confirm the data value’s underlying type by retrieving a non-nil value from multiArrayValue or by inspecting the type property.