TensorFlow 2.0 Beta is available Learn more

tf.data.experimental.make_batched_features_dataset

Aliases:

  • tf.compat.v1.data.experimental.make_batched_features_dataset
  • tf.data.experimental.make_batched_features_dataset
tf.data.experimental.make_batched_features_dataset(
    file_pattern,
    batch_size,
    features,
    reader=tf.data.TFRecordDataset,
    label_key=None,
    reader_args=None,
    num_epochs=None,
    shuffle=True,
    shuffle_buffer_size=10000,
    shuffle_seed=None,
    prefetch_buffer_size=optimization.AUTOTUNE,
    reader_num_threads=1,
    parser_num_threads=2,
    sloppy_ordering=False,
    drop_final_batch=False
)
View source on GitHub