alibi.datasets.tensorflow module


Loads the Fashion MNIST dataset.


return_X_y (bool) – If True, an N x M x P array of data points and N-array of labels are returned instead of a dict.

Return type:

Union[Bunch, Tuple[ndarray, ndarray]]


  • 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.