Sprog

InferenceModelFactory.LatencyResult Method

Definition

The result of the latency in the semantic reranking operation.

public static Azure.Data.AI.LatencyResult LatencyResult(TimeSpan? dataPreprocessDuration = default, TimeSpan? inferenceDuration = default, TimeSpan? postProcessDuration = default);
static member LatencyResult : Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> Azure.Data.AI.LatencyResult
Public Shared Function LatencyResult (Optional dataPreprocessDuration As Nullable(Of TimeSpan) = Nothing, Optional inferenceDuration As Nullable(Of TimeSpan) = Nothing, Optional postProcessDuration As Nullable(Of TimeSpan) = Nothing) As LatencyResult

Parameters

dataPreprocessDuration
Nullable<TimeSpan>

The time spent on data preprocessing in the semantic reranking operation, in milliseconds.

inferenceDuration
Nullable<TimeSpan>

The time spent on inference in the semantic reranking operation, in milliseconds.

postProcessDuration
Nullable<TimeSpan>

The time spent on post-processing in the semantic reranking operation, in milliseconds.

Returns

A new LatencyResult instance for mocking.

Applies to