Metric constructor

Metric({
  1. PointwiseMetricSpec? pointwiseMetricSpec,
  2. PairwiseMetricSpec? pairwiseMetricSpec,
  3. ExactMatchSpec? exactMatchSpec,
  4. BleuSpec? bleuSpec,
  5. RougeSpec? rougeSpec,
  6. List<Metric_AggregationMetric> aggregationMetrics = const [],
})

Implementation

Metric({
  this.pointwiseMetricSpec,
  this.pairwiseMetricSpec,
  this.exactMatchSpec,
  this.bleuSpec,
  this.rougeSpec,
  this.aggregationMetrics = const [],
}) : super(fullyQualifiedName);