foolbox.utils

foolbox.utils.accuracy(fmodel, inputs, labels)
Parameters
Return type

float

foolbox.utils.samples(fmodel, dataset='imagenet', index=0, batchsize=1, shape=(224, 224), data_format=None, bounds=None)
Parameters
Return type

Any