MCPcopy Index your code
hub / github.com/tensorflow/tfjs / updateCacheMaxEntries

Function updateCacheMaxEntries

tfjs-layers/src/engine/executor.ts:195–202  ·  view source on GitHub ↗
(maxEntries: number)

Source from the content-addressed store, hash-verified

193 new LruCache<RecipientCounts>();
194
195export function updateCacheMaxEntries(maxEntries: number) {
196 if (cachedSorted != null) {
197 cachedSorted.setMaxEntries(maxEntries);
198 }
199 if (cachedRecipientCounts != null) {
200 cachedRecipientCounts.setMaxEntries(maxEntries);
201 }
202}
203
204/**
205 * Interface for the optional object used for probing the memory

Callers

nothing calls this directly

Calls 1

setMaxEntriesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…