-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[pre-commit.ci] pre-commit autoupdate (#35)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/mirrors-mypy: v1.4.0 → v1.4.1](pre-commit/mirrors-mypy@v1.4.0...v1.4.1) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * update commit hooks * add __version__ to __init__.py * rename df variables to be more descriptive * use typing.NamedTuple over collections.namedtuple * clean up ruff ignore * drop https://github.com/nbQA-dev/nbQA, use ruff beta jupyter support --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Janosh Riebesell <[email protected]>
- Loading branch information
1 parent
ec3ecba
commit 1ace02f
Showing
11 changed files
with
67 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
from tensorboard_reducer.load import load_tb_events as load_tb_events | ||
from tensorboard_reducer.main import main as main | ||
from tensorboard_reducer.reduce import reduce_events as reduce_events | ||
from tensorboard_reducer.write import write_data_file as write_data_file | ||
from tensorboard_reducer.write import write_df as write_df | ||
from tensorboard_reducer.write import write_tb_events as write_tb_events | ||
"""TensorBoard Reducer package. | ||
Author: Janosh Riebesell (2021-04-04) | ||
""" | ||
|
||
from importlib.metadata import PackageNotFoundError, version | ||
|
||
from tensorboard_reducer.load import load_tb_events | ||
from tensorboard_reducer.main import main | ||
from tensorboard_reducer.reduce import reduce_events | ||
from tensorboard_reducer.write import write_data_file, write_df, write_tb_events | ||
|
||
try: # noqa: SIM105 | ||
__version__ = version("tensorboard-reducer") | ||
except PackageNotFoundError: | ||
pass # package not installed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters