DeploymentSpeculativeDecoding Class
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.
Speculative decoding settings for a deployment.
public class DeploymentSpeculativeDecoding : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.Models.DeploymentSpeculativeDecoding>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.Models.DeploymentSpeculativeDecoding>
type DeploymentSpeculativeDecoding = class
interface IJsonModel<DeploymentSpeculativeDecoding>
interface IPersistableModel<DeploymentSpeculativeDecoding>
Public Class DeploymentSpeculativeDecoding
Implements IJsonModel(Of DeploymentSpeculativeDecoding), IPersistableModel(Of DeploymentSpeculativeDecoding)
- Inheritance
-
DeploymentSpeculativeDecoding
- Implements
Constructors
| Name | Description |
|---|---|
| DeploymentSpeculativeDecoding(CognitiveServicesAccountDeploymentModel) |
Initializes a new instance of DeploymentSpeculativeDecoding. |
Properties
| Name | Description |
|---|---|
| DraftModel |
Draft model used to generate speculative decoding tokens. |
| DraftTokenCount |
The number of draft tokens attempted per speculation step. |