Class Capabilities
public sealed class Capabilities : LiteRTLMNativeHandle
- Inheritance
-
objectCapabilities
- Inherited Members
Constructors
Capabilities(string)
Loads a LiteRT-LM file from the given path for capability queries.
public Capabilities(string modelPath)
Parameters
modelPathstring
Exceptions
- InvalidOperationException
Thrown if the file cannot be opened.
Methods
HasSpeculativeDecodingSupport()
Returns true if the loaded LiteRT-LM file supports speculative decoding.
public bool HasSpeculativeDecodingSupport()
Returns
- bool
ReleaseUnmanagedResources()
protected override void ReleaseUnmanagedResources()