shapedArrayValue(of:)

Returns the shaped array value, if the contained value is a shaped array of the specified type.

Declaration

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