Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella committed May 9, 2024
1 parent b68ac6e commit 5b5b82e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/chronos/chronos.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,11 @@ def input_transform(
to align time series of different lengths.
tokenizer_state
An object returned by ``input_transform`` containing
relevant context to preprocess data, such as location and scale.
The nature of this depends on the specific tokenizer.
relevant information to preprocess data, such as location and
scale. The nature of this depends on the specific tokenizer.
This is useful when tokenizing the label (for training), in
order to use the same scaling used to tokenize the context;
when tokenizing the context, this argument should be ignored.
Returns
-------
Expand All @@ -90,7 +93,7 @@ def input_transform(
missing nor padding).
tokenizer_state
An object that will be passed to ``output_transform``.
Contains the relevant context to decode output samples into
Contains the relevant information to decode output samples into
real values, such as location and scale parameters.
"""
raise NotImplementedError()
Expand Down

0 comments on commit 5b5b82e

Please sign in to comment.