Are float16 MLMultiArray no-copy also? Will there be a copy event if I specify user-allocated MLMultiArray with float16 data into outputBackings?

The Neural Engine is unable to write into MLMultiArray directly unless it was initialized with an IOSurface-backed pixel buffer.

MLMultiArray.init(pixelBuffer:shape:)

Tagged with: