ArmCognitiveServicesModelFactory.DeploymentSpeculativeDecoding Method
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.
public static Azure.ResourceManager.CognitiveServices.Models.DeploymentSpeculativeDecoding DeploymentSpeculativeDecoding(Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel draftModel = default, int? draftTokenCount = default);
static member DeploymentSpeculativeDecoding : Azure.ResourceManager.CognitiveServices.Models.CognitiveServicesAccountDeploymentModel * Nullable<int> -> Azure.ResourceManager.CognitiveServices.Models.DeploymentSpeculativeDecoding
Public Shared Function DeploymentSpeculativeDecoding (Optional draftModel As CognitiveServicesAccountDeploymentModel = Nothing, Optional draftTokenCount As Nullable(Of Integer) = Nothing) As DeploymentSpeculativeDecoding
Parameters
- draftModel
- CognitiveServicesAccountDeploymentModel
Draft model used to generate speculative decoding tokens.
Returns
A new DeploymentSpeculativeDecoding instance for mocking.