Module dfdx::data

source · []

Structs

A utility class to simplify sampling a fixed number of indices for data from a dataset.

Functions

One hot encodes an array of class labels into a Tensor2D of probability vectors. This can be used in tandem with cross_entropy_with_logits_loss().