Accuracy

class Accuracy : Metric

See also

Constructors

Accuracy
Link copied to clipboard
fun Accuracy()

Functions

apply
Link copied to clipboard
open override fun apply(tf: Ops, yPred: Operand<Float>, yTrue: Operand<Float>, numberOfLabels: Operand<Float>?): Operand<Float>

Applies Metric to the yPred labels predicted by the model and known yTrue hidden during training.

Properties

reductionType
Link copied to clipboard
val reductionType: ReductionType

Reduction type. Should be defined in sub-class