Contents

deleteEntries(for:)

Deletes all cache entries for a specific model, regardless of specialization options.

Declaration

final func deleteEntries(for modelURL: URL) throws

Parameters

  • modelURL:

    The URL of an .aimodel file that you previously specialized.

Mentioned in

Discussion

A model may have multiple entries in the cache. For example, one with cpuOnly and another with default. This method deletes all of them.