TorchLean API

NN.Examples.Data.SamplePaths

Generated Tutorial Dataset Paths #

TorchLean tutorials can generate deterministic sample datasets under NN/Examples/Data/. This module centralizes:

Keeping these paths in one module keeps tutorial code from hardcoding filenames or reimplementing the same flag parsing in each example.

Default relative directory containing generated tutorial datasets.

Tutorials that accept --data-dir read it with TorchLean.CLI.takePathFlag args "data-dir" (default := defaultDataDir).

Instances For

    small_regression.csv (2D regression).

    Instances For

      small_regression_X.npy (shape 25x2).

      Instances For

        small_regression_y.npy (shape 25x1).

        Instances For

          small_cifar10like_X.npy (shape 200x3x32x32).

          Instances For

            small_cifar10like_y.npy (shape 200).

            Instances For