In steps 1 and 2, we used AlignmentMode while creating the iterators for the training and test datasets. The AlignmentMode deals with input/labels of varying lengths (for example, one-to-many and many-to-one situations). Here are some types of alignment modes:
- ALIGN_END: This is intended to align labels or input at the last time step. Basically, it adds zero padding at the end of either the input or the labels.
- ALIGN_START: This is intended to align labels or input at the first time step. Basically, it adds zero padding at the end of the input or the labels.
- EQUAL_LENGTH: This assumes that the input time series and label are of the same length, and all examples are the same length.
- SequenceRecordReaderDataSetIterator: This ...