Learn R Programming

rTorch (version 0.4.2)

dataset_mnist_digits: MNIST database of handwritten digits

Description

Dataset of 60,000 28x28 grayscale images of the 10 digits, along with a test set of 10,000 images.

Usage

dataset_mnist_digits(ntrain = 60000L, ntest = 10000L, onehot = TRUE)

Arguments

ntrain

number of training samples

ntest

number of test samples

onehot

boolean