Is direct writing to IOSurface-backed buffers compatible with flexible shape input/outputs?

As the application needs to prepare the output buffer in outputBackings property, it must know the shape of the output before invoking the inference. Some flexible shape models (e.g. enumerated input shapes) meet the criteria, but so called “dynamic shape”, where the output shape is dynamically determined by the network, won’t work.

Tagged with: