Generated Tutorial Dataset Paths #
TorchLean tutorials can generate deterministic sample datasets under NN/Examples/Data/.
This module centralizes:
- the default data directory,
- the file paths of the generated sample datasets, and
- a CLI helper for overriding the directory via
--data-dir.
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).