InferenceModelFactory.LatencyResult 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.
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
The time spent on data preprocessing in the semantic reranking operation, in milliseconds.
The time spent on inference in the semantic reranking operation, in milliseconds.
The time spent on post-processing in the semantic reranking operation, in milliseconds.
Returns
A new LatencyResult instance for mocking.