EvaluationResultExtensions.AddDiagnosticToAllMetrics 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.
Adds the supplied diagnostic
to all EvaluationMetrics contained in the
supplied result
.
public:
[System::Runtime::CompilerServices::Extension]
static void AddDiagnosticToAllMetrics(Microsoft::Extensions::AI::Evaluation::EvaluationResult ^ result, Microsoft::Extensions::AI::Evaluation::EvaluationDiagnostic ^ diagnostic);
public static void AddDiagnosticToAllMetrics (this Microsoft.Extensions.AI.Evaluation.EvaluationResult result, Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic diagnostic);
static member AddDiagnosticToAllMetrics : Microsoft.Extensions.AI.Evaluation.EvaluationResult * Microsoft.Extensions.AI.Evaluation.EvaluationDiagnostic -> unit
<Extension()>
Public Sub AddDiagnosticToAllMetrics (result As EvaluationResult, diagnostic As EvaluationDiagnostic)
Parameters
- result
- EvaluationResult
The EvaluationResult containing the EvaluationMetrics that are to be altered.
- diagnostic
- EvaluationDiagnostic
The EvaluationDiagnostic that is to be added.
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.