Contents

shapedArrayValue(of:)

Returns the underlying shaped array of the feature value.

Declaration

func shapedArrayValue<Scalar>(of type: Scalar.Type) -> MLShapedArray<Scalar>? where Scalar : MLShapedArrayScalar

Parameters

  • type:

    The scalar type of the underlying shaped array.

See Also

Accessing the feature’s value