Example MNIST pipeline using new interface