alibi.datasets.tensorflow module
- alibi.datasets.tensorflow.fetch_fashion_mnist(return_X_y=False)[source]
Loads the Fashion MNIST dataset.
- Parameters:
return_X_y (
bool
) – IfTrue
, an N x M x P array of data points and N-array of labels are returned instead of a dict.- Return type:
- Returns:
If
return_X_y=False
, a Bunch object with fields ‘data’, ‘targets’ and ‘target_names’is returned. Otherwise an array with data points and an array of labels is returned.