private static void writeMemoryStats(ApplicationPackage app, Path modelPath, OnnxMemoryStats memoryStats) throws IOException {
        String path = app.getFileReference(OnnxMemoryStats.memoryStatsFilePath(modelPath)).getAbsolutePath();
        IOUtils.writeFile(path, memoryStats.toJson().toPrettyString(), false);
    }
Defers to 'vespa-analyze-onnx-model' to determine the output type given
a set of inputs. For situations with symbolic dimension sizes that can't
easily be determined.

@author lesters
config-model/src/main/java/com/yahoo/vespa/model/ml/OnnxModelProbe.java