imagenet_decode_predictions: Decodes the prediction of an ImageNet model.

Description Usage Arguments Value

View source: R/applications.R

Description

Decodes the prediction of an ImageNet model.

Usage

1

Arguments

preds

Tensor encoding a batch of predictions.

top

integer, how many top-guesses to return.

Value

List of data frames with variables class_name, class_description, and score (one data frame per sample in batch input).


keras documentation built on Oct. 9, 2019, 1:04 a.m.