├── .bazelrc ├── .bazelversion ├── .clang-format ├── .dockerignore ├── .git-blame-ignore-revs ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── installation_problem.md ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci.yml │ └── nightly-release.yml ├── .gitignore ├── .mailmap ├── .prettierrc.json ├── ADDING_A_PLUGIN.md ├── AUTHORS ├── BUILD ├── CONTRIBUTING.md ├── DEVELOPMENT.md ├── Dockerfile ├── LICENSE ├── README.md ├── RELEASE.md ├── SECURITY.md ├── WORKSPACE ├── ci ├── bazelrc ├── download_bazel.sh ├── download_buildifier.sh ├── download_buildozer.sh └── download_executable.sh ├── docs ├── .yamllint ├── _book.yaml ├── _index.yaml ├── api_docs │ ├── README.md │ └── python │ │ ├── _toc.yaml │ │ └── index.md ├── debugger_v2.md ├── design │ ├── colab_integration.md │ ├── generic_data_apis.md │ ├── generic_data_auth.md │ ├── generic_data_ingestion.md │ ├── images │ │ ├── .gitattributes │ │ ├── colab_screenshot.png │ │ └── rustboard_data_flow.svg │ ├── route_namespaced_state.md │ └── rustboard.md ├── get_started.ipynb ├── graphs.ipynb ├── hyperparameter_tuning_with_hparams.ipynb ├── image_summaries.ipynb ├── images │ ├── debugger_v2_1_full_view.png │ ├── debugger_v2_2_nan_inf_alerts.png │ ├── debugger_v2_3_graph_input.png │ ├── debugger_v2_4_source_code.png │ ├── embedding_projector.png │ ├── embedding_projector_anderson.png │ ├── embedding_projector_hitchcock.png │ ├── example_basic.png │ ├── example_raw_scalars.png │ ├── graphs_autograph.png │ ├── graphs_computation.png │ ├── graphs_computation_detail.png │ ├── graphs_conceptual.png │ ├── graphs_tag_selection.png │ ├── hparams_parallel_coordinates.png │ ├── hparams_table.png │ ├── images_accuracy.png │ ├── images_arbitrary.png │ ├── images_cm.png │ ├── images_multiple.png │ ├── images_single.png │ ├── notebook_tensorboard.png │ ├── notebook_tensorboard_tall.png │ ├── notebook_tensorboard_two_runs.png │ ├── profiler_overview_page_bad_ip.png │ ├── profiler_overview_page_good_ip.png │ ├── profiler_trace_viewer_bad_ip.png │ ├── profiler_trace_viewer_good_ip.png │ ├── quickstart_gradient_tape.png │ ├── quickstart_model_fit.png │ ├── scalars_custom_lr.png │ ├── scalars_loss.png │ ├── tensorboard.gif │ ├── text_simple.png │ ├── what_if_tool.png │ └── what_if_tool_demo_setup.png ├── migrate.ipynb ├── r1 │ ├── graphs.md │ ├── histograms.md │ ├── overview.md │ └── summaries.md ├── scalars_and_keras.ipynb ├── tensorboard_in_notebooks.ipynb ├── tensorboard_profiling_keras.ipynb ├── tensorboard_projector_plugin.ipynb ├── text_summaries.ipynb └── what_if_tool.md ├── package.json ├── patches ├── @angular+build-tooling+0.0.0-7d103b83a07f132629592fc9918ce17d42a5e382.patch ├── @bazel+concatjs+5.7.0.patch ├── BUILD └── README.md ├── pyproject.toml ├── tensorboard ├── BUILD ├── __init__.py ├── __main__.py ├── assets.py ├── assets_test.py ├── auth.py ├── auth_test.py ├── backend │ ├── BUILD │ ├── __init__.py │ ├── application.py │ ├── application_test.py │ ├── auth_context_middleware.py │ ├── auth_context_middleware_test.py │ ├── client_feature_flags.py │ ├── client_feature_flags_test.py │ ├── empty_path_redirect.py │ ├── empty_path_redirect_test.py │ ├── event_processing │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── data_ingester.py │ │ ├── data_ingester_test.py │ │ ├── data_provider.py │ │ ├── data_provider_test.py │ │ ├── directory_loader.py │ │ ├── directory_loader_test.py │ │ ├── directory_watcher.py │ │ ├── directory_watcher_test.py │ │ ├── event_accumulator.py │ │ ├── event_accumulator_test.py │ │ ├── event_file_inspector.py │ │ ├── event_file_inspector_test.py │ │ ├── event_file_loader.py │ │ ├── event_file_loader_test.py │ │ ├── event_multiplexer.py │ │ ├── event_multiplexer_test.py │ │ ├── event_util.py │ │ ├── event_util_test.py │ │ ├── io_wrapper.py │ │ ├── io_wrapper_test.py │ │ ├── plugin_asset_util.py │ │ ├── plugin_event_accumulator.py │ │ ├── plugin_event_accumulator_test.py │ │ ├── plugin_event_multiplexer.py │ │ ├── plugin_event_multiplexer_test.py │ │ ├── reservoir.py │ │ ├── reservoir_test.py │ │ └── tag_types.py │ ├── experiment_id.py │ ├── experiment_id_test.py │ ├── experimental_plugin.py │ ├── http_util.py │ ├── http_util_test.py │ ├── json_util.py │ ├── json_util_test.py │ ├── path_prefix.py │ ├── path_prefix_test.py │ ├── process_graph.py │ ├── security_validator.py │ └── security_validator_test.py ├── compat │ ├── BUILD │ ├── __init__.py │ ├── proto │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── allocation_description.proto │ │ ├── api_def.proto │ │ ├── attr_value.proto │ │ ├── cluster.proto │ │ ├── config.proto │ │ ├── coordination_config.proto │ │ ├── cost_graph.proto │ │ ├── cpp_shape_inference.proto │ │ ├── debug.proto │ │ ├── event.proto │ │ ├── full_type.proto │ │ ├── function.proto │ │ ├── graph.proto │ │ ├── graph_debug_info.proto │ │ ├── histogram.proto │ │ ├── meta_graph.proto │ │ ├── node_def.proto │ │ ├── op_def.proto │ │ ├── proto_test.py │ │ ├── resource_handle.proto │ │ ├── rewriter_config.proto │ │ ├── rpc_options.proto │ │ ├── saved_object_graph.proto │ │ ├── saver.proto │ │ ├── step_stats.proto │ │ ├── struct.proto │ │ ├── summary.proto │ │ ├── tensor.proto │ │ ├── tensor_description.proto │ │ ├── tensor_shape.proto │ │ ├── tfprof_log.proto │ │ ├── trackable_object_graph.proto │ │ ├── types.proto │ │ ├── update.sh │ │ ├── variable.proto │ │ ├── verifier_config.proto │ │ └── versions.proto │ └── tensorflow_stub │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── app.py │ │ ├── compat │ │ ├── __init__.py │ │ └── v1 │ │ │ └── __init__.py │ │ ├── dtypes.py │ │ ├── error_codes.py │ │ ├── errors.py │ │ ├── flags.py │ │ ├── io │ │ ├── __init__.py │ │ ├── gfile.py │ │ ├── gfile_fsspec_test.py │ │ ├── gfile_s3_test.py │ │ ├── gfile_test.py │ │ └── gfile_tf_test.py │ │ ├── pywrap_tensorflow.py │ │ └── tensor_shape.py ├── components │ ├── BUILD │ ├── analytics.ts │ ├── experimental │ │ ├── plugin_lib │ │ │ ├── BUILD │ │ │ ├── core.ts │ │ │ ├── index.ts │ │ │ ├── plugin-guest.ts │ │ │ ├── polymer-interop.html │ │ │ ├── polymer-interop.ts │ │ │ └── runs.ts │ │ └── plugin_util │ │ │ ├── BUILD │ │ │ ├── core-host-impl.ts │ │ │ ├── message.ts │ │ │ ├── message_types.ts │ │ │ ├── plugin-host-ipc.ts │ │ │ ├── plugin_api_host_module.ts │ │ │ ├── plugin_api_host_test.ts │ │ │ ├── runs-host-impl.ts │ │ │ └── testing.ts │ ├── polymer │ │ ├── BUILD │ │ ├── dark_mode_mixin.ts │ │ ├── dom-repeat.ts │ │ ├── dom.ts │ │ ├── irons_and_papers.ts │ │ ├── legacy_class.ts │ │ ├── legacy_element_mixin.ts │ │ ├── paper_inky_focus_behavior.ts │ │ ├── plottable-style.uninlined.ts │ │ ├── register_style_dom_module.ts │ │ └── utils_mixin.ts │ ├── polymer3_interop_helper.ts │ ├── polymer3_lib.ts │ ├── security.ts │ ├── tb_debug │ │ ├── BUILD │ │ ├── index.ts │ │ └── types.ts │ ├── tensor_widget │ │ ├── BUILD │ │ ├── README.md │ │ ├── colormap-test.ts │ │ ├── colormap.ts │ │ ├── dtype-utils-test.ts │ │ ├── dtype-utils.ts │ │ ├── externs.js │ │ ├── health-pill-types.ts │ │ ├── menu.ts │ │ ├── selection-test.ts │ │ ├── selection.ts │ │ ├── shape-utils-test.ts │ │ ├── shape-utils.ts │ │ ├── slicing-control.ts │ │ ├── string-utils-test.ts │ │ ├── string-utils.ts │ │ ├── tensor-widget-impl.ts │ │ ├── tensor-widget-interop.ts │ │ ├── tensor-widget-style.uninlined.ts │ │ ├── tensor-widget.css │ │ ├── tensor-widget.html │ │ ├── tensor-widget.ts │ │ ├── types.ts │ │ └── version.ts │ ├── tf_backend │ │ ├── BUILD │ │ ├── backend.ts │ │ ├── baseStore.ts │ │ ├── canceller.ts │ │ ├── environmentStore.ts │ │ ├── experimentsStore.ts │ │ ├── requestManager.ts │ │ ├── router.ts │ │ ├── runsStore.ts │ │ ├── tf-backend-polymer.ts │ │ ├── tf-backend.ts │ │ ├── type.ts │ │ └── urlPathHelpers.ts │ ├── tf_card_heading │ │ ├── BUILD │ │ ├── tf-card-heading-style.ts │ │ ├── tf-card-heading.ts │ │ └── util.ts │ ├── tf_categorization_utils │ │ ├── BUILD │ │ ├── categorizationUtils.ts │ │ └── tf-tag-filterer.ts │ ├── tf_color_scale │ │ ├── BUILD │ │ ├── colorScale.ts │ │ ├── palettes.ts │ │ └── tf-color-scale-polymer.ts │ ├── tf_dashboard_common │ │ ├── BUILD │ │ ├── array-update-helper.ts │ │ ├── dashboard-style.ts │ │ ├── data-loader-behavior.ts │ │ ├── run-color-style.ts │ │ ├── scrollbar-style.ts │ │ ├── tensorboard-color.ts │ │ ├── tf-dashboard-layout.ts │ │ ├── tf-downloader.ts │ │ ├── tf-dropdown-trigger.ts │ │ ├── tf-filterable-checkbox-dropdown.ts │ │ ├── tf-filterable-checkbox-list.ts │ │ ├── tf-multi-checkbox.ts │ │ ├── tf-no-data-warning.ts │ │ └── tf-option-selector.ts │ ├── tf_feature_flags │ │ ├── BUILD │ │ ├── feature-flags-test.ts │ │ ├── feature-flags.ts │ │ └── tf-feature-flags-polymer.ts │ ├── tf_globals │ │ ├── BUILD │ │ ├── globals-polymer.ts │ │ └── globals.ts │ ├── tf_imports │ │ ├── BUILD │ │ └── roboto.html │ ├── tf_line_chart_data_loader │ │ ├── BUILD │ │ └── tf-line-chart-data-loader.ts │ ├── tf_markdown_view │ │ ├── BUILD │ │ ├── sanitize.ts │ │ └── tf-markdown-view.ts │ ├── tf_paginated_view │ │ ├── BUILD │ │ ├── index.ts │ │ ├── paginatedViewStore.ts │ │ ├── tf-category-paginated-view.ts │ │ ├── tf-dom-repeat.ts │ │ └── tf-paginated-view-store.ts │ ├── tf_runs_selector │ │ ├── BUILD │ │ └── tf-runs-selector.ts │ ├── tf_storage │ │ ├── BUILD │ │ ├── index.ts │ │ ├── listeners.ts │ │ ├── storage.ts │ │ ├── storage_utils.ts │ │ └── tf-storage-polymer.ts │ ├── tf_utils │ │ ├── BUILD │ │ └── utils.ts │ ├── tf_wbr_string │ │ ├── BUILD │ │ └── tf-wbr-string.ts │ ├── vz_chart_helpers │ │ ├── BUILD │ │ ├── plottable-interactions.ts │ │ ├── vz-chart-helpers.ts │ │ └── vz-chart-tooltip.ts │ ├── vz_line_chart2 │ │ ├── BUILD │ │ ├── dragZoomInteraction.ts │ │ ├── line-chart-exporter.ts │ │ ├── line-chart.ts │ │ ├── linear-scale.ts │ │ ├── log-scale.ts │ │ ├── microbenchmark │ │ │ ├── README.md │ │ │ ├── async.ts │ │ │ ├── main.html │ │ │ ├── main.ts │ │ │ ├── polymer_util.ts │ │ │ ├── renders_spec.ts │ │ │ ├── reporter.ts │ │ │ ├── runner.ts │ │ │ ├── spec.ts │ │ │ └── types.ts │ │ ├── panZoomDragLayer.html.ts │ │ ├── panZoomDragLayer.ts │ │ ├── tf-scale.ts │ │ └── vz-line-chart2.ts │ └── vz_sorting │ │ ├── BUILD │ │ └── sorting.ts ├── context.py ├── context_test.py ├── data │ ├── BUILD │ ├── __init__.py │ ├── experimental │ │ └── BUILD │ ├── grpc_provider.py │ ├── grpc_provider_test.py │ ├── ingester.py │ ├── ingester_test.py │ ├── proto │ │ ├── BUILD │ │ └── data_provider.proto │ ├── provider.py │ ├── provider_test.py │ ├── server │ │ ├── .gitattributes │ │ ├── .gitignore │ │ ├── BUILD │ │ ├── Cargo.lock │ │ ├── Cargo.toml │ │ ├── DEVELOPMENT.md │ │ ├── bench.rs │ │ ├── blob_key.rs │ │ ├── cargo │ │ │ └── BUILD.bazel │ │ ├── cli.rs │ │ ├── cli │ │ │ └── dynamic_logdir.rs │ │ ├── commit.rs │ │ ├── data_compat.rs │ │ ├── descriptor.bin │ │ ├── disk_logdir.rs │ │ ├── downsample.rs │ │ ├── event_file.rs │ │ ├── gcs.rs │ │ ├── gcs │ │ │ ├── auth.rs │ │ │ ├── client.rs │ │ │ ├── gsutil.rs │ │ │ └── logdir.rs │ │ ├── gen_protos_tool.rs │ │ ├── lib.rs │ │ ├── logdir.rs │ │ ├── main.rs │ │ ├── masked_crc.rs │ │ ├── pip_package │ │ │ ├── BUILD │ │ │ ├── build.py │ │ │ ├── build_test.py │ │ │ ├── install.py │ │ │ ├── setup.py │ │ │ └── tensorboard_data_server │ │ │ │ └── __init__.py │ │ ├── reservoir.rs │ │ ├── run.rs │ │ ├── rustboard_core_doc_server.py │ │ ├── rustfmt.toml │ │ ├── scripted_reader.rs │ │ ├── server.rs │ │ ├── tensorboard.data.pb.rs │ │ ├── tensorboard.pb.rs │ │ ├── tf_record.rs │ │ ├── types.rs │ │ ├── update_protos.py │ │ └── writer.rs │ ├── server_ingester.py │ └── server_ingester_test.py ├── data_compat.py ├── data_compat_test.py ├── dataclass_compat.py ├── dataclass_compat_test.py ├── default.py ├── default_test.py ├── defs │ ├── BUILD │ ├── __init__.py │ ├── defs.bzl │ ├── hacks.bzl │ ├── inline_images.py │ ├── internal │ │ ├── BUILD │ │ ├── html.bzl │ │ ├── resource.bzl │ │ ├── resource_digest_suffixer.py │ │ └── resource_digest_suffixer_test.py │ ├── js.bzl │ ├── protos.bzl │ ├── py_repl.bzl │ ├── strict_type_check.d.ts │ ├── tb_proto_library_test.py │ ├── test_base.proto │ ├── test_downstream.proto │ ├── web.bzl │ └── zipper.bzl ├── encode_png_benchmark.py ├── errors.py ├── errors_test.py ├── examples │ └── plugins │ │ ├── example_basic │ │ ├── .gitignore │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── setup.py │ │ ├── smoke_test.sh │ │ └── tensorboard_plugin_example │ │ │ ├── __init__.py │ │ │ ├── demo.py │ │ │ ├── metadata.py │ │ │ ├── plugin.py │ │ │ ├── static │ │ │ └── index.js │ │ │ └── summary_v2.py │ │ └── example_raw_scalars │ │ ├── .gitignore │ │ ├── BUILD │ │ ├── README.md │ │ ├── setup.py │ │ ├── smoke_test.sh │ │ ├── tensorboard_plugin_example_raw_scalars │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── demo.py │ │ ├── plugin.py │ │ └── static │ │ │ ├── index.js │ │ │ ├── model.js │ │ │ ├── style.css │ │ │ └── views.js │ │ └── test.py ├── functionaltests │ ├── BUILD │ ├── __init__.py │ ├── browsers │ │ ├── BUILD │ │ ├── chromium.json │ │ └── disabled.json │ └── core_test.py ├── http_api.md ├── java │ └── org │ │ └── tensorflow │ │ └── tensorboard │ │ └── vulcanize │ │ ├── BUILD │ │ ├── Vulcanize.java │ │ └── Zipper.java ├── lazy.py ├── lazy_test.py ├── lib_test.py ├── logo │ ├── BUILD │ ├── favicon.png │ ├── inline_favicon.sh │ ├── logo.svg │ ├── logo_circled.svg │ └── sublogo.svg ├── main.py ├── main_dev.py ├── main_lib.py ├── manager.py ├── manager_e2e_test.py ├── manager_test.py ├── notebook.py ├── pip_package │ ├── BUILD │ ├── LICENSE.tensorflow │ ├── MANIFEST.in │ ├── README.rst │ ├── __init__.py │ ├── build_pip_package.sh │ ├── deterministic_tar_gz.py │ ├── deterministic_tar_gz_test.py │ ├── extract_pip_package.sh │ ├── requirements.txt │ ├── requirements_dev.txt │ ├── setup.cfg │ ├── setup.py │ └── test_pip_package.sh ├── plugin_util.py ├── plugin_util_test.py ├── plugins │ ├── BUILD │ ├── __init__.py │ ├── audio │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── audio_demo.py │ │ ├── audio_plugin.py │ │ ├── audio_plugin_test.py │ │ ├── http_api.md │ │ ├── metadata.py │ │ ├── plugin_data.proto │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ └── tf_audio_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-audio-dashboard.ts │ │ │ └── tf-audio-loader.ts │ ├── base_plugin.py │ ├── base_plugin_test.py │ ├── core │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── core_plugin.py │ │ └── core_plugin_test.py │ ├── custom_scalar │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── custom_scalar_demo.py │ │ ├── custom_scalars_plugin.py │ │ ├── custom_scalars_plugin_test.py │ │ ├── docs │ │ │ ├── demo_code_dashboard.png │ │ │ ├── download_data.png │ │ │ ├── overview.png │ │ │ └── trig_functions.png │ │ ├── layout.proto │ │ ├── metadata.py │ │ ├── summary.py │ │ ├── summary_test.py │ │ └── tf_custom_scalar_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-custom-scalar-card-style.ts │ │ │ ├── tf-custom-scalar-dashboard.ts │ │ │ ├── tf-custom-scalar-helpers.ts │ │ │ ├── tf-custom-scalar-margin-chart-card.ts │ │ │ └── tf-custom-scalar-multi-line-chart-card.ts │ ├── debugger_v2 │ │ ├── BUILD │ │ ├── debug_data_multiplexer.py │ │ ├── debug_data_multiplexer_test.py │ │ ├── debug_data_provider.py │ │ ├── debugger_v2_plugin.py │ │ ├── debugger_v2_plugin_test.py │ │ └── tf_debugger_v2_plugin │ │ │ ├── BUILD │ │ │ ├── actions │ │ │ ├── BUILD │ │ │ ├── debugger_actions.ts │ │ │ └── index.ts │ │ │ ├── data_source │ │ │ ├── BUILD │ │ │ ├── tfdbg2_data_source.ts │ │ │ └── tfdbg2_data_source_module.ts │ │ │ ├── debugger_component.ng.html │ │ │ ├── debugger_component.scss │ │ │ ├── debugger_component.ts │ │ │ ├── debugger_container.ts │ │ │ ├── debugger_container_test.ts │ │ │ ├── debugger_module.ts │ │ │ ├── effects │ │ │ ├── BUILD │ │ │ ├── debugger_effects.ts │ │ │ ├── debugger_effects_test.ts │ │ │ └── index.ts │ │ │ ├── extract_dtypes_from_python.py │ │ │ ├── store │ │ │ ├── BUILD │ │ │ ├── debug_tensor_value.ts │ │ │ ├── debug_tensor_value_test.ts │ │ │ ├── debugger_graphs_reducers_test.ts │ │ │ ├── debugger_reducers.ts │ │ │ ├── debugger_reducers_test.ts │ │ │ ├── debugger_selectors.ts │ │ │ ├── debugger_selectors_test.ts │ │ │ ├── debugger_store_helpers.ts │ │ │ ├── debugger_store_utils.ts │ │ │ ├── debugger_store_utils_test.ts │ │ │ ├── debugger_types.ts │ │ │ └── index.ts │ │ │ ├── testing │ │ │ ├── BUILD │ │ │ └── index.ts │ │ │ ├── types.ts │ │ │ └── views │ │ │ ├── alerts │ │ │ ├── BUILD │ │ │ ├── alerts_component.css │ │ │ ├── alerts_component.ng.html │ │ │ ├── alerts_component.ts │ │ │ ├── alerts_container.ts │ │ │ ├── alerts_container_test.ts │ │ │ └── alerts_module.ts │ │ │ ├── common │ │ │ ├── BUILD │ │ │ └── _lib.scss │ │ │ ├── debug_tensor_value │ │ │ ├── BUILD │ │ │ ├── debug_tensor_value_component.ts │ │ │ ├── debug_tensor_value_component_test.ts │ │ │ └── debug_tensor_value_module.ts │ │ │ ├── execution_data │ │ │ ├── BUILD │ │ │ ├── execution_data_component.ng.html │ │ │ ├── execution_data_component.scss │ │ │ ├── execution_data_component.ts │ │ │ ├── execution_data_container.ts │ │ │ ├── execution_data_container_test.ts │ │ │ └── execution_data_module.ts │ │ │ ├── graph │ │ │ ├── BUILD │ │ │ ├── graph_component.ng.html │ │ │ ├── graph_component.scss │ │ │ ├── graph_component.ts │ │ │ ├── graph_container.ts │ │ │ ├── graph_container_test.ts │ │ │ ├── graph_module.ts │ │ │ ├── graph_op_component.ng.html │ │ │ ├── graph_op_component.scss │ │ │ └── graph_op_component.ts │ │ │ ├── graph_executions │ │ │ ├── BUILD │ │ │ ├── graph_executions_component.ng.html │ │ │ ├── graph_executions_component.scss │ │ │ ├── graph_executions_component.ts │ │ │ ├── graph_executions_container.ts │ │ │ ├── graph_executions_container_test.ts │ │ │ └── graph_executions_module.ts │ │ │ ├── inactive │ │ │ ├── BUILD │ │ │ ├── images │ │ │ │ ├── cutout-1-alerts.png │ │ │ │ ├── cutout-2-tracing.png │ │ │ │ └── cutout-3-code.png │ │ │ ├── inactive_component.css │ │ │ ├── inactive_component.ts │ │ │ ├── inactive_component.uninlined.ng.html │ │ │ ├── inactive_container.ts │ │ │ └── inactive_module.ts │ │ │ ├── source_files │ │ │ ├── BUILD │ │ │ ├── source_files_component.ng.html │ │ │ ├── source_files_component.scss │ │ │ ├── source_files_component.ts │ │ │ ├── source_files_container.ts │ │ │ ├── source_files_container_test.ts │ │ │ └── source_files_module.ts │ │ │ ├── stack_trace │ │ │ ├── BUILD │ │ │ ├── stack_trace_component.ng.html │ │ │ ├── stack_trace_component.scss │ │ │ ├── stack_trace_component.ts │ │ │ ├── stack_trace_container.ts │ │ │ ├── stack_trace_container_test.ts │ │ │ └── stack_trace_module.ts │ │ │ └── timeline │ │ │ ├── BUILD │ │ │ ├── timeline_component.css │ │ │ ├── timeline_component.ng.html │ │ │ ├── timeline_component.ts │ │ │ ├── timeline_container.ts │ │ │ ├── timeline_container_test.ts │ │ │ └── timeline_module.ts │ ├── distribution │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── compressor.py │ │ ├── compressor_test.py │ │ ├── distributions_plugin.py │ │ ├── distributions_plugin_test.py │ │ ├── http_api.md │ │ ├── metadata.py │ │ ├── tf_distribution_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-distribution-dashboard.ts │ │ │ └── tf-distribution-loader.ts │ │ └── vz_distribution_chart │ │ │ ├── BUILD │ │ │ └── vz-distribution-chart.ts │ ├── graph │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── graph_util.py │ │ ├── graph_util_test.py │ │ ├── graphs_demo.py │ │ ├── graphs_plugin.py │ │ ├── graphs_plugin_test.py │ │ ├── graphs_plugin_v2_test.py │ │ ├── http_api.md │ │ ├── images │ │ │ └── xla_graph.png │ │ ├── keras_util.py │ │ ├── keras_util_test.py │ │ ├── metadata.py │ │ ├── tf_graph │ │ │ ├── BUILD │ │ │ ├── tf-graph-minimap.ts │ │ │ ├── tf-graph-scene.html.ts │ │ │ ├── tf-graph-scene.ts │ │ │ └── tf-graph.ts │ │ ├── tf_graph_app │ │ │ ├── BUILD │ │ │ ├── tf-graph-app.html │ │ │ └── tf-graph-app.ts │ │ ├── tf_graph_board │ │ │ ├── BUILD │ │ │ └── tf-graph-board.ts │ │ ├── tf_graph_common │ │ │ ├── BUILD │ │ │ ├── colors.ts │ │ │ ├── common.ts │ │ │ ├── common_test.ts │ │ │ ├── contextmenu.ts │ │ │ ├── edge.ts │ │ │ ├── graph.ts │ │ │ ├── hierarchy.ts │ │ │ ├── layout.ts │ │ │ ├── loader.ts │ │ │ ├── minimap.ts │ │ │ ├── node.ts │ │ │ ├── op.ts │ │ │ ├── parser.ts │ │ │ ├── proto.ts │ │ │ ├── render.ts │ │ │ ├── scene.ts │ │ │ ├── template.ts │ │ │ ├── tf-graph-icon.ts │ │ │ ├── tf-graph-scene.ts │ │ │ ├── tf-node-icon.ts │ │ │ ├── util.ts │ │ │ └── view_types.ts │ │ ├── tf_graph_controls │ │ │ ├── BUILD │ │ │ └── tf-graph-controls.ts │ │ ├── tf_graph_dashboard │ │ │ ├── BUILD │ │ │ └── tf-graph-dashboard.ts │ │ ├── tf_graph_debugger_data_card │ │ │ ├── BUILD │ │ │ └── tf-graph-debugger-data-card.ts │ │ ├── tf_graph_info │ │ │ ├── BUILD │ │ │ ├── tf-graph-info.ts │ │ │ ├── tf-node-info.ts │ │ │ └── tf-node-list-item.ts │ │ ├── tf_graph_loader │ │ │ ├── BUILD │ │ │ ├── tf-graph-dashboard-loader.ts │ │ │ └── tf-graph-loader.ts │ │ ├── tf_graph_node_search │ │ │ ├── BUILD │ │ │ └── tf-graph-node-search.ts │ │ └── tf_graph_op_compat_card │ │ │ ├── BUILD │ │ │ ├── tf-graph-op-compat-card.ts │ │ │ └── tf-graph-op-compat-list-item.ts │ ├── histogram │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── histograms_demo.py │ │ ├── histograms_plugin.py │ │ ├── histograms_plugin_test.py │ │ ├── http_api.md │ │ ├── metadata.py │ │ ├── plugin_data.proto │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ ├── tf_histogram_dashboard │ │ │ ├── BUILD │ │ │ ├── histogramCore.ts │ │ │ ├── histogram_core_test.ts │ │ │ ├── tf-histogram-dashboard.ts │ │ │ └── tf-histogram-loader.ts │ │ └── vz_histogram_timeseries │ │ │ ├── BUILD │ │ │ └── vz-histogram-timeseries.ts │ ├── hparams │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── _keras.py │ │ ├── _keras_test.py │ │ ├── api.d.ts │ │ ├── api.proto │ │ ├── api.py │ │ ├── api_test.py │ │ ├── backend_context.py │ │ ├── backend_context_test.py │ │ ├── download_data.py │ │ ├── download_data_test.py │ │ ├── error.py │ │ ├── get_experiment.py │ │ ├── hparams_demo.py │ │ ├── hparams_minimal_demo.py │ │ ├── hparams_plugin.py │ │ ├── hparams_util.proto │ │ ├── hparams_util.py │ │ ├── hparams_util_test.sh │ │ ├── http_api.md │ │ ├── json_format_compat.py │ │ ├── json_format_compat_test.py │ │ ├── list_metric_evals.py │ │ ├── list_metric_evals_test.py │ │ ├── list_session_groups.py │ │ ├── list_session_groups_test.py │ │ ├── metadata.py │ │ ├── metrics.py │ │ ├── plugin_data.proto │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ ├── summary_v2_test.py │ │ ├── tf_hparams_backend │ │ │ ├── BUILD │ │ │ └── tf-hparams-backend.ts │ │ ├── tf_hparams_dashboard │ │ │ ├── BUILD │ │ │ └── tf-hparams-dashboard.ts │ │ ├── tf_hparams_main │ │ │ ├── BUILD │ │ │ └── tf-hparams-main.ts │ │ ├── tf_hparams_parallel_coords_plot │ │ │ ├── BUILD │ │ │ ├── axes.ts │ │ │ ├── interaction_manager.ts │ │ │ ├── lines.ts │ │ │ ├── tf-hparams-parallel-coords-plot.ts │ │ │ └── utils.ts │ │ ├── tf_hparams_parallel_coords_view │ │ │ ├── BUILD │ │ │ └── tf-hparams-parallel-coords-view.ts │ │ ├── tf_hparams_query_pane │ │ │ ├── BUILD │ │ │ └── tf-hparams-query-pane.ts │ │ ├── tf_hparams_scale_and_color_controls │ │ │ ├── BUILD │ │ │ └── tf-hparams-scale-and-color-controls.ts │ │ ├── tf_hparams_scatter_plot_matrix_plot │ │ │ ├── BUILD │ │ │ └── tf-hparams-scatter-plot-matrix-plot.ts │ │ ├── tf_hparams_scatter_plot_matrix_view │ │ │ ├── BUILD │ │ │ └── tf-hparams-scatter-plot-matrix-view.ts │ │ ├── tf_hparams_session_group_details │ │ │ ├── BUILD │ │ │ └── tf-hparams-session-group-details.ts │ │ ├── tf_hparams_session_group_values │ │ │ ├── BUILD │ │ │ └── tf-hparams-session-group-values.ts │ │ ├── tf_hparams_sessions_pane │ │ │ ├── BUILD │ │ │ └── tf-hparams-sessions-pane.ts │ │ ├── tf_hparams_table_view │ │ │ ├── BUILD │ │ │ └── tf-hparams-table-view.ts │ │ ├── tf_hparams_types │ │ │ ├── BUILD │ │ │ └── types.d.ts │ │ ├── tf_hparams_utils │ │ │ ├── BUILD │ │ │ ├── hparams-split-layout.ts │ │ │ └── tf-hparams-utils.ts │ │ └── types.ts │ ├── image │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── http_api.md │ │ ├── images_demo.py │ │ ├── images_plugin.py │ │ ├── images_plugin_test.py │ │ ├── metadata.py │ │ ├── plugin_data.proto │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ └── tf_image_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-image-dashboard.ts │ │ │ └── tf-image-loader.ts │ ├── interactive_inference │ │ └── README.md │ ├── mesh │ │ ├── BUILD │ │ ├── Mesh_Plugin_Tensorboard.ipynb │ │ ├── README.md │ │ ├── __init__.py │ │ ├── demo_utils.py │ │ ├── demo_utils_test.py │ │ ├── http_api.md │ │ ├── mesh_demo.py │ │ ├── mesh_plugin.py │ │ ├── mesh_plugin_test.py │ │ ├── metadata.py │ │ ├── metadata_test.py │ │ ├── plugin_data.proto │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ ├── summary_v2_test.py │ │ ├── test_data │ │ │ └── icosphere.ply │ │ ├── test_utils.py │ │ └── tf_mesh_dashboard │ │ │ ├── BUILD │ │ │ ├── array-buffer-data-provider.ts │ │ │ ├── mesh-loader.ts │ │ │ ├── mesh-viewer.ts │ │ │ └── tf-mesh-dashboard.ts │ ├── metrics │ │ ├── BUILD │ │ ├── README.md │ │ ├── http_api.md │ │ ├── images │ │ │ ├── timeseries_frontend_component_hierarchy.png │ │ │ └── timeseries_ui.png │ │ ├── metadata.py │ │ ├── metrics_loader.py │ │ ├── metrics_plugin.py │ │ └── metrics_plugin_test.py │ ├── pr_curve │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── http_api.md │ │ ├── images │ │ │ ├── pr_curves_intro.png │ │ │ ├── sidebar.png │ │ │ ├── single_chart.png │ │ │ ├── tag_filter.png │ │ │ └── tooltip.png │ │ ├── metadata.py │ │ ├── plugin_data.proto │ │ ├── pr_curve_demo.py │ │ ├── pr_curves_plugin.py │ │ ├── pr_curves_plugin_test.py │ │ ├── summary.py │ │ ├── summary_test.py │ │ └── tf_pr_curve_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-pr-curve-card.ts │ │ │ ├── tf-pr-curve-dashboard.ts │ │ │ └── tf-pr-curve-steps-selector.ts │ ├── profile_redirect │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── profile_redirect_plugin.py │ │ ├── profile_redirect_plugin_test.py │ │ └── tf_profile_redirect_dashboard │ │ │ ├── BUILD │ │ │ └── tf-profile-redirect-dashboard.ts │ ├── projector │ │ ├── BUILD │ │ ├── README.md │ │ ├── __init__.py │ │ ├── metadata.py │ │ ├── projector_api_test.py │ │ ├── projector_config.proto │ │ ├── projector_demo.py │ │ ├── projector_plugin.py │ │ ├── projector_plugin_test.py │ │ ├── tf_projector_plugin │ │ │ ├── BUILD │ │ │ ├── index.js │ │ │ └── tf-projector-plugin.html │ │ └── vz_projector │ │ │ ├── BUILD │ │ │ ├── analyticsLogger.ts │ │ │ ├── bh_tsne.ts │ │ │ ├── bundle.ts │ │ │ ├── data-provider-demo.ts │ │ │ ├── data-provider-proto.ts │ │ │ ├── data-provider-server.ts │ │ │ ├── data-provider.ts │ │ │ ├── data.ts │ │ │ ├── external.d.ts │ │ │ ├── heap.ts │ │ │ ├── knn.ts │ │ │ ├── knn_test.ts │ │ │ ├── label.ts │ │ │ ├── logging.ts │ │ │ ├── projectorEventContext.ts │ │ │ ├── projectorScatterPlotAdapter.ts │ │ │ ├── renderContext.ts │ │ │ ├── scatterPlot.ts │ │ │ ├── scatterPlotRectangleSelector.ts │ │ │ ├── scatterPlotVisualizer.ts │ │ │ ├── scatterPlotVisualizer3DLabels.ts │ │ │ ├── scatterPlotVisualizerCanvasLabels.ts │ │ │ ├── scatterPlotVisualizerPolylines.ts │ │ │ ├── scatterPlotVisualizerSprites.ts │ │ │ ├── sptree.ts │ │ │ ├── standalone.html │ │ │ ├── standalone_projector_config.json │ │ │ ├── styles.ts │ │ │ ├── util.ts │ │ │ ├── vector.ts │ │ │ ├── vz-projector-app.ts │ │ │ ├── vz-projector-bookmark-panel.html.ts │ │ │ ├── vz-projector-bookmark-panel.ts │ │ │ ├── vz-projector-dashboard.ts │ │ │ ├── vz-projector-data-panel.html.ts │ │ │ ├── vz-projector-data-panel.ts │ │ │ ├── vz-projector-input.ts │ │ │ ├── vz-projector-inspector-panel.html.ts │ │ │ ├── vz-projector-inspector-panel.ts │ │ │ ├── vz-projector-legend.ts │ │ │ ├── vz-projector-metadata-card.ts │ │ │ ├── vz-projector-projections-panel.html.ts │ │ │ ├── vz-projector-projections-panel.ts │ │ │ ├── vz-projector.html.ts │ │ │ └── vz-projector.ts │ ├── scalar │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── http_api.md │ │ ├── metadata.py │ │ ├── plugin_data.proto │ │ ├── scalars_demo.py │ │ ├── scalars_demo_eager.py │ │ ├── scalars_plugin.py │ │ ├── scalars_plugin_test.py │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ └── tf_scalar_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-scalar-card.ts │ │ │ ├── tf-scalar-dashboard.ts │ │ │ └── tf-smoothing-input.ts │ ├── text │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── http_api.md │ │ ├── metadata.py │ │ ├── plugin_data.proto │ │ ├── summary.py │ │ ├── summary_test.py │ │ ├── summary_v2.py │ │ ├── text_demo.py │ │ ├── text_plugin.py │ │ ├── text_plugin_test.py │ │ └── tf_text_dashboard │ │ │ ├── BUILD │ │ │ ├── tf-text-dashboard.ts │ │ │ └── tf-text-loader.ts │ └── wit_redirect │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── tf_wit_redirect_dashboard │ │ ├── BUILD │ │ └── tf-wit-redirect-dashboard.ts │ │ ├── wit_redirect_plugin.py │ │ └── wit_redirect_plugin_test.py ├── program.py ├── program_test.py ├── scripts │ ├── BUILD │ ├── __init__.py │ ├── execrooter.py │ └── generate_testdata.py ├── summary │ ├── BUILD │ ├── __init__.py │ ├── _output.py │ ├── _output_test.py │ ├── _test_util.py │ ├── _tf │ │ ├── __init__.py │ │ └── summary │ │ │ └── __init__.py │ ├── _writer.py │ ├── _writer_test.py │ ├── summary_test.py │ ├── tf_summary_test.py │ ├── v1.py │ ├── v2.py │ └── writer │ │ ├── BUILD │ │ ├── __init__.py │ │ ├── event_file_writer.py │ │ ├── event_file_writer_fsspec_test.py │ │ ├── event_file_writer_s3_test.py │ │ ├── event_file_writer_test.py │ │ ├── record_writer.py │ │ └── record_writer_test.py ├── test.py ├── tools │ ├── BUILD │ ├── __init__.py │ ├── convert_tbdev_export.py │ ├── diagnose_tensorboard.py │ ├── do_not_submit_test.sh │ ├── import_google_fonts.py │ ├── inline_file_content.py │ ├── license_test.sh │ ├── mat_bundle_icon_svg.py │ ├── mat_bundle_icon_svg_test.py │ ├── mirror_urls_test.sh │ ├── set_nightly_version.sh │ └── whitespace_hygiene_test.py ├── uploader │ ├── BUILD │ ├── __init__.py │ ├── logdir_loader.py │ ├── logdir_loader_test.py │ ├── proto │ │ ├── BUILD │ │ ├── blob.proto │ │ ├── experiment.proto │ │ ├── export_service.proto │ │ ├── scalar.proto │ │ ├── server_info.proto │ │ ├── tensor.proto │ │ └── write_service.proto │ ├── upload_tracker.py │ ├── upload_tracker_test.py │ ├── util.py │ └── util_test.py ├── util │ ├── BUILD │ ├── __init__.py │ ├── encoder.py │ ├── encoder_test.py │ ├── grpc_util.py │ ├── grpc_util_test.proto │ ├── grpc_util_test.py │ ├── io_util.py │ ├── io_util_test.py │ ├── lazy_tensor_creator.py │ ├── lazy_tensor_creator_test.py │ ├── op_evaluator.py │ ├── op_evaluator_test.py │ ├── platform_util.py │ ├── platform_util_test.py │ ├── tb_logging.py │ ├── tensor_util.py │ ├── test_util.py │ ├── timing.py │ └── timing_test.py ├── version.py ├── version_test.py └── webapp │ ├── BUILD │ ├── alert │ ├── BUILD │ ├── actions │ │ ├── BUILD │ │ └── index.ts │ ├── alert_action_module.ts │ ├── alert_action_test.ts │ ├── alert_module.ts │ ├── effects │ │ ├── BUILD │ │ └── index.ts │ ├── store │ │ ├── BUILD │ │ ├── alert_reducers.ts │ │ ├── alert_reducers_test.ts │ │ ├── alert_selectors.ts │ │ ├── alert_selectors_test.ts │ │ ├── alert_types.ts │ │ ├── index.ts │ │ └── testing.ts │ ├── types.ts │ └── views │ │ ├── BUILD │ │ ├── alert_display_snackbar_container.ng.html │ │ ├── alert_display_snackbar_container.scss │ │ ├── alert_display_snackbar_container.ts │ │ ├── alert_snackbar_container.ts │ │ ├── alert_snackbar_module.ts │ │ └── alert_snackbar_test.ts │ ├── angular │ └── BUILD │ ├── app_container.ng.html │ ├── app_container.scss │ ├── app_container.ts │ ├── app_module.ts │ ├── app_routing │ ├── BUILD │ ├── actions │ │ ├── BUILD │ │ ├── app_routing_actions.ts │ │ └── index.ts │ ├── app_root.ts │ ├── app_root_module.ts │ ├── app_root_test.ts │ ├── app_routing_module.ts │ ├── deep_link_provider.ts │ ├── dirty_updates_registry_module.ts │ ├── dirty_updates_registry_module_test.ts │ ├── dirty_updates_registry_types.ts │ ├── effects │ │ ├── BUILD │ │ ├── app_routing_effects.ts │ │ ├── app_routing_effects_test.ts │ │ └── index.ts │ ├── index.ts │ ├── internal_utils.ts │ ├── internal_utils_test.ts │ ├── location.ts │ ├── location_module.ts │ ├── location_test.ts │ ├── namespaced_state_reducer_helper.ts │ ├── namespaced_state_reducer_helper_test.ts │ ├── programmatical_navigation_module.ts │ ├── programmatical_navigation_module_test.ts │ ├── programmatical_navigation_types.ts │ ├── route_config.ts │ ├── route_config_test.ts │ ├── route_config_types.ts │ ├── route_registry_module.ts │ ├── route_registry_module_test.ts │ ├── route_registry_types.ts │ ├── store │ │ ├── BUILD │ │ ├── app_routing_reducers.ts │ │ ├── app_routing_reducers_test.ts │ │ ├── app_routing_selectors.ts │ │ ├── app_routing_selectors_test.ts │ │ ├── app_routing_types.ts │ │ └── testing.ts │ ├── store_only_utils.ts │ ├── store_only_utils_test.ts │ ├── testing.ts │ ├── types.ts │ └── views │ │ ├── BUILD │ │ ├── app_routing_view_module.ts │ │ ├── router_link_directive_container.ts │ │ ├── router_link_test.ts │ │ ├── router_outlet_component.ts │ │ ├── router_outlet_container.ts │ │ └── router_outlet_test.ts │ ├── app_state.ts │ ├── bootstrap.ts │ ├── core │ ├── BUILD │ ├── actions │ │ ├── BUILD │ │ ├── core_actions.ts │ │ └── index.ts │ ├── core_module.ts │ ├── effects │ │ ├── BUILD │ │ ├── core_effects.ts │ │ ├── core_effects_test.ts │ │ └── index.ts │ ├── index.ts │ ├── state.ts │ ├── store │ │ ├── BUILD │ │ ├── core_initial_state_provider.ts │ │ ├── core_initial_state_provider_test.ts │ │ ├── core_reducers.ts │ │ ├── core_reducers_test.ts │ │ ├── core_selectors.ts │ │ ├── core_selectors_test.ts │ │ ├── core_types.ts │ │ └── index.ts │ ├── testing │ │ ├── BUILD │ │ └── index.ts │ ├── types.ts │ └── views │ │ ├── BUILD │ │ ├── dark_mode_supporter_container.ts │ │ ├── dark_mode_supporter_module.ts │ │ ├── dark_mode_supporter_test.ts │ │ ├── hash_storage_component.ts │ │ ├── hash_storage_container.ts │ │ ├── hash_storage_module.ts │ │ ├── hash_storage_test.ts │ │ ├── layout_container.scss │ │ ├── layout_container.ts │ │ ├── layout_module.ts │ │ ├── layout_test.ts │ │ ├── page_title_component.ts │ │ ├── page_title_container.ts │ │ ├── page_title_module.ts │ │ └── page_title_test.ts │ ├── customization │ ├── BUILD │ ├── customizable_component.ts │ ├── customization_module.ts │ └── customization_test.ts │ ├── deeplink │ ├── BUILD │ ├── deeplink_module.ts │ ├── deeplink_test.ts │ ├── hash.ts │ ├── hash_test.ts │ ├── index.ts │ ├── testing.ts │ └── types.ts │ ├── dev_assets │ ├── BUILD │ └── main_dev.ts │ ├── experiments │ ├── BUILD │ ├── experiments_module.ts │ ├── store │ │ ├── BUILD │ │ ├── experiments_reducers.ts │ │ ├── experiments_selectors.ts │ │ ├── experiments_selectors_test.ts │ │ ├── experiments_types.ts │ │ ├── index.ts │ │ └── testing.ts │ └── types.ts │ ├── feature_flag │ ├── BUILD │ ├── actions │ │ ├── BUILD │ │ └── feature_flag_actions.ts │ ├── directives │ │ ├── BUILD │ │ ├── feature_flag_directive.ts │ │ ├── feature_flag_directive_module.ts │ │ └── feature_flag_directive_test.ts │ ├── effects │ │ ├── BUILD │ │ ├── feature_flag_effects.ts │ │ └── feature_flag_effects_test.ts │ ├── feature_flag_module.ts │ ├── http │ │ ├── BUILD │ │ ├── const.ts │ │ ├── feature_flag_http_interceptor.ts │ │ └── feature_flag_http_interceptor_test.ts │ ├── store │ │ ├── BUILD │ │ ├── feature_flag_metadata.ts │ │ ├── feature_flag_metadata_test.ts │ │ ├── feature_flag_reducers.ts │ │ ├── feature_flag_reducers_test.ts │ │ ├── feature_flag_selectors.ts │ │ ├── feature_flag_selectors_test.ts │ │ ├── feature_flag_store_config_provider.ts │ │ ├── feature_flag_types.ts │ │ └── testing.ts │ ├── testing.ts │ ├── types.ts │ └── views │ │ ├── BUILD │ │ ├── feature_flag_dialog_component.ng.html │ │ ├── feature_flag_dialog_component.scss │ │ ├── feature_flag_dialog_component.ts │ │ ├── feature_flag_dialog_container.ts │ │ ├── feature_flag_dialog_module.ts │ │ ├── feature_flag_dialog_test.ts │ │ ├── feature_flag_modal_trigger_container.ts │ │ ├── feature_flag_modal_trigger_container_test.ts │ │ ├── feature_flag_modal_trigger_module.ts │ │ └── types.ts │ ├── header │ ├── BUILD │ ├── dark_mode_toggle_component.ts │ ├── dark_mode_toggle_container.ts │ ├── dark_mode_toggle_test.ts │ ├── header_component.scss │ ├── header_component.ts │ ├── header_module.ts │ ├── header_test.ts │ ├── plugin_selector_component.ng.html │ ├── plugin_selector_component.scss │ ├── plugin_selector_component.ts │ ├── plugin_selector_container.ts │ ├── reload_container.ts │ └── types.ts │ ├── hparams │ ├── BUILD │ ├── _redux │ │ ├── BUILD │ │ ├── hparams_actions.ts │ │ ├── hparams_data_source.ts │ │ ├── hparams_data_source_test.ts │ │ ├── hparams_effects.ts │ │ ├── hparams_effects_test.ts │ │ ├── hparams_module.ts │ │ ├── hparams_reducers.ts │ │ ├── hparams_reducers_test.ts │ │ ├── hparams_selectors.ts │ │ ├── hparams_selectors_test.ts │ │ ├── testing.ts │ │ ├── types.ts │ │ ├── utils.ts │ │ └── utils_test.ts │ ├── _types.ts │ ├── hparams_module.ts │ ├── index.ts │ ├── testing.ts │ └── types.ts │ ├── index_polymer3.uninlined.html │ ├── main_prod.ts │ ├── mat_icon_module.ts │ ├── metrics │ ├── BUILD │ ├── actions │ │ ├── BUILD │ │ └── index.ts │ ├── data_source │ │ ├── BUILD │ │ ├── card_interactions_data_source.ts │ │ ├── card_interactions_data_source_module.ts │ │ ├── card_interactions_data_source_test.ts │ │ ├── index.ts │ │ ├── metrics_backend_types.ts │ │ ├── metrics_data_source.ts │ │ ├── metrics_data_source_module.ts │ │ ├── metrics_data_source_test.ts │ │ ├── saved_pins_data_source.ts │ │ ├── saved_pins_data_source_module.ts │ │ ├── saved_pins_data_source_test.ts │ │ └── types.ts │ ├── effects │ │ ├── BUILD │ │ ├── index.ts │ │ └── metrics_effects_test.ts │ ├── internal_types.ts │ ├── metrics_integration_test.ts │ ├── metrics_module.ts │ ├── store │ │ ├── BUILD │ │ ├── index.ts │ │ ├── metrics_initial_state_provider.ts │ │ ├── metrics_reducers.ts │ │ ├── metrics_reducers_test.ts │ │ ├── metrics_selectors.ts │ │ ├── metrics_selectors_test.ts │ │ ├── metrics_store_internal_utils.ts │ │ ├── metrics_store_internal_utils_test.ts │ │ └── metrics_types.ts │ ├── testing.ts │ ├── types.ts │ ├── utils.ts │ ├── utils_test.ts │ └── views │ │ ├── BUILD │ │ ├── _common.scss │ │ ├── card_renderer │ │ ├── BUILD │ │ ├── card_lazy_loader.ts │ │ ├── card_lazy_loader_test.ts │ │ ├── card_renderer_module.ts │ │ ├── card_view_component.ng.html │ │ ├── card_view_component.ts │ │ ├── card_view_container.scss │ │ ├── card_view_container.ts │ │ ├── card_view_test.ts │ │ ├── data_download_dialog_component.ng.html │ │ ├── data_download_dialog_component.scss │ │ ├── data_download_dialog_component.ts │ │ ├── data_download_dialog_container.ts │ │ ├── data_download_dialog_test.ts │ │ ├── data_download_module.ts │ │ ├── histogram_card_component.ng.html │ │ ├── histogram_card_component.scss │ │ ├── histogram_card_component.ts │ │ ├── histogram_card_container.ts │ │ ├── histogram_card_module.ts │ │ ├── histogram_card_test.ts │ │ ├── image_card_component.ng.html │ │ ├── image_card_component.scss │ │ ├── image_card_component.ts │ │ ├── image_card_container.ts │ │ ├── image_card_module.ts │ │ ├── image_card_test.ts │ │ ├── run_name_component.scss │ │ ├── run_name_component.ts │ │ ├── run_name_container.ts │ │ ├── run_name_module.ts │ │ ├── run_name_test.ts │ │ ├── scalar_card_component.ng.html │ │ ├── scalar_card_component.scss │ │ ├── scalar_card_component.ts │ │ ├── scalar_card_container.ts │ │ ├── scalar_card_data_table.ng.html │ │ ├── scalar_card_data_table.scss │ │ ├── scalar_card_data_table.ts │ │ ├── scalar_card_data_table_module.ts │ │ ├── scalar_card_fob_controller.scss │ │ ├── scalar_card_fob_controller.ts │ │ ├── scalar_card_fob_test.ts │ │ ├── scalar_card_line_chart_component.ng.html │ │ ├── scalar_card_line_chart_component.scss │ │ ├── scalar_card_line_chart_component.ts │ │ ├── scalar_card_line_chart_container.ts │ │ ├── scalar_card_line_chart_module.ts │ │ ├── scalar_card_line_chart_test.ts │ │ ├── scalar_card_module.ts │ │ ├── scalar_card_test.ts │ │ ├── scalar_card_types.ts │ │ ├── utils.ts │ │ ├── utils_test.ts │ │ ├── vis_linked_time_selection_warning_component.scss │ │ ├── vis_linked_time_selection_warning_component.ts │ │ └── vis_linked_time_selection_warning_module.ts │ │ ├── main_view │ │ ├── BUILD │ │ ├── card_grid_component.ng.html │ │ ├── card_grid_component.scss │ │ ├── card_grid_component.ts │ │ ├── card_grid_container.ts │ │ ├── card_grid_test.ts │ │ ├── card_group_toolbar_component.scss │ │ ├── card_group_toolbar_component.ts │ │ ├── card_group_toolbar_container.ts │ │ ├── card_groups_component.scss │ │ ├── card_groups_component.ts │ │ ├── card_groups_container.ts │ │ ├── common_selectors.ts │ │ ├── common_selectors_test.ts │ │ ├── empty_tag_match_message_component.ts │ │ ├── empty_tag_match_message_container.ts │ │ ├── filter_input_component.ng.html │ │ ├── filter_input_component.scss │ │ ├── filter_input_component.ts │ │ ├── filter_input_container.ts │ │ ├── filter_input_test.ts │ │ ├── filtered_view_component.scss │ │ ├── filtered_view_component.ts │ │ ├── filtered_view_container.ts │ │ ├── main_view_component.ng.html │ │ ├── main_view_component.scss │ │ ├── main_view_component.ts │ │ ├── main_view_container.ts │ │ ├── main_view_module.ts │ │ ├── main_view_test.ts │ │ ├── pinned_view_component.scss │ │ ├── pinned_view_component.ts │ │ └── pinned_view_container.ts │ │ ├── metrics_container.scss │ │ ├── metrics_container.ts │ │ ├── metrics_container_test.ts │ │ ├── metrics_view_types.ts │ │ ├── metrics_views_module.ts │ │ ├── right_pane │ │ ├── BUILD │ │ ├── right_pane_component.ts │ │ ├── right_pane_module.ts │ │ ├── right_pane_test.ts │ │ ├── saving_pins_checkbox_component.scss │ │ ├── saving_pins_checkbox_component.ts │ │ ├── saving_pins_dialog │ │ │ ├── BUILD │ │ │ ├── saving_pins_dialog_component.ng.html │ │ │ ├── saving_pins_dialog_component.scss │ │ │ ├── saving_pins_dialog_component.ts │ │ │ ├── saving_pins_dialog_module.ts │ │ │ └── saving_pins_dialog_test.ts │ │ ├── scalar_column_editor │ │ │ ├── BUILD │ │ │ ├── scalar_column_editor_component.ng.html │ │ │ ├── scalar_column_editor_component.scss │ │ │ ├── scalar_column_editor_component.ts │ │ │ ├── scalar_column_editor_container.ts │ │ │ ├── scalar_column_editor_module.ts │ │ │ └── scalar_column_editor_test.ts │ │ ├── settings_view_component.ng.html │ │ ├── settings_view_component.scss │ │ ├── settings_view_component.ts │ │ └── settings_view_container.ts │ │ ├── utils.ts │ │ └── utils_test.ts │ ├── notification_center │ ├── BUILD │ ├── _data_source │ │ ├── BUILD │ │ ├── backend_types.ts │ │ ├── index.ts │ │ ├── notification_center_data_source.ts │ │ ├── notification_center_data_source_module.ts │ │ ├── notification_center_data_source_test.ts │ │ └── testing.ts │ ├── _notification_center_module.ts │ ├── _redux │ │ ├── BUILD │ │ ├── notification_center_actions.ts │ │ ├── notification_center_effects.ts │ │ ├── notification_center_effects_test.ts │ │ ├── notification_center_reducers.ts │ │ ├── notification_center_reducers_test.ts │ │ ├── notification_center_selectors.ts │ │ ├── notification_center_selectors_test.ts │ │ ├── notification_center_types.ts │ │ ├── notification_notes.ts │ │ └── testing.ts │ ├── _views │ │ ├── BUILD │ │ ├── notification_center_component.ng.html │ │ ├── notification_center_component.scss │ │ ├── notification_center_component.ts │ │ ├── notification_center_container.ts │ │ ├── notification_center_test.ts │ │ ├── view_types.ts │ │ └── views_module.ts │ ├── index.ts │ └── types.ts │ ├── oss_plugins_module.ts │ ├── persistent_settings │ ├── BUILD │ ├── _data_source │ │ ├── BUILD │ │ ├── persistent_settings_data_source.ts │ │ ├── persistent_settings_data_source_module.ts │ │ ├── persistent_settings_data_source_test.ts │ │ ├── testing.ts │ │ └── types.ts │ ├── _redux │ │ ├── BUILD │ │ ├── persistent_settings_actions.ts │ │ ├── persistent_settings_effects.ts │ │ ├── persistent_settings_effects_test.ts │ │ ├── persistent_settings_reducers.ts │ │ ├── persistent_settings_selectors.ts │ │ ├── persistent_settings_selectors_test.ts │ │ ├── persistent_settings_types.ts │ │ └── testing.ts │ ├── index.ts │ ├── persistent_settings_config_module.ts │ ├── persistent_settings_config_module_test.ts │ ├── persistent_settings_config_types.ts │ └── persistent_settings_module.ts │ ├── plugins │ ├── BUILD │ ├── plugin_registry_module.ts │ ├── plugin_registry_types.ts │ ├── plugins_component.ng.html │ ├── plugins_component.scss │ ├── plugins_component.ts │ ├── plugins_container.ts │ ├── plugins_container_test.ts │ ├── plugins_module.ts │ └── testing │ │ ├── BUILD │ │ └── index.ts │ ├── reducer_config.ts │ ├── reloader │ ├── BUILD │ ├── reloader_component.ts │ ├── reloader_component_test.ts │ └── reloader_module.ts │ ├── routes │ ├── BUILD │ ├── dashboard_deeplink_provider.ts │ ├── dashboard_deeplink_provider_test.ts │ ├── dashboard_deeplink_provider_types.ts │ ├── feature_flag_serializer.ts │ ├── feature_flag_serializer_test.ts │ ├── index.ts │ └── testing.ts │ ├── runs │ ├── BUILD │ ├── actions │ │ ├── BUILD │ │ ├── index.ts │ │ └── runs_actions.ts │ ├── data_source │ │ ├── BUILD │ │ ├── runs_backend_types.ts │ │ ├── runs_data_source.ts │ │ ├── runs_data_source_module.ts │ │ ├── runs_data_source_test.ts │ │ ├── runs_data_source_types.ts │ │ └── testing.ts │ ├── effects │ │ ├── BUILD │ │ ├── index.ts │ │ ├── runs_effects.ts │ │ └── runs_effects_test.ts │ ├── runs_module.ts │ ├── store │ │ ├── BUILD │ │ ├── index.ts │ │ ├── runs_reducers.ts │ │ ├── runs_reducers_test.ts │ │ ├── runs_selectors.ts │ │ ├── runs_selectors_test.ts │ │ ├── runs_types.ts │ │ ├── testing.ts │ │ ├── utils.ts │ │ └── utils_test.ts │ ├── types.ts │ └── views │ │ ├── runs_selector │ │ ├── BUILD │ │ ├── runs_selector_component.ts │ │ ├── runs_selector_container.ts │ │ ├── runs_selector_module.ts │ │ └── runs_selector_test.ts │ │ └── runs_table │ │ ├── BUILD │ │ ├── filterbar_component.ng.html │ │ ├── filterbar_component.scss │ │ ├── filterbar_component.ts │ │ ├── filterbar_container.ts │ │ ├── filterbar_test.ts │ │ ├── regex_edit_dialog.ng.html │ │ ├── regex_edit_dialog_component.scss │ │ ├── regex_edit_dialog_component.ts │ │ ├── regex_edit_dialog_container.ts │ │ ├── regex_edit_dialog_test.ts │ │ ├── runs_data_table.ng.html │ │ ├── runs_data_table.scss │ │ ├── runs_data_table.ts │ │ ├── runs_data_table_test.ts │ │ ├── runs_group_menu_button_component.ng.html │ │ ├── runs_group_menu_button_component.scss │ │ ├── runs_group_menu_button_component.ts │ │ ├── runs_group_menu_button_container.ts │ │ ├── runs_table_container.ts │ │ ├── runs_table_module.ts │ │ ├── runs_table_test.ts │ │ ├── sorting_utils.ts │ │ ├── sorting_utils_test.ts │ │ └── types.ts │ ├── runs_legacy │ ├── BUILD │ ├── runs_module.ts │ └── views │ │ └── legacy_runs_selector │ │ ├── BUILD │ │ ├── legacy_runs_selector_component.ts │ │ ├── legacy_runs_selector_container.ts │ │ ├── legacy_runs_selector_module.ts │ │ └── legacy_runs_selector_test.ts │ ├── selectors.ts │ ├── settings │ ├── BUILD │ ├── _redux │ │ ├── BUILD │ │ ├── settings_actions.ts │ │ ├── settings_reducers.ts │ │ ├── settings_reducers_test.ts │ │ ├── settings_selectors.ts │ │ └── settings_types.ts │ ├── _views │ │ ├── BUILD │ │ ├── polymer_interop_container.ts │ │ ├── polymer_interop_test.ts │ │ ├── settings_button_component.ts │ │ ├── settings_button_container.ts │ │ ├── settings_dialog_component.css │ │ ├── settings_dialog_component.ng.html │ │ ├── settings_dialog_component.ts │ │ ├── settings_dialog_container.ts │ │ ├── settings_module.ts │ │ └── settings_test.ts │ ├── index.ts │ ├── settings_module.ts │ └── testing.ts │ ├── store_module.ts │ ├── styles.scss │ ├── tb_polymer_interop_type_definitions.d.ts │ ├── tb_polymer_interop_types.ts │ ├── tb_wrapper │ ├── BUILD │ ├── tb_wrapper_component.ts │ └── tb_wrapper_module.ts │ ├── testing │ ├── BUILD │ ├── dom.ts │ ├── initialize_testbed.ts │ ├── integration_test_module.ts │ ├── lang.ts │ ├── mat_icon_module.ts │ ├── material.ts │ └── utils.ts │ ├── theme │ ├── BUILD │ ├── _tb_palette.scss │ ├── _tb_theme.template.scss │ └── _variable.scss │ ├── third_party │ ├── BUILD │ ├── d3.ts │ ├── marked.ts │ ├── numeric.ts │ └── tfjs.ts │ ├── types │ ├── BUILD │ ├── api.ts │ ├── data.ts │ └── ui.ts │ ├── util │ ├── BUILD │ ├── colors.ts │ ├── dom.ts │ ├── dom_test.ts │ ├── lang.ts │ ├── lang_test.ts │ ├── matcher.ts │ ├── matcher_test.ts │ ├── memoize.ts │ ├── memoize_test.ts │ ├── ngrx.ts │ ├── ngrx_test.ts │ ├── string.ts │ ├── string_test.ts │ ├── types.ts │ ├── ui_selectors.ts │ ├── ui_selectors_test.ts │ ├── value_formatter.ts │ └── value_formatter_test.ts │ ├── webapp_data_source │ ├── BUILD │ ├── query_params.ts │ ├── tb_feature_flag_data_source.ts │ ├── tb_feature_flag_data_source_test.ts │ ├── tb_feature_flag_data_source_types.ts │ ├── tb_feature_flag_module.ts │ ├── tb_feature_flag_testing.ts │ ├── tb_http_client.ts │ ├── tb_http_client_module.ts │ ├── tb_http_client_test.ts │ ├── tb_http_client_testing.ts │ ├── tb_http_client_types.ts │ ├── tb_server_data_source.ts │ ├── tb_server_data_source_module.ts │ └── tb_server_data_source_test.ts │ └── widgets │ ├── BUILD │ ├── card_fob │ ├── BUILD │ ├── card_fob_component.ng.html │ ├── card_fob_component.scss │ ├── card_fob_component.ts │ ├── card_fob_controller_component.ng.html │ ├── card_fob_controller_component.scss │ ├── card_fob_controller_component.ts │ ├── card_fob_controller_test.ts │ ├── card_fob_module.ts │ ├── card_fob_test.ts │ └── card_fob_types.ts │ ├── content_wrapping_input │ ├── BUILD │ ├── content_wrapping_input_component.scss │ ├── content_wrapping_input_component.ts │ ├── content_wrapping_input_module.ts │ └── content_wrapping_input_test.ts │ ├── custom_modal │ ├── BUILD │ ├── custom_modal.ts │ └── custom_modal_test.ts │ ├── data_table │ ├── BUILD │ ├── column_selector_component.ng.html │ ├── column_selector_component.scss │ ├── column_selector_component.ts │ ├── column_selector_module.ts │ ├── column_selector_test.ts │ ├── content_cell_component.ng.html │ ├── content_cell_component.scss │ ├── content_cell_component.ts │ ├── content_cell_component_test.ts │ ├── content_row_component.ts │ ├── context_menu_component.ng.html │ ├── context_menu_component.scss │ ├── context_menu_component.ts │ ├── context_menu_module.ts │ ├── context_menu_test.ts │ ├── data_table_component.ng.html │ ├── data_table_component.scss │ ├── data_table_component.ts │ ├── data_table_header_component.ng.html │ ├── data_table_header_component.scss │ ├── data_table_header_component.ts │ ├── data_table_header_module.ts │ ├── data_table_module.ts │ ├── data_table_test.ts │ ├── filter_dialog_component.ng.html │ ├── filter_dialog_component.scss │ ├── filter_dialog_component.ts │ ├── filter_dialog_module.ts │ ├── filter_dialog_test.ts │ ├── header_cell_component.ng.html │ ├── header_cell_component.scss │ ├── header_cell_component.ts │ ├── header_cell_component_test.ts │ ├── types.ts │ ├── utils.ts │ └── utils_test.ts │ ├── dropdown │ ├── BUILD │ ├── dropdown_component.scss │ ├── dropdown_component.ts │ ├── dropdown_module.ts │ └── dropdown_test.ts │ ├── experiment_alias │ ├── BUILD │ ├── experiment_alias_component.scss │ ├── experiment_alias_component.ts │ ├── experiment_alias_module.ts │ └── experiment_alias_test.ts │ ├── filter_input │ ├── BUILD │ ├── filter_input_component.scss │ ├── filter_input_component.ts │ ├── filter_input_module.ts │ └── filter_input_test.ts │ ├── histogram │ ├── BUILD │ ├── formatter.ts │ ├── formatter_test.ts │ ├── histogram_card_fob_controller.ts │ ├── histogram_card_fob_test.ts │ ├── histogram_component.ng.html │ ├── histogram_component.scss │ ├── histogram_component.ts │ ├── histogram_module.ts │ ├── histogram_test.ts │ ├── histogram_types.ts │ ├── histogram_util.ts │ └── histogram_util_test.ts │ ├── intersection_observer │ ├── BUILD │ ├── intersection_observer_directive.ts │ ├── intersection_observer_module.ts │ ├── intersection_observer_test.ts │ └── intersection_observer_testing_module.ts │ ├── line_chart_v2 │ ├── BUILD │ ├── data_transformer.ts │ ├── data_transformer_test.ts │ ├── lib │ │ ├── BUILD │ │ ├── README.md │ │ ├── chart.ts │ │ ├── chart_types.ts │ │ ├── coordinator.ts │ │ ├── coordinator_test.ts │ │ ├── drawable.ts │ │ ├── drawable_test.ts │ │ ├── formatter.ts │ │ ├── formatter_test.ts │ │ ├── integration_test.ts │ │ ├── internal_types.ts │ │ ├── paint_brush.ts │ │ ├── public_types.ts │ │ ├── renderer │ │ │ ├── BUILD │ │ │ ├── index.ts │ │ │ ├── renderer_test.ts │ │ │ ├── renderer_types.ts │ │ │ ├── svg_renderer.ts │ │ │ └── threejs_renderer.ts │ │ ├── scale.ts │ │ ├── scale_test.ts │ │ ├── scale_types.ts │ │ ├── series_line_view.ts │ │ ├── testing.ts │ │ ├── threejs_coordinator.ts │ │ ├── utils.ts │ │ ├── worker.ts │ │ └── worker │ │ │ ├── BUILD │ │ │ ├── compact_data_series.ts │ │ │ ├── compact_data_series_test.ts │ │ │ ├── message_types.ts │ │ │ ├── worker_chart.ts │ │ │ ├── worker_chart_bridge.ts │ │ │ ├── worker_chart_test.ts │ │ │ ├── worker_pool.ts │ │ │ ├── worker_pool_test.ts │ │ │ └── worker_resource.template.ts │ ├── line_chart_component.ng.html │ ├── line_chart_component.scss │ ├── line_chart_component.ts │ ├── line_chart_component_test.ts │ ├── line_chart_internal_utils.ts │ ├── line_chart_internal_utils_test.ts │ ├── line_chart_module.ts │ ├── sub_view │ │ ├── BUILD │ │ ├── chart_view_utils.ts │ │ ├── internal_types.ts │ │ ├── line_chart_axis_utils.ts │ │ ├── line_chart_axis_utils_test.ts │ │ ├── line_chart_axis_view.ng.html │ │ ├── line_chart_axis_view.scss │ │ ├── line_chart_axis_view.ts │ │ ├── line_chart_axis_view_test.ts │ │ ├── line_chart_grid_view.ts │ │ ├── line_chart_grid_view_test.ts │ │ ├── line_chart_interactive_utils.ts │ │ ├── line_chart_interactive_utils_test.ts │ │ ├── line_chart_interactive_view.ng.html │ │ ├── line_chart_interactive_view.scss │ │ ├── line_chart_interactive_view.ts │ │ ├── line_chart_interactive_view_test.ts │ │ ├── sub_view_module.ts │ │ └── testing.ts │ └── types.ts │ ├── markdown_renderer │ ├── BUILD │ ├── markdown_renderer_component.css │ ├── markdown_renderer_component.ng.html │ ├── markdown_renderer_component.ts │ ├── markdown_renderer_component_test.ts │ └── markdown_renderer_module.ts │ ├── range_input │ ├── BUILD │ ├── range_input_component.ng.html │ ├── range_input_component.scss │ ├── range_input_component.ts │ ├── range_input_module.ts │ ├── range_input_test.ts │ └── types.ts │ ├── resize_detector_directive.ts │ ├── resize_detector_module.ts │ ├── resize_detector_test.ts │ ├── resize_detector_testing_module.ts │ ├── source_code │ ├── BUILD │ ├── editor_options.ts │ ├── load_monaco_shim.ts │ ├── load_monaco_shim_test.ts │ ├── monaco │ │ └── BUILD │ ├── source_code_component.css │ ├── source_code_component.ng.html │ ├── source_code_component.ts │ ├── source_code_container.ts │ ├── source_code_container_test.ts │ ├── source_code_diff_component.ts │ ├── source_code_diff_container.ts │ ├── source_code_diff_container_test.ts │ ├── source_code_module.ts │ └── testing.ts │ └── text │ ├── BUILD │ ├── truncated_path_component.scss │ ├── truncated_path_component.ts │ ├── truncated_path_module.ts │ └── truncated_path_test.ts ├── third_party ├── BUILD ├── bh_tsne.LICENSE ├── bleach.BUILD ├── chromium │ └── BUILD ├── fonts.bzl ├── html5lib.BUILD ├── js.bzl ├── markdown.BUILD ├── python.bzl ├── rust.bzl ├── rust │ ├── BUILD.bazel │ ├── crates.bzl │ └── remote │ │ ├── BUILD.aho-corasick-0.7.18.bazel │ │ ├── BUILD.anyhow-1.0.34.bazel │ │ ├── BUILD.async-stream-0.3.0.bazel │ │ ├── BUILD.async-stream-impl-0.3.0.bazel │ │ ├── BUILD.async-trait-0.1.41.bazel │ │ ├── BUILD.atty-0.2.14.bazel │ │ ├── BUILD.autocfg-1.0.1.bazel │ │ ├── BUILD.base64-0.13.0.bazel │ │ ├── BUILD.bazel │ │ ├── BUILD.bitflags-1.2.1.bazel │ │ ├── BUILD.build_const-0.2.1.bazel │ │ ├── BUILD.bumpalo-3.12.0.bazel │ │ ├── BUILD.byteorder-1.3.4.bazel │ │ ├── BUILD.bytes-0.5.6.bazel │ │ ├── BUILD.bytes-1.0.1.bazel │ │ ├── BUILD.cc-1.0.66.bazel │ │ ├── BUILD.cfg-if-0.1.10.bazel │ │ ├── BUILD.cfg-if-1.0.0.bazel │ │ ├── BUILD.clap-3.0.0-beta.2.bazel │ │ ├── BUILD.clap_derive-3.0.0-beta.2.bazel │ │ ├── BUILD.const_fn-0.4.5.bazel │ │ ├── BUILD.core-foundation-0.9.3.bazel │ │ ├── BUILD.core-foundation-sys-0.8.3.bazel │ │ ├── BUILD.crc-1.8.1.bazel │ │ ├── BUILD.crossbeam-0.8.0.bazel │ │ ├── BUILD.crossbeam-channel-0.5.0.bazel │ │ ├── BUILD.crossbeam-deque-0.8.1.bazel │ │ ├── BUILD.crossbeam-epoch-0.9.1.bazel │ │ ├── BUILD.crossbeam-queue-0.3.1.bazel │ │ ├── BUILD.crossbeam-utils-0.8.8.bazel │ │ ├── BUILD.dirs-next-2.0.0.bazel │ │ ├── BUILD.dirs-sys-next-0.1.2.bazel │ │ ├── BUILD.either-1.6.1.bazel │ │ ├── BUILD.encoding_rs-0.8.26.bazel │ │ ├── BUILD.env_logger-0.8.2.bazel │ │ ├── BUILD.fixedbitset-0.4.1.bazel │ │ ├── BUILD.fnv-1.0.7.bazel │ │ ├── BUILD.form_urlencoded-1.0.0.bazel │ │ ├── BUILD.futures-channel-0.3.8.bazel │ │ ├── BUILD.futures-core-0.3.12.bazel │ │ ├── BUILD.futures-io-0.3.12.bazel │ │ ├── BUILD.futures-macro-0.3.8.bazel │ │ ├── BUILD.futures-sink-0.3.8.bazel │ │ ├── BUILD.futures-task-0.3.8.bazel │ │ ├── BUILD.futures-util-0.3.8.bazel │ │ ├── BUILD.gcp_auth-0.7.4.bazel │ │ ├── BUILD.getrandom-0.1.15.bazel │ │ ├── BUILD.getrandom-0.2.1.bazel │ │ ├── BUILD.h2-0.3.19.bazel │ │ ├── BUILD.hashbrown-0.11.2.bazel │ │ ├── BUILD.heck-0.3.1.bazel │ │ ├── BUILD.hermit-abi-0.1.17.bazel │ │ ├── BUILD.http-0.2.1.bazel │ │ ├── BUILD.http-body-0.4.5.bazel │ │ ├── BUILD.httparse-1.7.1.bazel │ │ ├── BUILD.httpdate-1.0.2.bazel │ │ ├── BUILD.humantime-2.0.1.bazel │ │ ├── BUILD.hyper-0.14.19.bazel │ │ ├── BUILD.hyper-rustls-0.22.1.bazel │ │ ├── BUILD.hyper-rustls-0.23.0.bazel │ │ ├── BUILD.hyper-timeout-0.4.1.bazel │ │ ├── BUILD.idna-0.2.0.bazel │ │ ├── BUILD.indexmap-1.8.2.bazel │ │ ├── BUILD.ipnet-2.3.0.bazel │ │ ├── BUILD.itertools-0.10.3.bazel │ │ ├── BUILD.itoa-0.4.6.bazel │ │ ├── BUILD.itoa-1.0.2.bazel │ │ ├── BUILD.js-sys-0.3.47.bazel │ │ ├── BUILD.lazy_static-1.4.0.bazel │ │ ├── BUILD.libc-0.2.126.bazel │ │ ├── BUILD.lock_api-0.4.6.bazel │ │ ├── BUILD.log-0.4.11.bazel │ │ ├── BUILD.matches-0.1.8.bazel │ │ ├── BUILD.memchr-2.5.0.bazel │ │ ├── BUILD.memoffset-0.6.5.bazel │ │ ├── BUILD.mime-0.3.16.bazel │ │ ├── BUILD.mio-0.8.3.bazel │ │ ├── BUILD.multimap-0.8.2.bazel │ │ ├── BUILD.num_cpus-1.13.0.bazel │ │ ├── BUILD.num_threads-0.1.6.bazel │ │ ├── BUILD.once_cell-1.5.2.bazel │ │ ├── BUILD.openssl-probe-0.1.5.bazel │ │ ├── BUILD.os_str_bytes-2.4.0.bazel │ │ ├── BUILD.parking_lot-0.12.1.bazel │ │ ├── BUILD.parking_lot_core-0.9.3.bazel │ │ ├── BUILD.percent-encoding-2.1.0.bazel │ │ ├── BUILD.petgraph-0.6.2.bazel │ │ ├── BUILD.pin-project-1.0.12.bazel │ │ ├── BUILD.pin-project-internal-1.0.12.bazel │ │ ├── BUILD.pin-project-lite-0.2.9.bazel │ │ ├── BUILD.pin-utils-0.1.0.bazel │ │ ├── BUILD.ppv-lite86-0.2.10.bazel │ │ ├── BUILD.proc-macro-error-1.0.4.bazel │ │ ├── BUILD.proc-macro-error-attr-1.0.4.bazel │ │ ├── BUILD.proc-macro-hack-0.5.19.bazel │ │ ├── BUILD.proc-macro-nested-0.1.7.bazel │ │ ├── BUILD.proc-macro2-1.0.43.bazel │ │ ├── BUILD.prost-0.9.0.bazel │ │ ├── BUILD.prost-build-0.9.0.bazel │ │ ├── BUILD.prost-derive-0.9.0.bazel │ │ ├── BUILD.prost-types-0.9.0.bazel │ │ ├── BUILD.quote-1.0.7.bazel │ │ ├── BUILD.rand-0.7.3.bazel │ │ ├── BUILD.rand-0.8.2.bazel │ │ ├── BUILD.rand_chacha-0.2.2.bazel │ │ ├── BUILD.rand_chacha-0.3.0.bazel │ │ ├── BUILD.rand_core-0.5.1.bazel │ │ ├── BUILD.rand_core-0.6.1.bazel │ │ ├── BUILD.rand_hc-0.2.0.bazel │ │ ├── BUILD.rand_hc-0.3.0.bazel │ │ ├── BUILD.rayon-1.5.0.bazel │ │ ├── BUILD.rayon-core-1.9.0.bazel │ │ ├── BUILD.redox_syscall-0.1.57.bazel │ │ ├── BUILD.redox_syscall-0.2.16.bazel │ │ ├── BUILD.redox_users-0.4.3.bazel │ │ ├── BUILD.regex-1.5.6.bazel │ │ ├── BUILD.regex-syntax-0.6.26.bazel │ │ ├── BUILD.remove_dir_all-0.5.3.bazel │ │ ├── BUILD.reqwest-0.11.0.bazel │ │ ├── BUILD.ring-0.16.20.bazel │ │ ├── BUILD.rustls-0.19.0.bazel │ │ ├── BUILD.rustls-0.20.6.bazel │ │ ├── BUILD.rustls-native-certs-0.6.2.bazel │ │ ├── BUILD.rustls-pemfile-1.0.1.bazel │ │ ├── BUILD.ryu-1.0.5.bazel │ │ ├── BUILD.same-file-1.0.6.bazel │ │ ├── BUILD.schannel-0.1.20.bazel │ │ ├── BUILD.scopeguard-1.1.0.bazel │ │ ├── BUILD.sct-0.6.1.bazel │ │ ├── BUILD.sct-0.7.0.bazel │ │ ├── BUILD.security-framework-2.3.1.bazel │ │ ├── BUILD.security-framework-sys-2.6.1.bazel │ │ ├── BUILD.serde-1.0.144.bazel │ │ ├── BUILD.serde_derive-1.0.144.bazel │ │ ├── BUILD.serde_json-1.0.61.bazel │ │ ├── BUILD.serde_urlencoded-0.7.0.bazel │ │ ├── BUILD.slab-0.4.2.bazel │ │ ├── BUILD.smallvec-1.10.0.bazel │ │ ├── BUILD.socket2-0.4.4.bazel │ │ ├── BUILD.spin-0.5.2.bazel │ │ ├── BUILD.strsim-0.10.0.bazel │ │ ├── BUILD.syn-1.0.99.bazel │ │ ├── BUILD.tempfile-3.1.0.bazel │ │ ├── BUILD.termcolor-1.1.0.bazel │ │ ├── BUILD.textwrap-0.12.1.bazel │ │ ├── BUILD.thiserror-1.0.22.bazel │ │ ├── BUILD.thiserror-impl-1.0.22.bazel │ │ ├── BUILD.time-0.3.14.bazel │ │ ├── BUILD.tinyvec-1.1.1.bazel │ │ ├── BUILD.tinyvec_macros-0.1.0.bazel │ │ ├── BUILD.tokio-1.19.2.bazel │ │ ├── BUILD.tokio-io-timeout-1.2.0.bazel │ │ ├── BUILD.tokio-macros-1.8.0.bazel │ │ ├── BUILD.tokio-rustls-0.22.0.bazel │ │ ├── BUILD.tokio-rustls-0.23.4.bazel │ │ ├── BUILD.tokio-stream-0.1.2.bazel │ │ ├── BUILD.tokio-util-0.6.6.bazel │ │ ├── BUILD.tokio-util-0.7.3.bazel │ │ ├── BUILD.tonic-0.6.2.bazel │ │ ├── BUILD.tonic-build-0.6.2.bazel │ │ ├── BUILD.tonic-reflection-0.3.0.bazel │ │ ├── BUILD.tower-0.4.11.bazel │ │ ├── BUILD.tower-layer-0.3.1.bazel │ │ ├── BUILD.tower-service-0.3.0.bazel │ │ ├── BUILD.tracing-0.1.34.bazel │ │ ├── BUILD.tracing-attributes-0.1.21.bazel │ │ ├── BUILD.tracing-core-0.1.26.bazel │ │ ├── BUILD.tracing-futures-0.2.5.bazel │ │ ├── BUILD.try-lock-0.2.3.bazel │ │ ├── BUILD.unicode-bidi-0.3.4.bazel │ │ ├── BUILD.unicode-ident-1.0.3.bazel │ │ ├── BUILD.unicode-normalization-0.1.16.bazel │ │ ├── BUILD.unicode-segmentation-1.6.0.bazel │ │ ├── BUILD.unicode-width-0.1.8.bazel │ │ ├── BUILD.untrusted-0.7.1.bazel │ │ ├── BUILD.url-2.2.0.bazel │ │ ├── BUILD.vec_map-0.8.2.bazel │ │ ├── BUILD.version_check-0.9.2.bazel │ │ ├── BUILD.walkdir-2.3.1.bazel │ │ ├── BUILD.want-0.3.0.bazel │ │ ├── BUILD.wasi-0.10.1+wasi-snapshot-preview1.bazel │ │ ├── BUILD.wasi-0.11.0+wasi-snapshot-preview1.bazel │ │ ├── BUILD.wasi-0.9.0+wasi-snapshot-preview1.bazel │ │ ├── BUILD.wasm-bindgen-0.2.70.bazel │ │ ├── BUILD.wasm-bindgen-backend-0.2.70.bazel │ │ ├── BUILD.wasm-bindgen-futures-0.4.20.bazel │ │ ├── BUILD.wasm-bindgen-macro-0.2.70.bazel │ │ ├── BUILD.wasm-bindgen-macro-support-0.2.70.bazel │ │ ├── BUILD.wasm-bindgen-shared-0.2.70.bazel │ │ ├── BUILD.web-sys-0.3.47.bazel │ │ ├── BUILD.webpki-0.21.4.bazel │ │ ├── BUILD.webpki-0.22.0.bazel │ │ ├── BUILD.webpki-roots-0.21.1.bazel │ │ ├── BUILD.which-4.3.0.bazel │ │ ├── BUILD.winapi-0.3.9.bazel │ │ ├── BUILD.winapi-i686-pc-windows-gnu-0.4.0.bazel │ │ ├── BUILD.winapi-util-0.1.5.bazel │ │ ├── BUILD.winapi-x86_64-pc-windows-gnu-0.4.0.bazel │ │ ├── BUILD.windows-sys-0.36.1.bazel │ │ ├── BUILD.windows_aarch64_msvc-0.36.1.bazel │ │ ├── BUILD.windows_i686_gnu-0.36.1.bazel │ │ ├── BUILD.windows_i686_msvc-0.36.1.bazel │ │ ├── BUILD.windows_x86_64_gnu-0.36.1.bazel │ │ ├── BUILD.windows_x86_64_msvc-0.36.1.bazel │ │ └── BUILD.winreg-0.7.0.bazel ├── six.BUILD ├── urllib3.BUILD ├── webencodings.BUILD ├── webencodings_license.patch ├── werkzeug.BUILD └── workspace.bzl ├── tsconfig-lax.json ├── tsconfig.json └── yarn.lock /.bazelrc: -------------------------------------------------------------------------------- 1 | common --experimental_repo_remote_exec # from TensorFlow 2 | 3 | # Use C++ backing implementations for Python proto parsing and deserialization, 4 | # which is much faster (~10x). 5 | build --define=use_fast_cpp_protos=true 6 | -------------------------------------------------------------------------------- /.bazelversion: -------------------------------------------------------------------------------- 1 | 6.5.0 2 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: google 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | /bazel-* 2 | /.idea 3 | .DS_Store 4 | *.pyc 5 | *.egg-info/ 6 | *.swp 7 | node_modules 8 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | third_party/rust/** -diff -merge linguist-generated=true 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an enhancement to TensorBoard 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | Please describe the problem that you’re facing and the enhancements that 11 | you’d like to see. Feel free to include screenshots or code samples. 12 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Motivation for features / changes 2 | 3 | ## Technical description of changes 4 | 5 | ## Screenshots of UI changes (or N/A) 6 | 7 | ## Detailed steps to verify changes work correctly (as executed by you) 8 | 9 | ## Alternate designs / implementations considered (or N/A) 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /bazel-* 2 | /.idea 3 | .DS_Store 4 | *.pyc 5 | *.egg-info/ 6 | *.swp 7 | node_modules 8 | -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- 1 | Willow Chargin 2 | Willow Chargin 3 | Willow Chargin 4 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true, 3 | "trailingComma": "es5", 4 | "bracketSpacing": false, 5 | "arrowParens": "always" 6 | } 7 | -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of TensorFlow authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as: 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | Google Inc. 10 | Yuan Tang terrytangyuan@gmail.com 11 | -------------------------------------------------------------------------------- /BUILD: -------------------------------------------------------------------------------- 1 | load("@npm//@bazel/typescript:index.bzl", "ts_config") 2 | 3 | licenses(["notice"]) 4 | 5 | exports_files(["tsconfig.json"]) 6 | 7 | # Inspired from internal tsconfig generation for project like TensorBoard. 8 | ts_config( 9 | name = "tsconfig-lax", 10 | src = "tsconfig-lax.json", 11 | visibility = [ 12 | "//tensorboard:internal", 13 | ], 14 | deps = [], 15 | ) 16 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # TensorBoard Security 2 | 3 | Please refer to [TensorFlow’s security model and guidelines][tf-security]. 4 | 5 | [tf-security]: https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md 6 | -------------------------------------------------------------------------------- /docs/.yamllint: -------------------------------------------------------------------------------- 1 | # See https://yamllint.readthedocs.io/en/stable/rules.html 2 | extends: default 3 | rules: 4 | document-start: 5 | present: false 6 | indentation: 7 | indent-sequences: false 8 | line-length: 9 | allow-non-breakable-words: true 10 | allow-non-breakable-inline-mappings: true 11 | -------------------------------------------------------------------------------- /docs/api_docs/README.md: -------------------------------------------------------------------------------- 1 | # API reference 2 | 3 | Create a `build_docs.py` script using the 4 | [api_generator](https://github.com/tensorflow/docs/tree/master/tools/tensorflow_docs/api_generator) API. 5 | -------------------------------------------------------------------------------- /docs/api_docs/python/_toc.yaml: -------------------------------------------------------------------------------- 1 | # This file will be automatically generated when the API generator is configured 2 | toc: 3 | - title: tensorboard 4 | section: 5 | - title: Overview 6 | path: /tensorboard/api_docs/python/ 7 | -------------------------------------------------------------------------------- /docs/api_docs/python/index.md: -------------------------------------------------------------------------------- 1 | # API reference 2 | 3 | This section will be generated when the 4 | [api_generator](https://github.com/tensorflow/docs/tree/master/tools/tensorflow_docs/api_generator) 5 | is configured. 6 | -------------------------------------------------------------------------------- /docs/design/images/.gitattributes: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | # SVG generated by Google Docs and manually cropped in Inkscape. Unwieldy. 17 | rustboard_data_flow.svg -merge -diff 18 | -------------------------------------------------------------------------------- /docs/design/images/colab_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/design/images/colab_screenshot.png -------------------------------------------------------------------------------- /docs/images/debugger_v2_1_full_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/debugger_v2_1_full_view.png -------------------------------------------------------------------------------- /docs/images/debugger_v2_2_nan_inf_alerts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/debugger_v2_2_nan_inf_alerts.png -------------------------------------------------------------------------------- /docs/images/debugger_v2_3_graph_input.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/debugger_v2_3_graph_input.png -------------------------------------------------------------------------------- /docs/images/debugger_v2_4_source_code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/debugger_v2_4_source_code.png -------------------------------------------------------------------------------- /docs/images/embedding_projector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/embedding_projector.png -------------------------------------------------------------------------------- /docs/images/embedding_projector_anderson.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/embedding_projector_anderson.png -------------------------------------------------------------------------------- /docs/images/embedding_projector_hitchcock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/embedding_projector_hitchcock.png -------------------------------------------------------------------------------- /docs/images/example_basic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/example_basic.png -------------------------------------------------------------------------------- /docs/images/example_raw_scalars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/example_raw_scalars.png -------------------------------------------------------------------------------- /docs/images/graphs_autograph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/graphs_autograph.png -------------------------------------------------------------------------------- /docs/images/graphs_computation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/graphs_computation.png -------------------------------------------------------------------------------- /docs/images/graphs_computation_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/graphs_computation_detail.png -------------------------------------------------------------------------------- /docs/images/graphs_conceptual.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/graphs_conceptual.png -------------------------------------------------------------------------------- /docs/images/graphs_tag_selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/graphs_tag_selection.png -------------------------------------------------------------------------------- /docs/images/hparams_parallel_coordinates.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/hparams_parallel_coordinates.png -------------------------------------------------------------------------------- /docs/images/hparams_table.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/hparams_table.png -------------------------------------------------------------------------------- /docs/images/images_accuracy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/images_accuracy.png -------------------------------------------------------------------------------- /docs/images/images_arbitrary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/images_arbitrary.png -------------------------------------------------------------------------------- /docs/images/images_cm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/images_cm.png -------------------------------------------------------------------------------- /docs/images/images_multiple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/images_multiple.png -------------------------------------------------------------------------------- /docs/images/images_single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/images_single.png -------------------------------------------------------------------------------- /docs/images/notebook_tensorboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/notebook_tensorboard.png -------------------------------------------------------------------------------- /docs/images/notebook_tensorboard_tall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/notebook_tensorboard_tall.png -------------------------------------------------------------------------------- /docs/images/notebook_tensorboard_two_runs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/notebook_tensorboard_two_runs.png -------------------------------------------------------------------------------- /docs/images/profiler_overview_page_bad_ip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/profiler_overview_page_bad_ip.png -------------------------------------------------------------------------------- /docs/images/profiler_overview_page_good_ip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/profiler_overview_page_good_ip.png -------------------------------------------------------------------------------- /docs/images/profiler_trace_viewer_bad_ip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/profiler_trace_viewer_bad_ip.png -------------------------------------------------------------------------------- /docs/images/profiler_trace_viewer_good_ip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/profiler_trace_viewer_good_ip.png -------------------------------------------------------------------------------- /docs/images/quickstart_gradient_tape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/quickstart_gradient_tape.png -------------------------------------------------------------------------------- /docs/images/quickstart_model_fit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/quickstart_model_fit.png -------------------------------------------------------------------------------- /docs/images/scalars_custom_lr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/scalars_custom_lr.png -------------------------------------------------------------------------------- /docs/images/scalars_loss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/scalars_loss.png -------------------------------------------------------------------------------- /docs/images/tensorboard.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/tensorboard.gif -------------------------------------------------------------------------------- /docs/images/text_simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/text_simple.png -------------------------------------------------------------------------------- /docs/images/what_if_tool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/what_if_tool.png -------------------------------------------------------------------------------- /docs/images/what_if_tool_demo_setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/docs/images/what_if_tool_demo_setup.png -------------------------------------------------------------------------------- /patches/BUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/patches/BUILD -------------------------------------------------------------------------------- /patches/README.md: -------------------------------------------------------------------------------- 1 | # TensorBoard patches using patch-package. 2 | 3 | We use [patch-package](https://www.npmjs.com/package/patch-package) to apply 4 | TensorBoard-specific patches to some of our npm/yarn dependencies. 5 | 6 | To regenerate @bazel/concatjs patch: 7 | * `vi node_modules/@bazel/concatjs/web_test/karma.conf.js` 8 | * make edits 9 | * `yarn patch-package "@bazel/concatjs"` 10 | * update the WORKSPACE file with the name of the new patch file 11 | 12 | 13 | To regenerate @angular/build-tooling patch: 14 | * `vi node_modules/@angular/build-tooling/shared-scripts/angular-optimization/esbuild-plugin.mjs` 15 | * make edits 16 | * `yarn patch-package "@angular/build-tooling"` 17 | * update the WORKSPACE file with the name of the new patch file 18 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 80 3 | target-version = ["py36", "py37", "py38"] 4 | -------------------------------------------------------------------------------- /tensorboard/__main__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2016 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | """Module that allows the user to run `python -m tensorboard`.""" 16 | 17 | 18 | from tensorboard import main as _main 19 | 20 | run_main = _main.run_main 21 | 22 | del _main 23 | 24 | if __name__ == "__main__": 25 | run_main() 26 | -------------------------------------------------------------------------------- /tensorboard/backend/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/backend/event_processing/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/compat/proto/README.md: -------------------------------------------------------------------------------- 1 | # TensorFlow Protos 2 | 3 | Protobuf files copied from the main TensorFlow repository and used in the case of tensorboard-notf, which builds without a TensorFlow dependency. 4 | 5 | ## Update process 6 | 7 | Copy the proto files from TensorFlow to TensorBoard using the following process: 8 | 9 | * git clone tensorflow/tensorboard and tensorflow/tensorboard in ~ 10 | * cd ~/tensorboard 11 | * ./tensorboard/compat/proto/update.sh 12 | * git add . 13 | * git commit -m "Update TensorFlow protos to xxxx" 14 | 15 | These were taken from TensorFlow version 1.12.0-dev20181012 16 | -------------------------------------------------------------------------------- /tensorboard/compat/proto/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/compat/proto/allocation_description.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorboard; 4 | 5 | option cc_enable_arenas = true; 6 | option java_outer_classname = "AllocationDescriptionProtos"; 7 | option java_multiple_files = true; 8 | option java_package = "org.tensorflow.framework"; 9 | option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/allocation_description_go_proto"; 10 | 11 | message AllocationDescription { 12 | // Total number of bytes requested 13 | int64 requested_bytes = 1; 14 | 15 | // Total number of bytes allocated if known 16 | int64 allocated_bytes = 2; 17 | 18 | // Name of the allocator used 19 | string allocator_name = 3; 20 | 21 | // Identifier of the allocated buffer if known 22 | int64 allocation_id = 4; 23 | 24 | // Set if this tensor only has one remaining reference 25 | bool has_single_reference = 5; 26 | 27 | // Address of the allocation. 28 | uint64 ptr = 6; 29 | } 30 | -------------------------------------------------------------------------------- /tensorboard/compat/proto/histogram.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorboard; 4 | 5 | option cc_enable_arenas = true; 6 | option java_multiple_files = true; 7 | option java_package = "org.tensorflow.framework"; 8 | option go_package = "github.com/google/tsl/tsl/go/core/protobuf/summary_go_proto"; 9 | 10 | // Serialization format for histogram module in 11 | // tsl/lib/histogram/histogram.h 12 | message HistogramProto { 13 | double min = 1; 14 | double max = 2; 15 | double num = 3; 16 | double sum = 4; 17 | double sum_squares = 5; 18 | 19 | // Parallel arrays encoding the bucket boundaries and the bucket values. 20 | // bucket(i) is the count for the bucket i. The range for 21 | // a bucket is: 22 | // i == 0: -DBL_MAX .. bucket_limit(0) 23 | // i != 0: bucket_limit(i-1) .. bucket_limit(i) 24 | repeated double bucket_limit = 6 [packed = true]; 25 | repeated double bucket = 7 [packed = true]; 26 | } 27 | -------------------------------------------------------------------------------- /tensorboard/compat/proto/tensor_description.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorboard; 4 | 5 | import "tensorboard/compat/proto/allocation_description.proto"; 6 | import "tensorboard/compat/proto/tensor_shape.proto"; 7 | import "tensorboard/compat/proto/types.proto"; 8 | 9 | option cc_enable_arenas = true; 10 | option java_outer_classname = "TensorDescriptionProtos"; 11 | option java_multiple_files = true; 12 | option java_package = "org.tensorflow.framework"; 13 | option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/framework/tensor_description_go_proto"; 14 | 15 | message TensorDescription { 16 | // Data type of tensor elements 17 | DataType dtype = 1; 18 | 19 | // Shape of the tensor. 20 | TensorShapeProto shape = 2; 21 | 22 | // Information about the size and allocator used for the data 23 | AllocationDescription allocation_description = 4; 24 | } 25 | -------------------------------------------------------------------------------- /tensorboard/compat/proto/verifier_config.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorboard; 4 | 5 | option cc_enable_arenas = true; 6 | option java_outer_classname = "VerifierConfigProtos"; 7 | option java_multiple_files = true; 8 | option java_package = "org.tensorflow.framework"; 9 | option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto"; 10 | 11 | // The config for graph verifiers. 12 | message VerifierConfig { 13 | enum Toggle { 14 | DEFAULT = 0; 15 | ON = 1; 16 | OFF = 2; 17 | } 18 | 19 | // Deadline for completion of all verification i.e. all the Toggle ON 20 | // verifiers must complete execution within this time. 21 | int64 verification_timeout_in_ms = 1; 22 | 23 | // Perform structural validation on a tensorflow graph. Default is OFF. 24 | Toggle structure_verifier = 2; 25 | 26 | // Next tag: 3 27 | } 28 | -------------------------------------------------------------------------------- /tensorboard/compat/tensorflow_stub/compat/v1/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | 17 | # Set this in tensorboard/compat/tensorflow_stub/__init__.py to eliminate 18 | # any cycles on import 19 | # 20 | # from tensorboard.compat.tensorflow_stub import pywrap_tensorflow # noqa 21 | -------------------------------------------------------------------------------- /tensorboard/compat/tensorflow_stub/io/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | 17 | from . import gfile # noqa 18 | -------------------------------------------------------------------------------- /tensorboard/components/analytics.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | // TODO(@jart): Give users the ability to opt-in to analytics. 17 | // We fake the global 'ga' object, so the object is a noop. The 18 | // google.analytics typing gives the object a type of UniversalAnalytics.ga. 19 | // We do not track open source users. 20 | (window as any)['ga'] = function () {}; 21 | -------------------------------------------------------------------------------- /tensorboard/components/experimental/plugin_lib/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | # TODO(psybuzz): create a NPM package when a better requirement comes up using 8 | # tf_js_binary. 9 | tf_ts_library( 10 | name = "plugin_lib", 11 | srcs = [ 12 | "core.ts", 13 | "index.ts", 14 | "plugin-guest.ts", 15 | "runs.ts", 16 | ], 17 | visibility = ["//visibility:public"], 18 | deps = [ 19 | "//tensorboard/components/experimental/plugin_util:message", 20 | ], 21 | ) 22 | 23 | tf_ts_library( 24 | name = "plugin_lib_polymer_interop_internal", 25 | srcs = [ 26 | "polymer-interop.ts", 27 | ], 28 | deps = [ 29 | ":plugin_lib", 30 | ], 31 | ) 32 | -------------------------------------------------------------------------------- /tensorboard/components/experimental/plugin_lib/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import * as _core from './core'; 16 | import * as _runs from './runs'; 17 | 18 | export const core = _core; 19 | export const runs = _runs; 20 | -------------------------------------------------------------------------------- /tensorboard/components/experimental/plugin_lib/polymer-interop.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | -------------------------------------------------------------------------------- /tensorboard/components/experimental/plugin_util/message_types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export enum MessageId { 16 | RUNS_CHANGED = 'experimental.RunsChanged', 17 | GET_RUNS = 'experimental.GetRuns', 18 | GET_URL_DATA = 'experimental.GetURLPluginData', 19 | DATA_RELOADED = 'experimental.DataReloaded', 20 | } 21 | -------------------------------------------------------------------------------- /tensorboard/components/polymer/dom-repeat.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from '@polymer/polymer/lib/elements/dom-repeat'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/polymer/dom.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from '@polymer/polymer/lib/legacy/polymer.dom'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/polymer/legacy_element_mixin.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from '@polymer/polymer/lib/legacy/legacy-element-mixin'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/polymer/paper_inky_focus_behavior.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from '@polymer/paper-behaviors/paper-inky-focus-behavior'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/polymer/plottable-style.uninlined.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | import {registerStyleDomModule} from './register_style_dom_module'; 17 | 18 | registerStyleDomModule({ 19 | moduleName: 'plottable-style', 20 | styleContent: ` 21 | %plottable.css% 22 | `, 23 | }); 24 | -------------------------------------------------------------------------------- /tensorboard/components/polymer/utils_mixin.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from '@polymer/polymer/lib/utils/mixin'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/security.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | /** 16 | * @fileoverview Security configration for Polymer. Note that this module has 17 | * to be imported the first in a bundle. 18 | */ 19 | import {setStrictTemplatePolicy} from '@polymer/polymer/lib/utils/settings'; 20 | 21 | setStrictTemplatePolicy(true); 22 | -------------------------------------------------------------------------------- /tensorboard/components/tb_debug/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | # A standalone target providing clients a way to notify TensorBoard developers 6 | # when events occur for debugging purposes. 7 | tf_ts_library( 8 | name = "tb_debug", 9 | srcs = [ 10 | "index.ts", 11 | "types.ts", 12 | ], 13 | ) 14 | -------------------------------------------------------------------------------- /tensorboard/components/tensor_widget/externs.js: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | /** 16 | * @externs Externs for TensorWidget for interoperability. 17 | */ 18 | 19 | /** @type {!Object} */ 20 | var tensor_widget = {}; 21 | 22 | /** @type {!Function} */ 23 | tensor_widget.tensorWidget; 24 | 25 | /** @type {!string} */ 26 | tensor_widget.VERSION; 27 | -------------------------------------------------------------------------------- /tensorboard/components/tensor_widget/tensor-widget-interop.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import * as tensorWidget from './tensor-widget'; 16 | 17 | // Prevent JSComp to mangle the exported name. 18 | (window as any)['tensor_widget'] = tensorWidget; 19 | -------------------------------------------------------------------------------- /tensorboard/components/tensor_widget/tensor-widget-style.uninlined.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | import {registerStyleDomModule} from '../../components/polymer/register_style_dom_module'; 17 | 18 | registerStyleDomModule({ 19 | moduleName: 'tensor-widget-style', 20 | styleContent: ` 21 | %tensor-widget.css% 22 | `, 23 | }); 24 | -------------------------------------------------------------------------------- /tensorboard/components/tensor_widget/tensor-widget.html: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | -------------------------------------------------------------------------------- /tensorboard/components/tensor_widget/version.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export const VERSION = '0.0.0'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/tf_card_heading/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_card_heading", 9 | srcs = [ 10 | "tf-card-heading.ts", 11 | "tf-card-heading-style.ts", 12 | "util.ts", 13 | ], 14 | strict_checks = False, 15 | deps = [ 16 | "//tensorboard/components/polymer:irons_and_papers", 17 | "//tensorboard/components/polymer:register_style_dom_module", 18 | "//tensorboard/components/tf_markdown_view", 19 | "@npm//@polymer/decorators", 20 | "@npm//@polymer/polymer", 21 | ], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorboard/components/tf_categorization_utils/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_categorization_utils", 9 | srcs = [ 10 | "categorizationUtils.ts", 11 | "tf-tag-filterer.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/components/polymer:irons_and_papers", 16 | "//tensorboard/components/tf_backend", 17 | "//tensorboard/components/tf_backend:type", 18 | "//tensorboard/components/tf_storage", 19 | "//tensorboard/components/vz_sorting", 20 | "@npm//@polymer/decorators", 21 | "@npm//@polymer/polymer", 22 | "@npm//@types/lodash", 23 | "@npm//lodash", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/components/tf_color_scale/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_color_scale", 9 | srcs = [ 10 | "colorScale.ts", 11 | "palettes.ts", 12 | "tf-color-scale-polymer.ts", 13 | ], 14 | strict_checks = False, 15 | deps = [ 16 | "//tensorboard/components/tf_backend", 17 | "@npm//@polymer/decorators", 18 | "@npm//@polymer/polymer", 19 | "@npm//@types/d3", 20 | "@npm//d3", 21 | ], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorboard/components/tf_feature_flags/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_web_test_suite", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_feature_flags", 9 | srcs = [ 10 | "feature-flags.ts", 11 | "tf-feature-flags-polymer.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp/feature_flag:types", 15 | "@npm//@polymer/decorators", 16 | "@npm//@polymer/polymer", 17 | ], 18 | ) 19 | 20 | tf_ts_library( 21 | name = "test_lib", 22 | testonly = True, 23 | srcs = [ 24 | "feature-flags-test.ts", 25 | ], 26 | deps = [ 27 | ":tf_feature_flags", 28 | "//tensorboard/webapp/feature_flag:testing", 29 | "@npm//@types/jasmine", 30 | ], 31 | ) 32 | 33 | tf_ng_web_test_suite( 34 | name = "karma_test", 35 | deps = [ 36 | ":test_lib", 37 | ], 38 | ) 39 | -------------------------------------------------------------------------------- /tensorboard/components/tf_globals/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_globals", 9 | srcs = [ 10 | "globals-polymer.ts", 11 | ], 12 | deps = [ 13 | ":tf_globals_lib", 14 | "//tensorboard/webapp:tb_polymer_interop_types", 15 | "@npm//@polymer/decorators", 16 | "@npm//@polymer/polymer", 17 | ], 18 | ) 19 | 20 | tf_ts_library( 21 | name = "tf_globals_lib", 22 | srcs = [ 23 | "globals.ts", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/components/tf_imports/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:web.bzl", "tf_web_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_web_library( 8 | name = "roboto", 9 | srcs = [ 10 | "roboto.html", 11 | ], 12 | path = "/tf-imports", 13 | deps = [ 14 | "@com_google_fonts_roboto", 15 | ], 16 | ) 17 | -------------------------------------------------------------------------------- /tensorboard/components/tf_imports/roboto.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tensorboard/components/tf_line_chart_data_loader/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_line_chart_data_loader", 9 | srcs = [ 10 | "tf-line-chart-data-loader.ts", 11 | ], 12 | strict_checks = False, 13 | deps = [ 14 | "//tensorboard/components/polymer:irons_and_papers", 15 | "//tensorboard/components/polymer:legacy_element_mixin", 16 | "//tensorboard/components/tf_backend", 17 | "//tensorboard/components/tf_color_scale", 18 | "//tensorboard/components/tf_dashboard_common", 19 | "//tensorboard/components/vz_chart_helpers", 20 | "//tensorboard/components/vz_line_chart2", 21 | "@npm//@polymer/decorators", 22 | "@npm//@polymer/polymer", 23 | "@npm//@types/lodash", 24 | "@npm//lodash", 25 | "@npm//plottable", 26 | ], 27 | ) 28 | -------------------------------------------------------------------------------- /tensorboard/components/tf_markdown_view/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_markdown_view", 9 | srcs = ["tf-markdown-view.ts"], 10 | strict_checks = False, 11 | deps = [ 12 | ":sanitize", 13 | "//tensorboard/components/polymer:legacy_element_mixin", 14 | "@npm//@polymer/decorators", 15 | "@npm//@polymer/polymer", 16 | ], 17 | ) 18 | 19 | tf_ts_library( 20 | name = "sanitize", 21 | srcs = ["sanitize.ts"], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorboard/components/tf_paginated_view/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_paginated_view", 9 | srcs = [ 10 | "index.ts", 11 | "paginatedViewStore.ts", 12 | "tf-category-paginated-view.ts", 13 | "tf-dom-repeat.ts", 14 | "tf-paginated-view-store.ts", 15 | ], 16 | strict_checks = False, 17 | deps = [ 18 | "//tensorboard/components/polymer:irons_and_papers", 19 | "//tensorboard/components/polymer:legacy_element_mixin", 20 | "//tensorboard/components/polymer:register_style_dom_module", 21 | "//tensorboard/components/tf_categorization_utils", 22 | "//tensorboard/components/tf_dashboard_common", 23 | "//tensorboard/components/tf_storage", 24 | "@npm//@polymer/decorators", 25 | "@npm//@polymer/polymer", 26 | ], 27 | ) 28 | -------------------------------------------------------------------------------- /tensorboard/components/tf_paginated_view/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './paginatedViewStore'; 16 | export * from './tf-category-paginated-view'; 17 | export * from './tf-dom-repeat'; 18 | -------------------------------------------------------------------------------- /tensorboard/components/tf_runs_selector/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_runs_selector", 9 | srcs = ["tf-runs-selector.ts"], 10 | strict_checks = False, 11 | deps = [ 12 | "//tensorboard/components/polymer:irons_and_papers", 13 | "//tensorboard/components/polymer:legacy_element_mixin", 14 | "//tensorboard/components/tf_backend", 15 | "//tensorboard/components/tf_color_scale", 16 | "//tensorboard/components/tf_dashboard_common", 17 | "//tensorboard/components/tf_storage", 18 | "//tensorboard/components/tf_wbr_string", 19 | "@npm//@polymer/decorators", 20 | "@npm//@polymer/polymer", 21 | ], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorboard/components/tf_storage/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_storage", 9 | srcs = [ 10 | "index.ts", 11 | "storage.ts", 12 | "tf-storage-polymer.ts", 13 | ], 14 | strict_checks = False, 15 | deps = [ 16 | ":tf_storage_lib", 17 | "//tensorboard/webapp:tb_polymer_interop_types", 18 | "@npm//@polymer/decorators", 19 | "@npm//@polymer/polymer", 20 | "@npm//@types/lodash", 21 | "@npm//lodash", 22 | ], 23 | ) 24 | 25 | tf_ts_library( 26 | name = "tf_storage_lib", 27 | srcs = [ 28 | "listeners.ts", 29 | "storage_utils.ts", 30 | ], 31 | strict_checks = False, 32 | deps = [ 33 | "//tensorboard/components/tf_globals:tf_globals_lib", 34 | ], 35 | ) 36 | -------------------------------------------------------------------------------- /tensorboard/components/tf_storage/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './listeners'; 16 | export * from './storage'; 17 | -------------------------------------------------------------------------------- /tensorboard/components/tf_utils/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_utils", 9 | srcs = [ 10 | "utils.ts", 11 | ], 12 | strict_checks = False, 13 | ) 14 | -------------------------------------------------------------------------------- /tensorboard/components/tf_wbr_string/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_wbr_string", 9 | srcs = [ 10 | "tf-wbr-string.ts", 11 | ], 12 | strict_checks = False, 13 | deps = [ 14 | "@npm//@polymer/decorators", 15 | "@npm//@polymer/polymer", 16 | ], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorboard/components/vz_chart_helpers/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "vz_chart_helpers", 9 | srcs = [ 10 | "plottable-interactions.ts", 11 | "vz-chart-helpers.ts", 12 | "vz-chart-tooltip.ts", 13 | ], 14 | strict_checks = False, 15 | deps = [ 16 | "//tensorboard/components/polymer:legacy_element_mixin", 17 | "@npm//@polymer/decorators", 18 | "@npm//@polymer/polymer", 19 | "@npm//@types/d3", 20 | "@npm//@types/lodash", 21 | "@npm//d3", 22 | "@npm//lodash", 23 | "@npm//plottable", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/components/vz_line_chart2/microbenchmark/polymer_util.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export async function polymerFlush() { 17 | return new Promise((resolve) => { 18 | (Polymer as any).flush(); 19 | (Polymer as any).RenderStatus.afterNextRender(null, () => { 20 | resolve(); 21 | }); 22 | }); 23 | } 24 | -------------------------------------------------------------------------------- /tensorboard/components/vz_sorting/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "vz_sorting", 9 | srcs = [ 10 | "sorting.ts", 11 | ], 12 | strict_checks = False, 13 | ) 14 | -------------------------------------------------------------------------------- /tensorboard/data/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/data/experimental/BUILD: -------------------------------------------------------------------------------- 1 | # This is a stub BUILD file that remains after the deletion of the experimental 2 | # data frame API. We keep it (temporarily) to allow copybara imports to succeed. 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | exports_files(["LICENSE"]) 8 | -------------------------------------------------------------------------------- /tensorboard/data/ingester_test.py: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | """Unit tests for `tensorboard.ingester`.""" 16 | 17 | from tensorboard.data import ingester 18 | 19 | # This is a pure abstract class. There's really nothing to test other than that 20 | # it executes successfully. 21 | del ingester 22 | -------------------------------------------------------------------------------- /tensorboard/data/proto/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:protos.bzl", "tb_proto_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | filegroup( 8 | name = "proto_srcs", 9 | srcs = glob(["*.proto"]), 10 | ) 11 | 12 | tb_proto_library( 13 | name = "protos_all", 14 | srcs = [ 15 | "data_provider.proto", 16 | ], 17 | has_services = True, 18 | deps = ["//tensorboard/compat/proto:protos_all"], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorboard/data/server/.gitattributes: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | *.pb.rs -merge linguist-generated=true 17 | descriptor.bin -diff -merge linguist-generated=true 18 | -------------------------------------------------------------------------------- /tensorboard/data/server/.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | target/ 17 | -------------------------------------------------------------------------------- /tensorboard/data/server/descriptor.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/data/server/descriptor.bin -------------------------------------------------------------------------------- /tensorboard/data/server/gcs.rs: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | //! Google Cloud Storage interop. 17 | 18 | mod auth; 19 | mod client; 20 | mod logdir; 21 | 22 | pub use client::{Client, ClientError}; 23 | pub use logdir::Logdir; 24 | -------------------------------------------------------------------------------- /tensorboard/data/server/main.rs: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | fn main() -> Result<(), Box> { 17 | rustboard_core::cli::main() 18 | } 19 | -------------------------------------------------------------------------------- /tensorboard/data/server/rustfmt.toml: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | # Keep in sync with `edition` in Cargo.toml. We replicate it here since 17 | # `rustfmt` only looks at Cargo.toml when run as `cargo fmt` and some editors 18 | # run `rustfmt` directly. See: https://github.com/rust-lang/rust-mode/issues/289 19 | edition = "2018" 20 | -------------------------------------------------------------------------------- /tensorboard/defs/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/defs/internal/BUILD: -------------------------------------------------------------------------------- 1 | load("@rules_python//python:py_binary.bzl", "py_binary") 2 | load("@rules_python//python:py_test.bzl", "py_test") 3 | 4 | package(default_visibility = ["//tensorboard:internal"]) 5 | 6 | licenses(["notice"]) 7 | 8 | py_binary( 9 | name = "resource_digest_suffixer", 10 | srcs = ["resource_digest_suffixer.py"], 11 | ) 12 | 13 | py_test( 14 | name = "resource_digest_suffixer_test", 15 | srcs = ["resource_digest_suffixer_test.py"], 16 | deps = [ 17 | ":resource_digest_suffixer", 18 | "//tensorboard:test", 19 | ], 20 | ) 21 | -------------------------------------------------------------------------------- /tensorboard/defs/js.bzl: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | """External-only delegates for various JavaScript BUILD rules/macros.""" 15 | 16 | load("//tensorboard/defs/internal:resource.bzl", _tf_resource_digest_suffixer = "tf_resource_digest_suffixer") 17 | 18 | tf_resource_digest_suffixer = _tf_resource_digest_suffixer 19 | -------------------------------------------------------------------------------- /tensorboard/examples/plugins/example_basic/.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | # Generated by running `python setup.py develop`. 17 | tensorboard_plugin_example.egg-info/ 18 | 19 | # Generated by running `python setup.py bdist_wheel`. 20 | build/ 21 | dist/ 22 | 23 | # Generated by the demo script. 24 | demo_logs/ 25 | -------------------------------------------------------------------------------- /tensorboard/examples/plugins/example_basic/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/examples/plugins/example_basic/tensorboard_plugin_example/metadata.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | """Plugin-specific global metadata.""" 16 | 17 | 18 | PLUGIN_NAME = "example_basic" 19 | -------------------------------------------------------------------------------- /tensorboard/examples/plugins/example_raw_scalars/.gitignore: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | # Generated by running `python setup.py develop`. 17 | tensorboard_plugin_example_raw_scalars.egg-info/ 18 | 19 | # Generated by running `python setup.py bdist_wheel`. 20 | build/ 21 | dist/ 22 | 23 | # Generated by the demo script. 24 | demo_logs/ 25 | -------------------------------------------------------------------------------- /tensorboard/examples/plugins/example_raw_scalars/tensorboard_plugin_example_raw_scalars/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # An example plugin. 3 | load("@rules_python//python:py_library.bzl", "py_library") 4 | 5 | package(default_visibility = ["//tensorboard:internal"]) 6 | 7 | licenses(["notice"]) 8 | 9 | py_library( 10 | name = "plugin", 11 | srcs = ["plugin.py"], 12 | srcs_version = "PY3", 13 | visibility = ["//visibility:public"], 14 | ) 15 | -------------------------------------------------------------------------------- /tensorboard/examples/plugins/example_raw_scalars/tensorboard_plugin_example_raw_scalars/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | """Entry point for the example_raw_scalars plugin package. 16 | 17 | Private submodules: 18 | plugin: TensorBoard backend plugin. 19 | """ 20 | -------------------------------------------------------------------------------- /tensorboard/functionaltests/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_webtesting//web:py.bzl", "py_web_test_suite") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | py_web_test_suite( 8 | name = "core_test", 9 | srcs = ["core_test.py"], 10 | browsers = ["//tensorboard/functionaltests/browsers:chromium"], 11 | data = [ 12 | "//tensorboard", 13 | ], 14 | # TODO(@jart): Make this fast and not flaky. 15 | flaky = True, 16 | srcs_version = "PY3", 17 | tags = [ 18 | "manual", 19 | "webtest", 20 | ], 21 | deps = [ 22 | "//tensorboard/plugins/audio:audio_demo", 23 | "//tensorboard/plugins/scalar:scalars_demo", 24 | "@io_bazel_rules_webtesting//testing/web", 25 | ], 26 | ) 27 | -------------------------------------------------------------------------------- /tensorboard/functionaltests/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/functionaltests/browsers/BUILD: -------------------------------------------------------------------------------- 1 | load("@io_bazel_rules_webtesting//web:web.bzl", "browser") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | config_setting( 8 | name = "mac", 9 | values = {"cpu": "darwin"}, 10 | visibility = ["//:__subpackages__"], 11 | ) 12 | 13 | config_setting( 14 | name = "linux", 15 | values = {"cpu": "k8"}, 16 | visibility = ["//:__subpackages__"], 17 | ) 18 | 19 | browser( 20 | name = "chromium", 21 | environment = select({ 22 | ":linux": None, 23 | ":mac": {"DISABLE_X_DISPLAY": "1"}, 24 | }), 25 | metadata = "chromium.json", 26 | visibility = ["//visibility:public"], 27 | deps = [ 28 | "//third_party/chromium", 29 | "//third_party/chromium:chromedriver", 30 | "@io_bazel_rules_webtesting//go/wsl", 31 | ], 32 | ) 33 | -------------------------------------------------------------------------------- /tensorboard/functionaltests/browsers/chromium.json: -------------------------------------------------------------------------------- 1 | { 2 | "environment": "local", 3 | "capabilities": { 4 | "browserName": "chrome", 5 | "goog:chromeOptions": { 6 | "args": ["--headless", "--no-sandbox"], 7 | "binary": "%FILE:CHROMIUM%" 8 | }, 9 | "google:wslConfig": { 10 | "binary": "%FILE:CHROMEDRIVER%", 11 | "port":"%WSLPORT:WSL%", 12 | "args": ["--port=%WSLPORT:WSL%"], 13 | "status": true, 14 | "shutdown": true 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tensorboard/functionaltests/browsers/disabled.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tensorboard/logo/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # TensorBoard logo files. 3 | 4 | package(default_visibility = ["//tensorboard:internal"]) 5 | 6 | licenses(["notice"]) 7 | 8 | sh_binary( 9 | name = "inline_favicon", 10 | srcs = ["inline_favicon.sh"], 11 | data = [ 12 | "favicon.png", 13 | ], 14 | ) 15 | -------------------------------------------------------------------------------- /tensorboard/logo/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/logo/favicon.png -------------------------------------------------------------------------------- /tensorboard/pip_package/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | include README.rst 3 | graft tensorboard 4 | -------------------------------------------------------------------------------- /tensorboard/pip_package/README.rst: -------------------------------------------------------------------------------- 1 | TensorBoard is a suite of web applications for inspecting and understanding 2 | your TensorFlow runs and graphs. 3 | 4 | Releases prior to 1.6.0 were published under the ``tensorflow-tensorboard`` name 5 | and may be found at https://pypi.python.org/pypi/tensorflow-tensorboard. 6 | -------------------------------------------------------------------------------- /tensorboard/pip_package/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/pip_package/setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description_file = README.rst 3 | license_files = LICENSE 4 | -------------------------------------------------------------------------------- /tensorboard/plugins/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # A plugin system for TensorBoard 3 | load("@rules_python//python:py_library.bzl", "py_library") 4 | load("@rules_python//python:py_test.bzl", "py_test") 5 | 6 | package(default_visibility = ["//tensorboard:internal"]) 7 | 8 | licenses(["notice"]) 9 | 10 | py_library( 11 | name = "base_plugin", 12 | srcs = ["base_plugin.py"], 13 | srcs_version = "PY3", 14 | visibility = ["//visibility:public"], 15 | ) 16 | 17 | py_test( 18 | name = "base_plugin_test", 19 | srcs = ["base_plugin_test.py"], 20 | srcs_version = "PY3", 21 | deps = [ 22 | ":base_plugin", 23 | "//tensorboard:test", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/plugins/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/audio/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/core/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/custom_scalar/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/custom_scalar/docs/demo_code_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/custom_scalar/docs/demo_code_dashboard.png -------------------------------------------------------------------------------- /tensorboard/plugins/custom_scalar/docs/download_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/custom_scalar/docs/download_data.png -------------------------------------------------------------------------------- /tensorboard/plugins/custom_scalar/docs/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/custom_scalar/docs/overview.png -------------------------------------------------------------------------------- /tensorboard/plugins/custom_scalar/docs/trig_functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/custom_scalar/docs/trig_functions.png -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "actions", 9 | srcs = [ 10 | "debugger_actions.ts", 11 | "index.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/data_source", 15 | "//tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/store:types", 16 | "@npm//@ngrx/store", 17 | ], 18 | ) 19 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/actions/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './debugger_actions'; 17 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/data_source/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ng_module( 6 | name = "data_source", 7 | srcs = [ 8 | "tfdbg2_data_source.ts", 9 | "tfdbg2_data_source_module.ts", 10 | ], 11 | deps = [ 12 | "//tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/store:types", 13 | "//tensorboard/webapp/webapp_data_source:http_client", 14 | "@npm//@angular/common", 15 | "@npm//@angular/core", 16 | "@npm//rxjs", 17 | ], 18 | ) 19 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/effects/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './debugger_effects'; 17 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/store/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './debugger_reducers'; 17 | export * from './debugger_selectors'; 18 | export {DebuggerState, DEBUGGER_FEATURE_KEY, State} from './debugger_types'; 19 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/testing/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ts_library( 6 | name = "testing", 7 | testonly = True, 8 | srcs = ["index.ts"], 9 | deps = [ 10 | "//tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/store", 11 | "//tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/store:types", 12 | "@npm//@angular/core", 13 | "@npm//@ngrx/store", 14 | ], 15 | ) 16 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export const PLUGIN_ID = 'debugger-v2'; 17 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/common/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_sass_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_sass_library( 8 | name = "style_lib", 9 | srcs = ["_lib.scss"], 10 | deps = ["//tensorboard/webapp:angular_material_sass_deps"], 11 | ) 12 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_inline_pngs", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_inline_pngs( 8 | name = "gen_inactive_component.ng.html", 9 | out = "inactive_component.ng.html", 10 | html_template = "inactive_component.uninlined.ng.html", 11 | images = glob(["images/*.png"]), 12 | ) 13 | 14 | tf_ng_module( 15 | name = "inactive", 16 | srcs = [ 17 | "inactive_component.ts", 18 | "inactive_container.ts", 19 | "inactive_module.ts", 20 | ], 21 | assets = [ 22 | "inactive_component.css", 23 | "inactive_component.ng.html", 24 | ], 25 | deps = [ 26 | "@npm//@angular/core", 27 | "@npm//@ngrx/store", 28 | "@npm//rxjs", 29 | ], 30 | ) 31 | -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/images/cutout-1-alerts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/images/cutout-1-alerts.png -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/images/cutout-2-tracing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/images/cutout-2-tracing.png -------------------------------------------------------------------------------- /tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/images/cutout-3-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/debugger_v2/tf_debugger_v2_plugin/views/inactive/images/cutout-3-code.png -------------------------------------------------------------------------------- /tensorboard/plugins/distribution/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/distribution/metadata.py: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | """Information on the distributions plugin.""" 16 | 17 | 18 | # This name is used as the plugin prefix route and to identify this plugin 19 | # generally. 20 | PLUGIN_NAME = "distributions" 21 | -------------------------------------------------------------------------------- /tensorboard/plugins/distribution/vz_distribution_chart/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "vz_distribution_chart", 9 | srcs = [ 10 | "vz-distribution-chart.ts", 11 | ], 12 | strict_checks = False, 13 | deps = [ 14 | "//tensorboard/components/polymer:legacy_element_mixin", 15 | "//tensorboard/components/polymer:plottable_style", 16 | "//tensorboard/components/vz_chart_helpers", 17 | "@npm//@polymer/decorators", 18 | "@npm//@polymer/polymer", 19 | "@npm//@types/d3", 20 | "@npm//@types/lodash", 21 | "@npm//d3", 22 | "@npm//lodash", 23 | "@npm//plottable", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/images/xla_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/graph/images/xla_graph.png -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_graph", 9 | srcs = [ 10 | "tf-graph.ts", 11 | "tf-graph-minimap.ts", 12 | "tf-graph-scene.html.ts", 13 | "tf-graph-scene.ts", 14 | ], 15 | strict_checks = False, 16 | deps = [ 17 | "//tensorboard/components/polymer:dark_mode_mixin", 18 | "//tensorboard/components/polymer:irons_and_papers", 19 | "//tensorboard/components/polymer:legacy_element_mixin", 20 | "//tensorboard/components/tb_debug", 21 | "//tensorboard/components/tf_dashboard_common", 22 | "//tensorboard/plugins/graph/tf_graph_common", 23 | "@npm//@polymer/decorators", 24 | "@npm//@polymer/polymer", 25 | "@npm//@types/d3", 26 | "@npm//@types/lodash", 27 | "@npm//d3", 28 | "@npm//lodash", 29 | ], 30 | ) 31 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph_app/tf-graph-app.html: -------------------------------------------------------------------------------- 1 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph_board/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_graph_board", 9 | srcs = ["tf-graph-board.ts"], 10 | strict_checks = False, 11 | visibility = ["//visibility:public"], 12 | deps = [ 13 | "//tensorboard/components/polymer:irons_and_papers", 14 | "//tensorboard/components/polymer:legacy_element_mixin", 15 | "//tensorboard/plugins/graph/tf_graph", 16 | "//tensorboard/plugins/graph/tf_graph_common", 17 | "//tensorboard/plugins/graph/tf_graph_info", 18 | "@npm//@polymer/decorators", 19 | "@npm//@polymer/polymer", 20 | ], 21 | ) 22 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph_controls/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_graph_controls", 9 | srcs = [ 10 | "tf-graph-controls.ts", 11 | ], 12 | strict_checks = False, 13 | deps = [ 14 | "//tensorboard/components/polymer:dark_mode_mixin", 15 | "//tensorboard/components/polymer:irons_and_papers", 16 | "//tensorboard/components/polymer:legacy_element_mixin", 17 | "//tensorboard/components/tb_debug", 18 | "//tensorboard/components/tf_dashboard_common", 19 | "//tensorboard/plugins/graph/tf_graph_common", 20 | "//tensorboard/plugins/graph/tf_graph_node_search", 21 | "@npm//@polymer/decorators", 22 | "@npm//@polymer/polymer", 23 | "@npm//@types/lodash", 24 | "@npm//lodash", 25 | ], 26 | ) 27 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph_debugger_data_card/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_graph_debugger_data_card", 9 | srcs = [ 10 | "tf-graph-debugger-data-card.ts", 11 | ], 12 | strict_checks = False, 13 | deps = [ 14 | "//tensorboard/components/polymer:dom", 15 | "//tensorboard/components/polymer:irons_and_papers", 16 | "//tensorboard/components/polymer:legacy_element_mixin", 17 | "//tensorboard/components/tf_dashboard_common", 18 | "//tensorboard/plugins/graph/tf_graph_common", 19 | "@npm//@polymer/decorators", 20 | "@npm//@polymer/polymer", 21 | ], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph_node_search/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_graph_node_search", 9 | srcs = ["tf-graph-node-search.ts"], 10 | strict_checks = False, 11 | visibility = ["//visibility:public"], 12 | deps = [ 13 | "//tensorboard/components/polymer:irons_and_papers", 14 | "//tensorboard/components/polymer:legacy_element_mixin", 15 | "//tensorboard/components/tb_debug", 16 | "//tensorboard/components/tf_dashboard_common", 17 | "//tensorboard/plugins/graph/tf_graph_common", 18 | "@npm//@polymer/decorators", 19 | "@npm//@polymer/polymer", 20 | "@npm//@types/lodash", 21 | "@npm//lodash", 22 | ], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorboard/plugins/graph/tf_graph_op_compat_card/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_graph_op_compat_card", 9 | srcs = [ 10 | "tf-graph-op-compat-card.ts", 11 | "tf-graph-op-compat-list-item.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/components/polymer:dark_mode_mixin", 16 | "//tensorboard/components/polymer:irons_and_papers", 17 | "//tensorboard/components/polymer:legacy_element_mixin", 18 | "//tensorboard/components/tf_dashboard_common", 19 | "//tensorboard/plugins/graph/tf_graph_common", 20 | "@npm//@polymer/decorators", 21 | "@npm//@polymer/polymer", 22 | "@npm//@types/d3", 23 | "@npm//d3", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/plugins/histogram/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/histogram/vz_histogram_timeseries/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "vz_histogram_timeseries", 9 | srcs = ["vz-histogram-timeseries.ts"], 10 | strict_checks = False, 11 | deps = [ 12 | "//tensorboard/components/polymer:dark_mode_mixin", 13 | "//tensorboard/components/polymer:legacy_element_mixin", 14 | "@npm//@polymer/decorators", 15 | "@npm//@polymer/polymer", 16 | "@npm//@types/d3", 17 | "@npm//d3", 18 | ], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_backend/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_hparams_backend", 9 | srcs = [ 10 | "tf-hparams-backend.ts", 11 | ], 12 | strict_checks = False, 13 | visibility = ["//visibility:public"], 14 | deps = [ 15 | "//tensorboard/components/tf_backend", 16 | ], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_dashboard/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_hparams_dashboard", 9 | srcs = [ 10 | "tf-hparams-dashboard.ts", 11 | ], 12 | strict_checks = False, 13 | deps = [ 14 | "//tensorboard/components/polymer:legacy_element_mixin", 15 | "//tensorboard/components/tf_backend", 16 | "//tensorboard/plugins/hparams/tf_hparams_backend", 17 | "//tensorboard/plugins/hparams/tf_hparams_main", 18 | "@npm//@polymer/decorators", 19 | "@npm//@polymer/polymer", 20 | ], 21 | ) 22 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_main/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_hparams_main", 9 | srcs = ["tf-hparams-main.ts"], 10 | strict_checks = False, 11 | visibility = ["//visibility:public"], 12 | deps = [ 13 | "//tensorboard/components/polymer:legacy_element_mixin", 14 | "//tensorboard/plugins/hparams/tf_hparams_backend", 15 | "//tensorboard/plugins/hparams/tf_hparams_query_pane", 16 | "//tensorboard/plugins/hparams/tf_hparams_sessions_pane", 17 | "//tensorboard/plugins/hparams/tf_hparams_utils:hparams_split_layout", 18 | "@npm//@polymer/decorators", 19 | "@npm//@polymer/polymer", 20 | "@npm//@types/lodash", 21 | "@npm//lodash", 22 | ], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_parallel_coords_view/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_parallel_coords_view", 10 | srcs = [ 11 | "tf-hparams-parallel-coords-view.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/plugins/hparams/tf_hparams_parallel_coords_plot", 16 | "//tensorboard/plugins/hparams/tf_hparams_scale_and_color_controls", 17 | "//tensorboard/plugins/hparams/tf_hparams_session_group_details", 18 | "//tensorboard/plugins/hparams/tf_hparams_session_group_values", 19 | "//tensorboard/plugins/hparams/tf_hparams_utils:hparams_split_layout", 20 | "@npm//@polymer/decorators", 21 | "@npm//@polymer/polymer", 22 | ], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_query_pane/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_query_pane", 10 | srcs = [ 11 | "tf-hparams-query-pane.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/components/polymer:irons_and_papers", 16 | "//tensorboard/components/polymer:legacy_element_mixin", 17 | "//tensorboard/components/tf_backend", 18 | "//tensorboard/plugins/hparams/tf_hparams_utils", 19 | "//tensorboard/plugins/hparams/tf_hparams_utils:hparams_split_layout", 20 | "@npm//@polymer/decorators", 21 | "@npm//@polymer/polymer", 22 | "@npm//@types/lodash", 23 | "@npm//lodash", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_scale_and_color_controls/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_scale_and_color_controls", 10 | srcs = [ 11 | "tf-hparams-scale-and-color-controls.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/components/polymer:dom", 16 | "//tensorboard/components/polymer:irons_and_papers", 17 | "//tensorboard/plugins/hparams/tf_hparams_utils", 18 | "@npm//@polymer/decorators", 19 | "@npm//@polymer/polymer", 20 | "@npm//@types/d3", 21 | "@npm//d3", 22 | ], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_scatter_plot_matrix_plot/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_scatter_plot_matrix_plot", 10 | srcs = [ 11 | "tf-hparams-scatter-plot-matrix-plot.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/components/polymer:legacy_element_mixin", 16 | "//tensorboard/plugins/hparams/tf_hparams_utils", 17 | "@npm//@polymer/decorators", 18 | "@npm//@polymer/polymer", 19 | "@npm//@types/d3", 20 | "@npm//@types/lodash", 21 | "@npm//d3", 22 | "@npm//lodash", 23 | ], 24 | ) 25 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_scatter_plot_matrix_view/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_scatter_plot_matrix_view", 10 | srcs = [ 11 | "tf-hparams-scatter-plot-matrix-view.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/plugins/hparams/tf_hparams_scale_and_color_controls", 16 | "//tensorboard/plugins/hparams/tf_hparams_scatter_plot_matrix_plot", 17 | "//tensorboard/plugins/hparams/tf_hparams_session_group_details", 18 | "//tensorboard/plugins/hparams/tf_hparams_session_group_values", 19 | "//tensorboard/plugins/hparams/tf_hparams_utils:hparams_split_layout", 20 | "@npm//@polymer/decorators", 21 | "@npm//@polymer/polymer", 22 | ], 23 | ) 24 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_session_group_values/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_session_group_values", 10 | srcs = [ 11 | "tf-hparams-session-group-values.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/plugins/hparams/tf_hparams_table_view", 16 | "//tensorboard/plugins/hparams/tf_hparams_utils", 17 | "@npm//@polymer/decorators", 18 | "@npm//@polymer/polymer", 19 | ], 20 | ) 21 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_table_view/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_table_view", 10 | srcs = [ 11 | "tf-hparams-table-view.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "//tensorboard/components/polymer:dark_mode_mixin", 16 | "//tensorboard/components/polymer:dom", 17 | "//tensorboard/components/polymer:legacy_element_mixin", 18 | "//tensorboard/plugins/hparams/tf_hparams_session_group_details", 19 | "//tensorboard/plugins/hparams/tf_hparams_utils", 20 | "@npm//@polymer/decorators", 21 | "@npm//@polymer/polymer", 22 | "@npm//@vaadin/vaadin-grid", 23 | ], 24 | ) 25 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_types/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard/plugins/hparams:__subpackages__"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_hparams_types", 9 | srcs = [ 10 | "types.d.ts", 11 | ], 12 | ) 13 | -------------------------------------------------------------------------------- /tensorboard/plugins/hparams/tf_hparams_utils/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = 4 | ["//tensorboard/plugins/hparams:__subpackages__"]) 5 | 6 | licenses(["notice"]) 7 | 8 | tf_ts_library( 9 | name = "tf_hparams_utils", 10 | srcs = [ 11 | "tf-hparams-utils.ts", 12 | ], 13 | strict_checks = False, 14 | deps = [ 15 | "@npm//@types/d3", 16 | "@npm//@types/lodash", 17 | "@npm//d3", 18 | "@npm//lodash", 19 | ], 20 | ) 21 | 22 | tf_ts_library( 23 | name = "hparams_split_layout", 24 | srcs = [ 25 | "hparams-split-layout.ts", 26 | ], 27 | strict_checks = False, 28 | deps = [ 29 | "@npm//@polymer/decorators", 30 | "@npm//@polymer/polymer", 31 | ], 32 | ) 33 | -------------------------------------------------------------------------------- /tensorboard/plugins/image/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/interactive_inference/README.md: -------------------------------------------------------------------------------- 1 | # What-If Tool 2 | 3 | > **Warning** 4 | > The What-If Tool is no longer actively maintained. Please use the actively 5 | > maintained [Learning Interpretability Tool (LIT)](https://pair-code.github.io/lit/) 6 | > instead. 7 | 8 | The What-If Tool code and documentation has moved to https://github.com/pair-code/what-if-tool. 9 | 10 | The What-If Tool TensorBoard plugin has been converted to a dynamic plugin, through the tensorboard-plugin-wit pip package. 11 | -------------------------------------------------------------------------------- /tensorboard/plugins/mesh/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/mesh/plugin_data.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorboard.mesh; 4 | 5 | // A MeshPluginData encapsulates information on which plugins are able to make 6 | // use of a certain summary value. 7 | message MeshPluginData { 8 | enum ContentType { 9 | UNDEFINED = 0; 10 | VERTEX = 1; 11 | FACE = 2; // Triangle face. 12 | COLOR = 3; 13 | } 14 | 15 | // Version `0` is the only supported version. 16 | int32 version = 1; 17 | 18 | // The name of the mesh summary this particular summary belongs to. 19 | string name = 2; 20 | 21 | // Type of data in the summary. 22 | ContentType content_type = 3; 23 | 24 | // JSON-serialized dictionary of ThreeJS classes configuration. 25 | string json_config = 5; 26 | 27 | // Shape of underlying data. Cache it here for performance reasons. 28 | repeated int32 shape = 6; 29 | 30 | // Bitmask of all existing components in addition current component. 31 | uint32 components = 7; 32 | } 33 | -------------------------------------------------------------------------------- /tensorboard/plugins/metrics/images/timeseries_frontend_component_hierarchy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/metrics/images/timeseries_frontend_component_hierarchy.png -------------------------------------------------------------------------------- /tensorboard/plugins/metrics/images/timeseries_ui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/metrics/images/timeseries_ui.png -------------------------------------------------------------------------------- /tensorboard/plugins/metrics/metadata.py: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | """Internal information about the metrics plugin.""" 16 | 17 | 18 | PLUGIN_NAME = "timeseries" 19 | -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/images/pr_curves_intro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/pr_curve/images/pr_curves_intro.png -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/images/sidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/pr_curve/images/sidebar.png -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/images/single_chart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/pr_curve/images/single_chart.png -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/images/tag_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/pr_curve/images/tag_filter.png -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/images/tooltip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tensorflow/tensorboard/2f7e25095a6df3ec58dc9637cbd9222be559ee4c/tensorboard/plugins/pr_curve/images/tooltip.png -------------------------------------------------------------------------------- /tensorboard/plugins/pr_curve/plugin_data.proto: -------------------------------------------------------------------------------- 1 | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | syntax = "proto3"; 17 | 18 | package tensorboard; 19 | 20 | message PrCurvePluginData { 21 | // Version `0` is the only supported version. 22 | int32 version = 1; 23 | 24 | uint32 num_thresholds = 2; 25 | } 26 | -------------------------------------------------------------------------------- /tensorboard/plugins/profile_redirect/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Plugin with installation instructions for dynamic profile plugin 3 | 4 | load("@rules_python//python:py_library.bzl", "py_library") 5 | load("@rules_python//python:py_test.bzl", "py_test") 6 | 7 | package(default_visibility = ["//tensorboard:internal"]) 8 | 9 | licenses(["notice"]) 10 | 11 | py_library( 12 | name = "profile_redirect_plugin", 13 | srcs = ["profile_redirect_plugin.py"], 14 | srcs_version = "PY3", 15 | deps = [ 16 | "//tensorboard/plugins:base_plugin", 17 | ], 18 | ) 19 | 20 | py_test( 21 | name = "profile_redirect_plugin_test", 22 | srcs = ["profile_redirect_plugin_test.py"], 23 | srcs_version = "PY3", 24 | deps = [ 25 | ":profile_redirect_plugin", 26 | "//tensorboard:test", 27 | "//tensorboard/plugins:base_plugin", 28 | ], 29 | ) 30 | -------------------------------------------------------------------------------- /tensorboard/plugins/profile_redirect/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/profile_redirect/tf_profile_redirect_dashboard/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_profile_redirect_dashboard", 9 | srcs = ["tf-profile-redirect-dashboard.ts"], 10 | strict_checks = False, 11 | deps = [ 12 | "//tensorboard/components/polymer:irons_and_papers", 13 | "//tensorboard/components/polymer:legacy_element_mixin", 14 | "@npm//@polymer/decorators", 15 | "@npm//@polymer/polymer", 16 | ], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorboard/plugins/projector/README.md: -------------------------------------------------------------------------------- 1 | ## Development 2 | 3 | To develop the Embedding Projector, launch it in standalone mode: 4 | ```sh 5 | bazel run tensorboard/plugins/projector/vz_projector:standalone 6 | ``` 7 | 8 | And open . The projector points to the local 9 | `standalone_projector_config.json` file, which configures it with a set of 10 | public datasets (word2vec, mnist, iris) that are useful for development 11 | and are hosted on Google Cloud Storage. 12 | -------------------------------------------------------------------------------- /tensorboard/plugins/projector/vz_projector/external.d.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2016 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | interface AnalyticsEventType { 16 | hitType: string; 17 | page?: string; 18 | eventCategory?: string; 19 | eventAction?: string; 20 | eventLabel?: string; 21 | eventValue?: number; 22 | } 23 | 24 | declare let ga: (command: string, eventObj: AnalyticsEventType) => void; 25 | -------------------------------------------------------------------------------- /tensorboard/plugins/scalar/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/text/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/wit_redirect/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Plugin with installation instructions for dynamic interpretability plugin 3 | load("@rules_python//python:py_library.bzl", "py_library") 4 | load("@rules_python//python:py_test.bzl", "py_test") 5 | 6 | package(default_visibility = ["//tensorboard:internal"]) 7 | 8 | licenses(["notice"]) 9 | 10 | py_library( 11 | name = "wit_redirect_plugin", 12 | srcs = ["wit_redirect_plugin.py"], 13 | srcs_version = "PY3", 14 | deps = [ 15 | "//tensorboard/plugins:base_plugin", 16 | ], 17 | ) 18 | 19 | py_test( 20 | name = "wit_redirect_plugin_test", 21 | srcs = ["wit_redirect_plugin_test.py"], 22 | srcs_version = "PY3", 23 | deps = [ 24 | ":wit_redirect_plugin", 25 | "//tensorboard:test", 26 | "//tensorboard/plugins:base_plugin", 27 | ], 28 | ) 29 | -------------------------------------------------------------------------------- /tensorboard/plugins/wit_redirect/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/plugins/wit_redirect/tf_wit_redirect_dashboard/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "tf_wit_redirect_dashboard", 9 | srcs = ["tf-wit-redirect-dashboard.ts"], 10 | strict_checks = False, 11 | deps = [ 12 | "//tensorboard/components/polymer:irons_and_papers", 13 | "//tensorboard/components/polymer:legacy_element_mixin", 14 | "@npm//@polymer/decorators", 15 | "@npm//@polymer/polymer", 16 | ], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorboard/scripts/BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Some useful scripts that are bundled with TensorBoard. 3 | load("@rules_python//python:py_binary.bzl", "py_binary") 4 | 5 | package(default_visibility = ["//tensorboard:internal"]) 6 | 7 | licenses(["notice"]) 8 | 9 | py_binary( 10 | name = "generate_testdata", 11 | srcs = ["generate_testdata.py"], 12 | srcs_version = "PY3", 13 | deps = [ 14 | "//tensorboard:expect_numpy_installed", 15 | "//tensorboard:expect_tensorflow_installed", 16 | ], 17 | ) 18 | 19 | py_binary( 20 | name = "execrooter", 21 | srcs = ["execrooter.py"], 22 | srcs_version = "PY3", 23 | visibility = ["//visibility:public"], 24 | ) 25 | -------------------------------------------------------------------------------- /tensorboard/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/summary/_tf/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/summary/writer/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | -------------------------------------------------------------------------------- /tensorboard/tools/BUILD: -------------------------------------------------------------------------------- 1 | load("@rules_python//python:py_binary.bzl", "py_binary") 2 | load("@rules_python//python:py_test.bzl", "py_test") 3 | 4 | package(default_visibility = ["//tensorboard:internal"]) 5 | 6 | licenses(["notice"]) 7 | 8 | py_binary( 9 | name = "import_google_fonts", 10 | srcs = ["import_google_fonts.py"], 11 | deps = ["//tensorboard:expect_tensorflow_installed"], 12 | ) 13 | 14 | py_binary( 15 | name = "mat_bundle_icon_svg", 16 | srcs = ["mat_bundle_icon_svg.py"], 17 | ) 18 | 19 | py_test( 20 | name = "mat_bundle_icon_svg_test", 21 | srcs = ["mat_bundle_icon_svg_test.py"], 22 | deps = [ 23 | ":mat_bundle_icon_svg", 24 | "//tensorboard:test", 25 | ], 26 | ) 27 | 28 | py_binary( 29 | name = "inline_file_content", 30 | srcs = ["inline_file_content.py"], 31 | ) 32 | -------------------------------------------------------------------------------- /tensorboard/tools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/uploader/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/uploader/proto/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:protos.bzl", "tb_proto_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | # TODO(@wchargin): Split more granularly. 8 | tb_proto_library( 9 | name = "protos_all", 10 | srcs = [ 11 | "blob.proto", 12 | "experiment.proto", 13 | "export_service.proto", 14 | "scalar.proto", 15 | "server_info.proto", 16 | "tensor.proto", 17 | "write_service.proto", 18 | ], 19 | has_services = True, 20 | deps = ["//tensorboard/compat/proto:protos_all"], 21 | ) 22 | -------------------------------------------------------------------------------- /tensorboard/uploader/proto/blob.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package tensorboard.service; 4 | 5 | enum BlobState { 6 | // Object state is unknown. This value should never be used; it is present 7 | // only as a proto3 best practice. 8 | // See https://developers.google.com/protocol-buffers/docs/proto3#enum 9 | BLOB_STATE_UNKNOWN = 0; 10 | // Object is being written and not yet finalized. 11 | BLOB_STATE_UNFINALIZED = 1; 12 | // Object is finalized. 13 | BLOB_STATE_CURRENT = 2; 14 | } 15 | 16 | message Blob { 17 | // A non-empty ID for the blob. 18 | string blob_id = 1; 19 | BlobState state = 2; 20 | } 21 | 22 | message BlobSequenceEntry { 23 | // Optional. If absent, this represents a "hole" in the sequence: 24 | // there is expected to be a blob here, but upload has not started. 25 | Blob blob = 1; 26 | } 27 | 28 | message BlobSequence { 29 | repeated BlobSequenceEntry entries = 1; 30 | } 31 | -------------------------------------------------------------------------------- /tensorboard/util/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | -------------------------------------------------------------------------------- /tensorboard/util/grpc_util_test.proto: -------------------------------------------------------------------------------- 1 | // Minimal example RPC service definition. See grpc_util_test.py for usage. 2 | syntax = "proto3"; 3 | 4 | package tensorboard.util; 5 | 6 | // Test service for grpc_util_test.py. 7 | service TestService { 8 | // Test RPC. 9 | rpc TestRpc(TestRpcRequest) returns (TestRpcResponse); 10 | } 11 | 12 | message TestRpcRequest { 13 | int32 nonce = 1; 14 | } 15 | 16 | message TestRpcResponse { 17 | int32 nonce = 1; 18 | } 19 | -------------------------------------------------------------------------------- /tensorboard/util/io_util.py: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | """TensorBoard IO helpers.""" 16 | 17 | 18 | def IsCloudPath(path): 19 | """Checks whether a given path is Cloud filesystem path.""" 20 | return path.startswith("gs://") or path.startswith("s3://") 21 | -------------------------------------------------------------------------------- /tensorboard/util/platform_util.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | """TensorBoard helper routine for platform.""" 16 | 17 | 18 | def readahead_file_path(path, unused_readahead=None): 19 | """Readahead files not implemented; simply returns given path.""" 20 | return path 21 | -------------------------------------------------------------------------------- /tensorboard/util/tb_logging.py: -------------------------------------------------------------------------------- 1 | # Copyright 2018 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | """TensorBoard logging module.""" 16 | 17 | import logging 18 | 19 | 20 | _logger = logging.getLogger("tensorboard") 21 | 22 | 23 | def get_logger(): 24 | """Returns TensorBoard logger.""" 25 | return _logger 26 | -------------------------------------------------------------------------------- /tensorboard/version.py: -------------------------------------------------------------------------------- 1 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # ============================================================================== 15 | 16 | """Contains the version string.""" 17 | 18 | VERSION = "2.20.0a0" 19 | 20 | if __name__ == "__main__": 21 | print(VERSION) 22 | -------------------------------------------------------------------------------- /tensorboard/webapp/alert/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ts_library( 6 | name = "actions", 7 | srcs = [ 8 | "index.ts", 9 | ], 10 | deps = [ 11 | "//tensorboard/webapp/alert:types", 12 | "@npm//@ngrx/store", 13 | ], 14 | ) 15 | -------------------------------------------------------------------------------- /tensorboard/webapp/alert/actions/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {createAction, props} from '@ngrx/store'; 16 | import {AlertReport} from '../types'; 17 | 18 | /** 19 | * Fires when an alert is to be reported. 20 | */ 21 | export const alertReported = createAction( 22 | '[Alert] Alert Reported', 23 | props() 24 | ); 25 | -------------------------------------------------------------------------------- /tensorboard/webapp/alert/effects/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ng_module( 6 | name = "effects", 7 | srcs = [ 8 | "index.ts", 9 | ], 10 | deps = [ 11 | "//tensorboard/webapp:app_state", 12 | "//tensorboard/webapp/alert:alert_action", 13 | "//tensorboard/webapp/alert/actions", 14 | "@npm//@angular/core", 15 | "@npm//@ngrx/effects", 16 | "@npm//@ngrx/store", 17 | "@npm//rxjs", 18 | ], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorboard/webapp/alert/store/alert_types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {AlertInfo} from '../types'; 16 | 17 | export const ALERT_FEATURE_KEY = 'alerts'; 18 | 19 | export interface AlertState { 20 | latestAlert: AlertInfo | null; 21 | } 22 | 23 | export interface State { 24 | [ALERT_FEATURE_KEY]?: AlertState; 25 | } 26 | -------------------------------------------------------------------------------- /tensorboard/webapp/alert/store/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './alert_reducers'; 17 | export * from './alert_selectors'; 18 | export {State} from './alert_types'; 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "actions", 9 | srcs = [ 10 | "app_routing_actions.ts", 11 | "index.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp/app_routing:types", 15 | "@npm//@ngrx/store", 16 | ], 17 | ) 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/actions/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './app_routing_actions'; 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/app_root_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {AppRootProvider} from './app_root'; 17 | import {LocationModule} from './location_module'; 18 | 19 | @NgModule({ 20 | imports: [LocationModule], 21 | providers: [AppRootProvider], 22 | }) 23 | export class AppRootModule {} 24 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/effects/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './app_routing_effects'; 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export { 16 | areSameRouteKindAndExperiments, 17 | parseCompareExperimentStr, 18 | } from './internal_utils'; 19 | export * from './types'; 20 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/location_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {Location} from './location'; 17 | 18 | @NgModule({ 19 | providers: [Location], 20 | }) 21 | export class LocationModule {} 22 | -------------------------------------------------------------------------------- /tensorboard/webapp/app_routing/route_registry_types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {InjectionToken} from '@angular/core'; 16 | import {RouteDef} from './route_config_types'; 17 | 18 | export const ROUTE_CONFIGS_TOKEN = new InjectionToken( 19 | '[App Routing] Route Config' 20 | ); 21 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ts_library( 6 | name = "actions", 7 | srcs = [ 8 | "core_actions.ts", 9 | "index.ts", 10 | ], 11 | deps = [ 12 | "//tensorboard/webapp/core:types", 13 | "//tensorboard/webapp/types", 14 | "@npm//@ngrx/store", 15 | ], 16 | ) 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/actions/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './core_actions'; 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/effects/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './core_effects'; 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export {sideBarWidthChanged} from './actions'; 17 | export {LayoutModule} from './views/layout_module'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/state.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export {State} from '../app_state'; 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/store/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './core_reducers'; 17 | export * from './core_selectors'; 18 | export {State} from './core_types'; 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/core/testing/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ts_library( 6 | name = "testing", 7 | testonly = True, 8 | srcs = ["index.ts"], 9 | deps = [ 10 | "//tensorboard/webapp/core/store", 11 | "//tensorboard/webapp/types", 12 | ], 13 | ) 14 | -------------------------------------------------------------------------------- /tensorboard/webapp/customization/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ng_module( 6 | name = "customization", 7 | srcs = [ 8 | "customizable_component.ts", 9 | "customization_module.ts", 10 | ], 11 | deps = [ 12 | "@npm//@angular/common", 13 | "@npm//@angular/core", 14 | ], 15 | ) 16 | 17 | tf_ng_module( 18 | name = "customization_test_lib", 19 | testonly = True, 20 | srcs = ["customization_test.ts"], 21 | deps = [ 22 | ":customization", 23 | "//tensorboard/webapp/angular:expect_angular_core_testing", 24 | "@npm//@angular/core", 25 | "@npm//@types/jasmine", 26 | ], 27 | ) 28 | -------------------------------------------------------------------------------- /tensorboard/webapp/deeplink/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ng_module( 6 | name = "deeplink", 7 | srcs = [ 8 | "deeplink_module.ts", 9 | "hash.ts", 10 | "index.ts", 11 | "types.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp:tb_polymer_interop_types", 15 | "@npm//@angular/core", 16 | ], 17 | ) 18 | 19 | tf_ng_module( 20 | name = "deeplink_test_lib", 21 | testonly = True, 22 | srcs = [ 23 | "deeplink_test.ts", 24 | ], 25 | deps = [ 26 | ":deeplink", 27 | "//tensorboard/webapp:tb_polymer_interop_types", 28 | "//tensorboard/webapp/angular:expect_angular_core_testing", 29 | "@npm//@types/jasmine", 30 | ], 31 | ) 32 | 33 | tf_ng_module( 34 | name = "testing", 35 | srcs = [ 36 | "testing.ts", 37 | ], 38 | deps = [ 39 | ":deeplink", 40 | "@npm//@angular/core", 41 | ], 42 | ) 43 | -------------------------------------------------------------------------------- /tensorboard/webapp/deeplink/deeplink_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {HashDeepLinker} from './hash'; 17 | import {DeepLinkerInterface} from './types'; 18 | 19 | @NgModule({ 20 | providers: [{provide: DeepLinkerInterface, useClass: HashDeepLinker}], 21 | }) 22 | export class DeepLinkModule {} 23 | -------------------------------------------------------------------------------- /tensorboard/webapp/deeplink/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './hash'; 17 | export * from './types'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/dev_assets/main_dev.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import '@angular/compiler'; 16 | import '../bootstrap'; 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/experiments/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ng_module( 8 | name = "experiments", 9 | srcs = [ 10 | "experiments_module.ts", 11 | ], 12 | deps = [ 13 | "//tensorboard/webapp/experiments/store", 14 | "//tensorboard/webapp/experiments/store:types", 15 | "@npm//@angular/core", 16 | "@npm//@ngrx/store", 17 | ], 18 | ) 19 | 20 | tf_ts_library( 21 | name = "types", 22 | srcs = [ 23 | "types.ts", 24 | ], 25 | ) 26 | -------------------------------------------------------------------------------- /tensorboard/webapp/experiments/store/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './experiments_reducers'; 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/feature_flag/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ng_module( 6 | name = "actions", 7 | srcs = [ 8 | "feature_flag_actions.ts", 9 | ], 10 | deps = [ 11 | "//tensorboard/webapp/feature_flag:types", 12 | "//tensorboard/webapp/feature_flag/store:types", 13 | "@npm//@ngrx/store", 14 | ], 15 | ) 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/feature_flag/http/const.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export const FEATURE_FLAGS_HEADER_NAME = 'X-TensorBoard-Feature-Flags'; 17 | export const FEATURE_FLAGS_QUERY_STRING_NAME = 'tensorBoardFeatureFlags'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/header/types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | import {PluginId, PluginMetadata} from '../types/api'; 17 | 18 | export interface UiPluginMetadata extends PluginMetadata { 19 | id: PluginId; 20 | } 21 | -------------------------------------------------------------------------------- /tensorboard/webapp/hparams/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * as actions from './_redux/hparams_actions'; 17 | export * as selectors from './_redux/hparams_selectors'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/hparams/testing.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './_redux/testing'; 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/hparams/types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export {State} from './_redux/types'; 17 | export * from './_types'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/main_prod.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {enableProdMode} from '@angular/core'; 16 | import './bootstrap'; 17 | 18 | enableProdMode(); 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "actions", 9 | srcs = [ 10 | "index.ts", 11 | ], 12 | deps = [ 13 | "//tensorboard/webapp/metrics:types", 14 | "//tensorboard/webapp/metrics/data_source", 15 | "//tensorboard/webapp/metrics/store:types", 16 | "//tensorboard/webapp/util:dom", 17 | "//tensorboard/webapp/widgets/card_fob:types", 18 | "//tensorboard/webapp/widgets/data_table:types", 19 | "//tensorboard/webapp/widgets/line_chart_v2/lib:public_types", 20 | "@npm//@ngrx/store", 21 | ], 22 | ) 23 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/data_source/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './metrics_data_source'; 16 | export * from './saved_pins_data_source'; 17 | export * from './metrics_data_source_module'; 18 | export * from './saved_pins_data_source_module'; 19 | export * from './types'; 20 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/data_source/saved_pins_data_source_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2024 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {SavedPinsDataSource} from './saved_pins_data_source'; 17 | 18 | @NgModule({ 19 | providers: [SavedPinsDataSource], 20 | }) 21 | export class SavedPinsDataSourceModule {} 22 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/store/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './metrics_reducers'; 16 | export * from './metrics_selectors'; 17 | export * from './metrics_types'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/views/card_renderer/card_view_container.scss: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | @import 'tensorboard/webapp/theme/tb_theme'; 16 | 17 | :host { 18 | @include tb-theme-background-prop(background-color, background); 19 | } 20 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/views/card_renderer/run_name_component.scss: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | @import 'tensorboard/webapp/theme/tb_theme'; 16 | 17 | :host { 18 | @include tb-theme-foreground-prop(color, secondary-text); 19 | } 20 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/views/card_renderer/scalar_card_fob_controller.scss: -------------------------------------------------------------------------------- 1 | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved. 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | http://www.apache.org/licenses/LICENSE-2.0 6 | Unless required by applicable law or agreed to in writing, software 7 | distributed under the License is distributed on an "AS IS" BASIS, 8 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 9 | See the License for the specific language governing permissions and 10 | limitations under the License. 11 | ==============================================================================*/ 12 | 13 | // Creates height space for vertical lines 14 | ::ng-deep scalar-card-fob-controller .time-fob-wrapper { 15 | height: 100%; 16 | } 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/metrics/views/main_view/card_groups_component.scss: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | @import 'tensorboard/webapp/theme/tb_theme'; 16 | @import '../common'; 17 | 18 | :host { 19 | @include metrics-sub-view; 20 | } 21 | -------------------------------------------------------------------------------- /tensorboard/webapp/notification_center/_data_source/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './backend_types'; 16 | export * from './notification_center_data_source'; 17 | export * from './notification_center_data_source_module'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/notification_center/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export {NotificationCenterModule} from './_notification_center_module'; 16 | export * as notificationActions from './_redux/notification_center_actions'; 17 | -------------------------------------------------------------------------------- /tensorboard/webapp/notification_center/types.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | -------------------------------------------------------------------------------- /tensorboard/webapp/plugins/testing/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ng_module( 8 | name = "testing", 9 | testonly = True, 10 | srcs = [ 11 | "index.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp/plugins:plugin_registry", 15 | "@npm//@angular/common", 16 | "@npm//@angular/core", 17 | ], 18 | ) 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/reloader/reloader_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {ReloaderComponent} from './reloader_component'; 17 | 18 | @NgModule({ 19 | declarations: [ReloaderComponent], 20 | exports: [ReloaderComponent], 21 | }) 22 | export class ReloaderModule {} 23 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ng_module( 8 | name = "runs", 9 | srcs = [ 10 | "runs_module.ts", 11 | ], 12 | deps = [ 13 | "//tensorboard/webapp/alert:alert_action", 14 | "//tensorboard/webapp/hparams", 15 | "//tensorboard/webapp/runs/actions", 16 | "//tensorboard/webapp/runs/data_source", 17 | "//tensorboard/webapp/runs/effects", 18 | "//tensorboard/webapp/runs/store", 19 | "//tensorboard/webapp/runs/store:types", 20 | "@npm//@angular/core", 21 | "@npm//@ngrx/effects", 22 | "@npm//@ngrx/store", 23 | ], 24 | ) 25 | 26 | tf_ts_library( 27 | name = "types", 28 | srcs = [ 29 | "types.ts", 30 | ], 31 | deps = ["//tensorboard/webapp/runs/data_source"], 32 | ) 33 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs/actions/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "actions", 9 | srcs = [ 10 | "index.ts", 11 | "runs_actions.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp/runs:types", 15 | "//tensorboard/webapp/runs/data_source", 16 | "//tensorboard/webapp/types:ui", 17 | "//tensorboard/webapp/widgets/data_table:types", 18 | "@npm//@ngrx/store", 19 | ], 20 | ) 21 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs/actions/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './runs_actions'; 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs/effects/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './runs_effects'; 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs/store/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from './runs_reducers'; 16 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs_legacy/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | tf_ng_module( 6 | name = "runs_legacy", 7 | srcs = [ 8 | "runs_module.ts", 9 | ], 10 | deps = [ 11 | "//tensorboard/webapp/runs_legacy/views/legacy_runs_selector", 12 | "@npm//@angular/core", 13 | ], 14 | ) 15 | -------------------------------------------------------------------------------- /tensorboard/webapp/runs_legacy/runs_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {LegacyRunsSelectorModule as LegacyRunsSelectorViewModule} from './views/legacy_runs_selector/legacy_runs_selector_module'; 17 | 18 | @NgModule({ 19 | exports: [LegacyRunsSelectorViewModule], 20 | }) 21 | export class RunsModule {} 22 | -------------------------------------------------------------------------------- /tensorboard/webapp/settings/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * as actions from './_redux/settings_actions'; 16 | export * as selectors from './_redux/settings_selectors'; 17 | export {State} from './_redux/settings_types'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/styles.scss: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | @import 'tensorboard/webapp/theme/tb_theme'; 17 | 18 | @include tb-global-themed-styles(); 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/tb_wrapper/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ng_module( 8 | name = "tb_wrapper", 9 | srcs = [ 10 | "tb_wrapper_component.ts", 11 | "tb_wrapper_module.ts", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp/plugins", 15 | "//tensorboard/webapp/reloader", 16 | "@npm//@angular/common", 17 | "@npm//@angular/core", 18 | ], 19 | ) 20 | -------------------------------------------------------------------------------- /tensorboard/webapp/theme/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_sass_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_sass_library( 8 | name = "theme", 9 | srcs = [ 10 | "_tb_palette.scss", 11 | "_tb_theme.scss", 12 | ], 13 | deps = [ 14 | "//tensorboard/webapp:angular_material_sass_deps", 15 | ], 16 | ) 17 | 18 | genrule( 19 | name = "inline_palette", 20 | srcs = [ 21 | "_variable.scss", 22 | "_tb_theme.template.scss", 23 | ], 24 | outs = ["_tb_theme.scss"], 25 | cmd = "cat $(SRCS) > $@", 26 | ) 27 | -------------------------------------------------------------------------------- /tensorboard/webapp/third_party/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_ts_library( 8 | name = "d3", 9 | srcs = ["d3.ts"], 10 | deps = [ 11 | "@npm//@types/d3", 12 | "@npm//d3", 13 | ], 14 | ) 15 | 16 | tf_ts_library( 17 | name = "tfjs", 18 | srcs = ["tfjs.ts"], 19 | deps = [ 20 | "@npm//@tensorflow/tfjs-backend-cpu", 21 | "@npm//@tensorflow/tfjs-backend-webgl", 22 | "@npm//@tensorflow/tfjs-core", 23 | ], 24 | ) 25 | 26 | tf_ts_library( 27 | name = "marked", 28 | srcs = ["marked.ts"], 29 | deps = [ 30 | "@npm//@types/marked", 31 | "@npm//marked", 32 | ], 33 | ) 34 | 35 | tf_ts_library( 36 | name = "numeric", 37 | srcs = ["numeric.ts"], 38 | strict_checks = False, 39 | deps = [ 40 | "@npm//numeric", 41 | ], 42 | ) 43 | -------------------------------------------------------------------------------- /tensorboard/webapp/third_party/tfjs.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | export * from '@tensorflow/tfjs-core'; 16 | 17 | import '@tensorflow/tfjs-backend-cpu'; 18 | import '@tensorflow/tfjs-backend-webgl'; 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/types/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ts_library") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | # TODO(stephanwlee): move this into shareable place and use it in Polymer-based 8 | # modules when Angular is ready to be built as part of TensorBoard. 9 | tf_ts_library( 10 | name = "types", 11 | srcs = [ 12 | "api.ts", 13 | "data.ts", 14 | ], 15 | ) 16 | 17 | tf_ts_library( 18 | name = "ui", 19 | srcs = ["ui.ts"], 20 | ) 21 | -------------------------------------------------------------------------------- /tensorboard/webapp/widgets/line_chart_v2/lib/renderer/index.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | export * from './renderer_types'; 17 | export {SvgRenderer} from './svg_renderer'; 18 | export {ThreeRenderer} from './threejs_renderer'; 19 | -------------------------------------------------------------------------------- /tensorboard/webapp/widgets/line_chart_v2/lib/worker/worker_resource.template.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | 16 | // Do note that below path gets replaced with a path with digest on the query params. 17 | export const RES_PATH = '%CHART_WORKER.js%'; 18 | -------------------------------------------------------------------------------- /tensorboard/webapp/widgets/markdown_renderer/markdown_renderer_component.ng.html: -------------------------------------------------------------------------------- 1 | 17 | 18 |
19 | -------------------------------------------------------------------------------- /tensorboard/webapp/widgets/resize_detector_module.ts: -------------------------------------------------------------------------------- 1 | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | ==============================================================================*/ 15 | import {NgModule} from '@angular/core'; 16 | import {ResizeDetectorDirective} from './resize_detector_directive'; 17 | 18 | @NgModule({ 19 | exports: [ResizeDetectorDirective], 20 | declarations: [ResizeDetectorDirective], 21 | }) 22 | export class ResizeDetectorModule {} 23 | -------------------------------------------------------------------------------- /tensorboard/webapp/widgets/source_code/source_code_component.ng.html: -------------------------------------------------------------------------------- 1 | 17 | 18 |
25 | -------------------------------------------------------------------------------- /tensorboard/webapp/widgets/text/BUILD: -------------------------------------------------------------------------------- 1 | load("//tensorboard/defs:defs.bzl", "tf_ng_module", "tf_sass_binary") 2 | 3 | package(default_visibility = ["//tensorboard:internal"]) 4 | 5 | licenses(["notice"]) 6 | 7 | tf_sass_binary( 8 | name = "truncated_path_styles", 9 | src = "truncated_path_component.scss", 10 | ) 11 | 12 | tf_ng_module( 13 | name = "truncated_path", 14 | srcs = [ 15 | "truncated_path_component.ts", 16 | "truncated_path_module.ts", 17 | ], 18 | assets = [ 19 | ":truncated_path_styles", 20 | ], 21 | deps = [ 22 | "@npm//@angular/common", 23 | "@npm//@angular/core", 24 | ], 25 | ) 26 | 27 | tf_ng_module( 28 | name = "text_tests", 29 | testonly = True, 30 | srcs = ["truncated_path_test.ts"], 31 | deps = [ 32 | ":truncated_path", 33 | "//tensorboard/webapp/angular:expect_angular_core_testing", 34 | "@npm//@angular/core", 35 | "@npm//@angular/platform-browser", 36 | "@npm//@types/jasmine", 37 | ], 38 | ) 39 | -------------------------------------------------------------------------------- /third_party/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorboard:internal"]) 2 | 3 | exports_files(glob(["*.LICENSE"])) 4 | -------------------------------------------------------------------------------- /third_party/bleach.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Build file for Bleach. 3 | # License: 4 | # Apache 2.0 5 | load("@rules_python//python:py_library.bzl", "py_library") 6 | 7 | package(default_visibility = ["//visibility:public"]) 8 | 9 | licenses(["notice"]) 10 | 11 | exports_files(["LICENSE"]) 12 | 13 | py_library( 14 | name = "org_mozilla_bleach", 15 | srcs = [ 16 | "bleach/__init__.py", 17 | "bleach/callbacks.py", 18 | "bleach/encoding.py", 19 | "bleach/linkifier.py", 20 | "bleach/sanitizer.py", 21 | "bleach/utils.py", 22 | "bleach/version.py", 23 | ], 24 | srcs_version = "PY3", 25 | deps = [ 26 | "@org_html5lib", 27 | "@org_pythonhosted_six", 28 | ], 29 | ) 30 | -------------------------------------------------------------------------------- /third_party/chromium/BUILD: -------------------------------------------------------------------------------- 1 | package(default_visibility = ["//tensorboard:internal"]) 2 | 3 | licenses(["notice"]) 4 | 5 | config_setting( 6 | name = "mac", 7 | values = {"cpu": "darwin"}, 8 | ) 9 | 10 | config_setting( 11 | name = "linux", 12 | values = {"cpu": "k8"}, 13 | ) 14 | 15 | alias( 16 | name = "chromium", 17 | testonly = True, 18 | actual = select({ 19 | ":linux": "@org_chromium_chromium_linux_x64//:metadata", 20 | ":mac": "@org_chromium_chromium_macos//:metadata", 21 | }), 22 | visibility = ["//tensorboard/functionaltests/browsers:__pkg__"], 23 | ) 24 | 25 | alias( 26 | name = "chromedriver", 27 | testonly = True, 28 | actual = select({ 29 | ":linux": "@org_chromium_chromedriver_linux_x64//:metadata", 30 | ":mac": "@org_chromium_chromedriver_macos//:metadata", 31 | }), 32 | visibility = ["//tensorboard/functionaltests/browsers:__pkg__"], 33 | ) 34 | -------------------------------------------------------------------------------- /third_party/markdown.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Markdown processor 3 | 4 | load("@rules_python//python:py_library.bzl", "py_library") 5 | 6 | package(default_visibility = ["//visibility:public"]) 7 | 8 | # This software says they use a BSD license. 9 | licenses(["notice"]) 10 | 11 | exports_files(["LICENSE.md"]) 12 | 13 | py_library( 14 | name = "org_pythonhosted_markdown", 15 | srcs = glob(["markdown/**/*.py"]), 16 | srcs_version = "PY3", 17 | ) 18 | -------------------------------------------------------------------------------- /third_party/rust/BUILD.bazel: -------------------------------------------------------------------------------- 1 | """ 2 | @generated 3 | cargo-raze generated Bazel file. 4 | 5 | DO NOT EDIT! Replaced on runs of cargo-raze 6 | """ 7 | 8 | # Export file for Stardoc support 9 | exports_files( 10 | glob([ 11 | "**/*.bazel", 12 | "**/*.bzl", 13 | ]), 14 | visibility = ["//visibility:public"], 15 | ) 16 | 17 | filegroup( 18 | name = "srcs", 19 | srcs = glob([ 20 | "**/*.bazel", 21 | "**/*.bzl", 22 | ]), 23 | visibility = ["//visibility:public"], 24 | ) 25 | -------------------------------------------------------------------------------- /third_party/rust/remote/BUILD.bazel: -------------------------------------------------------------------------------- 1 | # Export file for Stardoc support 2 | exports_files( 3 | glob([ 4 | "**/*.bazel", 5 | "**/*.bzl", 6 | ]), 7 | visibility = ["//visibility:public"], 8 | ) 9 | 10 | filegroup( 11 | name = "srcs", 12 | srcs = glob([ 13 | "**/*.bazel", 14 | "**/*.bzl", 15 | ]), 16 | visibility = ["//visibility:public"], 17 | ) 18 | -------------------------------------------------------------------------------- /third_party/six.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Six provides simple utilities for wrapping over differences between Python 2 3 | # and Python 3. 4 | 5 | load("@rules_python//python:py_library.bzl", "py_library") 6 | 7 | licenses(["notice"]) # MIT 8 | 9 | exports_files(["LICENSE"]) 10 | 11 | py_library( 12 | name = "org_pythonhosted_six", 13 | srcs = ["six.py"], 14 | srcs_version = "PY3", 15 | visibility = ["//visibility:public"], 16 | ) 17 | -------------------------------------------------------------------------------- /third_party/urllib3.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # urllib3, another url library 3 | 4 | load("@rules_python//python:py_library.bzl", "py_library") 5 | 6 | package(default_visibility = ["//visibility:public"]) 7 | 8 | licenses(["notice"]) # MIT 9 | 10 | exports_files(["LICENSE.md"]) 11 | 12 | py_library( 13 | name = "org_pythonhosted_urllib3", 14 | srcs = glob(["urllib3/**/*.py"]), 15 | srcs_version = "PY3", 16 | ) 17 | -------------------------------------------------------------------------------- /third_party/webencodings.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Character encoding aliases for legacy web content 3 | 4 | load("@rules_python//python:py_library.bzl", "py_library") 5 | 6 | licenses(["notice"]) # BSD 7 | 8 | exports_files(["LICENSE"]) 9 | 10 | py_library( 11 | name = "org_pythonhosted_webencodings", 12 | srcs = [ 13 | "webencodings/__init__.py", 14 | "webencodings/labels.py", 15 | "webencodings/mklabels.py", 16 | "webencodings/x_user_defined.py", 17 | ], 18 | srcs_version = "PY3", 19 | visibility = ["//visibility:public"], 20 | ) 21 | -------------------------------------------------------------------------------- /third_party/werkzeug.BUILD: -------------------------------------------------------------------------------- 1 | # Description: 2 | # Werkzeug provides utilities for making WSGI applications 3 | 4 | load("@rules_python//python:py_library.bzl", "py_library") 5 | 6 | licenses(["notice"]) # BSD 3-Clause 7 | 8 | exports_files(["LICENSE"]) 9 | 10 | # Note: this library includes test code. Consider creating a testonly target. 11 | py_library( 12 | name = "org_pocoo_werkzeug", 13 | srcs = glob(["werkzeug/**/*.py"]), 14 | srcs_version = "PY3", 15 | visibility = ["//visibility:public"], 16 | ) 17 | -------------------------------------------------------------------------------- /tsconfig-lax.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "downlevelIteration": true, 4 | "emitDecoratorMetadata": true, 5 | "experimentalDecorators": true, 6 | "importHelpers": true, 7 | "inlineSourceMap": true, 8 | "inlineSources": true, 9 | "lib": ["dom", "es2020"], 10 | "moduleResolution": "node", 11 | "noEmitOnError": false, 12 | "noErrorTruncation": false, 13 | "noResolve": true, 14 | "preserveConstEnums": false, 15 | "skipLibCheck": true, 16 | "sourceMap": false, 17 | "strictNullChecks": true, 18 | "target": "es5", 19 | "useUnknownInCatchVariables": true, 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "downlevelIteration": true, 4 | "emitDecoratorMetadata": true, 5 | "exactOptionalPropertyTypes": true, 6 | "experimentalDecorators": true, 7 | "importHelpers": true, 8 | "inlineSourceMap": true, 9 | "lib": ["dom", "es2021", "dom.iterable"], 10 | "moduleResolution": "node", 11 | "module": "es2022", 12 | "noFallthroughCasesInSwitch": true, 13 | "noImplicitReturns": true, 14 | "noImplicitOverride": true, 15 | "skipLibCheck": true, 16 | "strict": true, 17 | // Don't scan the node_modules/@types folder for ambient types. 18 | // This would force us to have all the types in the dependencies of 19 | // each library. 20 | // Instead we'll be explicit about declaring ambient type dependencies 21 | // using the /// syntax. 22 | "types": [] 23 | }, 24 | "angularCompilerOptions": { 25 | "strictTemplates": true 26 | } 27 | } 28 | --------------------------------------------------------------------------------