EvaluationMetric<T>(String, T) Constructor
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.
An abstract base class that represents the result of an evaluation containing a value of type
T
.
protected:
EvaluationMetric(System::String ^ name, T value);
protected EvaluationMetric (string name, T? value);
new Microsoft.Extensions.AI.Evaluation.EvaluationMetric<'T> : string * 'T -> Microsoft.Extensions.AI.Evaluation.EvaluationMetric<'T>
Protected Sub New (name As String, value As T)
Parameters
- name
- String
The name of the EvaluationMetric<T>.
- value
- T
The value of the EvaluationMetric<T>.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.