Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella committed May 27, 2024
1 parent ddbd57f commit 2695b74
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/gluonts/torch/model/mq_cnn/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,13 +619,10 @@ def _create_instance_splitter(self, mode: str) -> Chain:
else []
)

decoder_series_fields = (
[
FieldName.FEAT_DYNAMIC,
FieldName.FEAT_DYNAMIC_CAT,
]
+ ([FieldName.OBSERVED_VALUES] if mode != "test" else [])
)
decoder_series_fields = [
FieldName.FEAT_DYNAMIC,
FieldName.FEAT_DYNAMIC_CAT,
] + ([FieldName.OBSERVED_VALUES] if mode != "test" else [])

decoder_disabled_fields = (
[FieldName.FEAT_DYNAMIC, FieldName.FEAT_DYNAMIC_CAT]
Expand Down

0 comments on commit 2695b74

Please sign in to comment.