Table of Contents

Class Capabilities

public sealed class Capabilities : LiteRTLMNativeHandle
Inheritance
object
Capabilities
Inherited Members

Constructors

Capabilities(string)

Loads a LiteRT-LM file from the given path for capability queries.

public Capabilities(string modelPath)

Parameters

modelPath string

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()