Skip to content

rust: create multi-file run loader #4343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tensorboard/data/server/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ rust_library(
"event_file.rs",
"masked_crc.rs",
"reservoir.rs",
"run.rs",
"scripted_reader.rs",
"tf_record.rs",
"types.rs",
Expand All @@ -50,6 +51,9 @@ rust_library(
rust_test(
name = "rustboard_core_test",
crate = ":rustboard_core",
deps = [
"//third_party/rust:tempfile",
],
)

rust_doc_test(
Expand Down
2 changes: 1 addition & 1 deletion tensorboard/data/server/data_compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ limitations under the License.
use crate::proto::tensorboard as pb;
use pb::{summary::value::Value, summary_metadata::PluginData};

const SCALARS_PLUGIN_NAME: &str = "scalars";
pub(crate) const SCALARS_PLUGIN_NAME: &str = "scalars";

/// Determines the metadata for a time series given its first event.
///
Expand Down
1 change: 1 addition & 0 deletions tensorboard/data/server/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pub mod data_compat;
pub mod event_file;
pub mod masked_crc;
pub mod reservoir;
pub mod run;
pub mod tf_record;
pub mod types;

Expand Down
Loading