Table of Contents

Property EnableModelCache

Namespace
Qavren.Edge.Onnx
Assembly
Qavren.Edge.Onnx.dll

EnableModelCache

Emits ModelCacheDirectory. Unset, CoreML recompiles the captured subgraph on every session creation and leaks the artefact into the iOS tmp directory. The cache key is made content-addressed by the path itself: <OrtCache>/<modelId>/<sha16>.

public bool EnableModelCache { get; set; }

Property Value

bool