1 - `accuracy`

error_rate(inp, targ, axis = -1)

Arguments

inp

The predictions of the model

targ

The corresponding labels

axis

Axis

Value

tensor

Examples


if (FALSE) {

learn = cnn_learner(dls, resnet34(), metrics = error_rate)


}