CompiledGraphCache
Models & Types · AiDotNet.Tensors.Engines.Gpu.Graph
No summary documentation available yet.
Implements: IDisposable
Constructors
| Constructor | Summary |
|---|---|
CompiledGraphCache(int maxSize) |
Properties
| Property | Summary |
|---|---|
int Count { get; } |
Methods
| Method | Summary |
|---|---|
ExecutionGraph GetOrCompile(string key, Func<ExecutionGraph> buildFunc) |
|
bool Remove(string key) |
|
bool TryGet(string key, ExecutionGraph graph) |
|
void Add(string key, ExecutionGraph graph) |
|
void Clear() |
|
void Dispose() |