1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
//!Load Cifar10 //! //!Cifar10 Simple Loader //! //!Using [image](https://crates.io/crates/image) crate in CifarImage. //! //!##Examples //! //! Download CIFAR-10 binary version and extact. //! //!``` //!extern crate cifar_10_loader; //!use cifar_10_loader::CifarDataset; //! //!//This path is directory of cifar-10-batches-bin. //!//It's extracted from CIFAR-10 binary version. //!let cifar10_path = "./cifar-10-batches-bin/"; //!let cifar_dataset = CifarDataset::new(cifar10_path).unwrap(); //!``` //! //! pub extern crate image; pub use self::image_pub::CifarImage; pub use self::dataset::CifarDataset; use self::image_private::CifarImageTrait; mod image_private; mod image_pub; mod dataset;