forked from tensorflow/tensorboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data: perform downsampling in multiplexer provider (tensorflow#3272)
Summary: The `MultiplexerDataProvider` now respects its `downsample` parameter, even though the backing `PluginEventMultiplexer` already performs its own sampling. This serves two purposes: - It enforces that clients are always specifying the `downsample` argument, which is required. - It enables us to test plugins’ downsampling parameters to verify that they will behave correctly with other data providers. Test Plan: Unit tests included. Note that changing the `_DEFAULT_DOWNSAMPLING` constant in (e.g.) the scalars plugin to a small number (like `5`) now actually causes charts in the frontend to be downsampled. wchargin-branch: data-mux-downsample
- Loading branch information
Showing
3 changed files
with
112 additions
and
15 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