Creates a dataset that fuses mapping with batching.
tf.raw_ops.MapAndBatchDataset(
    input_dataset,
    other_arguments,
    batch_size,
    num_parallel_calls,
    drop_remainder,
    f,
    output_types,
    output_shapes,
    preserve_cardinality=False,
    metadata='',
    name=None
)
Creates a dataset that applies f to the outputs of input_dataset and then
batches batch_size of them.
Unlike a "MapDataset", which applies f sequentially, this dataset invokes up
to batch_size * num_parallel_batches copies of f in parallel.
| Args | |
|---|---|
| input_dataset | A Tensorof typevariant.
A variant tensor representing the input dataset. | 
| other_arguments | A list of Tensorobjects.
A list of tensors, typically values that were captured when building a closure
forf. | 
| batch_size | A Tensorof typeint64.
A scalar representing the number of elements to accumulate in a
batch. It determines the number of concurrent invocations offthat process
elements frominput_datasetin parallel. | 
| num_parallel_calls | A Tensorof typeint64.
A scalar representing the maximum number of parallel invocations of themap_fnfunction. Applying themap_fnon consecutive input elements in parallel has
the potential to improve input pipeline throughput. | 
| drop_remainder | A Tensorof typebool.
A scalar representing whether the last batch should be dropped in case its size
is smaller than desired. | 
| f | A function decorated with @Defun.
A function to apply to the outputs of input_dataset. | 
| output_types | A list of tf.DTypesthat has length>= 1. | 
| output_shapes | A list of shapes (each a tf.TensorShapeor list ofints) that has length>= 1. | 
| preserve_cardinality | An optional bool. Defaults toFalse. | 
| metadata | An optional string. Defaults to"". | 
| name | A name for the operation (optional). | 
| Returns | |
|---|---|
| A Tensorof typevariant. |