OnnxRuntimeGenAIPromptExecutionSettings.TopK Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Top k tokens to sample from
[System.Text.Json.Serialization.JsonPropertyName("top_k")]
public int? TopK { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("top_k")>]
member this.TopK : Nullable<int> with get, set
Public Property TopK As Nullable(Of Integer)
Property Value
- Attributes