## TensorFlow I/O

```
import tensorflow as tf
import tensorflow_io as tfio
path = tf.keras.utils.get_file('setero.wav', 'https://upload.wikimedia.org/wikipedia/commons/e/ef/Bach_C_minor_Passacaglia_variation_with_ostinato_in_treble.wav')

# Open the file as a `tf.data.Dataset`
audio_ds = tfio.IODataset.from_audio(path)
# => <AudioIODataset shapes: (2,), types: tf.int16>

# Or as a virtual Tensor that loads what's needed.
audio_io = tfio.IOTensor.from_audio(path)
# =>  <AudioIOTensor: spec=TensorSpec(shape=(880640, 2), dtype=tf.int16, name=None), rate=44100>
slice = audio_io[:1024]
```
TensorFlow I/O is a collection of file systems and file formats that are not available in TensorFlow's built-in support.

It provides useful extra Dataset, streaming, and file system extensions, and is maintained by [TensorFlow SIG-IO](https://www.tensorflow.org/community/contribute/sigs.md.txt#sig_io).

### [TensorFlow I/O on GitHub](https://github.com/tensorflow/io)

### [Add a custom dataset](https://towardsdatascience.com/how-to-build-a-custom-dataset-for-tensorflow-1fe3967544d8)

### [Using Apache Arrow with TF-IO](https://medium.com/tensorflow/tensorflow-with-apache-arrow-datasets-cdbcfe80a59f)

### [Using Apache Ignite with TF-IO](https://medium.com/tensorflow/tensorflow-on-apache-ignite-99f1fc60efeb)