You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current sequence transforms - SequencePredictNext, SequencePredictLast, and SequencePredictRandom - don't generate _keras_mask information for inputs and targets. This is because these transforms extract the targets from the input sequence and return new truncated inputs that don't contain the target information.
However, the Model output API uses mask information to adjust the shape of predictions and targets. To ensure that the Model output API can work with all supported sequence transforms, we should add masking support to all sequence transforms and rely on the Model output API to align the model's predictions and targets accordingly.
This would ensure that the model output API can handle a range of sequence transforms and produce correct outputs, regardless of the specific transform used.
The text was updated successfully, but these errors were encountered:
🚀 Feature request
The current sequence transforms - SequencePredictNext, SequencePredictLast, and SequencePredictRandom - don't generate _keras_mask information for inputs and targets. This is because these transforms extract the targets from the input sequence and return new truncated inputs that don't contain the target information.
However, the Model output API uses mask information to adjust the shape of predictions and targets. To ensure that the Model output API can work with all supported sequence transforms, we should add masking support to all sequence transforms and rely on the Model output API to align the model's predictions and targets accordingly.
This would ensure that the model output API can handle a range of sequence transforms and produce correct outputs, regardless of the specific transform used.
The text was updated successfully, but these errors were encountered: