<jupyter_start><jupyter_text>CIFAR10 Dataset===============This example shows how to download/load/import CIFAR10<jupyter_code>import symjax
import matplotlib.pyplot as plt

cifar10 = symjax.data.cifar10()

plt.figure(figsize=(10, 4))
for i in range(10):

    plt.subplot(2, 5, 1 + i)

    image = cifar10["train_set/images"][i]
    label = cifar10["train_set/labels"][i]

    plt.imshow(image.transpose((1, 2, 0)) / image.max(), aspect="auto", cmap="Greys")
    plt.xticks([])
    plt.yticks([])
    plt.title("{}:{}".format(label, cifar10["label_to_name"][label]))

plt.tight_layout()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.19480519480519481, 'fraction_numerical': 0.040584415584415584, 'mean_word_length': 5.360824742268041, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '81262', 'license': 'Apache-2.0', 'n_tokens_mistral': 265, 'n_tokens_neox': 242, 'n_words': 40, 'path': 'docs/auto_examples/02_datasets/plot_cifar10.ipynb', 'repo_name': 'RandallBalestriero/TheanoXLA', 'size': '616'}