Provide the shape of a data.
Provide the shape of a data.
DataDescriptor
this.
Provide the shape of a label.
Provide the shape of a label.
LabelDescriptor
this.
Set the bucket key, used for bucketing module.
Set the bucket key, used for bucketing module.
the bucket key related to this batch.
this.
Set the input data.
Set the input data.
a list of data.
this.
Set the example indices in this batch.
Set the example indices in this batch.
indices in the same order of data.
this.
Set the labels in the same order of data.
Set the labels in the same order of data.
a list of labels.
this.
Set the pad.
Set the pad.
The number of examples padded at the end of a batch. It is used when the
total number of examples read is not divisible by the batch_size
.
These extra padded examples are ignored in prediction.
this
Builder class for DataBatch.