dense 1.0.2

An encoder/decoder to/from dense files.
Documentation
# Dense



[![Crates.io](https://img.shields.io/crates/v/dense)](https://crates.io/crates/dense)
[![lib.rs.io](https://img.shields.io/crates/v/dense?color=blue&label=lib.rs)](https://lib.rs/crates/dense)
[![docs](https://img.shields.io/crates/v/dense?color=yellow&label=docs)](https://docs.rs/dense)

An encoder/decoder to/from dense files.

A file format simpler and denser than MNIST, a dense file is binary file of seqeuantial training examples and nothing else (example->label->example->label->etc.).

#### MNIST Testing data

Format | Size | Size on disk
--- | --- | ---
MNIST | 7,850,024 | 7,856,128
Dense | 7,850,000 | 7,852,032

#### Example

```rust
use ndarray::{Array2,array};

let data: Array2<usize> = array![[0, 0], [1, 0], [0, 1], [1, 1]];
let labels: Array2<usize> = array![[0], [1], [1], [0]];

dense::write("dense_reader",1,1,&data,&labels);

let (read_data,read_labels) = dense::read("dense_reader",2,1,1);
```