MCPcopy Index your code
hub / github.com/tensorflow/tensorboard / buildBlankState

Function buildBlankState

tensorboard/webapp/metrics/testing.ts:90–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90function buildBlankState(): MetricsState {
91 return {
92 tagMetadataLoadState: {
93 state: DataLoadState.NOT_LOADED,
94 lastLoadedTimeInMs: null,
95 },
96 tagMetadata: {
97 scalars: {
98 tagDescriptions: {},
99 tagToRuns: {},
100 },
101 histograms: {
102 tagDescriptions: {},
103 tagToRuns: {},
104 },
105 images: {
106 tagDescriptions: {},
107 tagRunSampledInfo: {},
108 },
109 },
110 timeSeriesData: {
111 scalars: {},
112 histograms: {},
113 images: {},
114 },
115 settings: buildMetricsSettingsState(),
116 settingOverrides: {},
117 cardList: [],
118 cardToPinnedCopy: new Map(),
119 cardToPinnedCopyCache: new Map(),
120 pinnedCardToOriginal: new Map(),
121 unresolvedImportedPinnedCards: [],
122 lastPinnedCardTime: 0,
123 cardMetadataMap: {},
124 cardStateMap: {},
125 cardStepIndex: {},
126 visibleCardMap: new Map(),
127 tagFilter: '',
128 tagGroupExpanded: new Map(),
129 linkedTimeSelection: null,
130 linkedTimeEnabled: false,
131 stepSelectorEnabled: false,
132 rangeSelectionEnabled: false,
133 singleSelectionHeaders: [],
134 rangeSelectionHeaders: [],
135 filteredPluginTypes: new Set(),
136 stepMinMax: {min: Infinity, max: -Infinity},
137 isSettingsPaneOpen: false,
138 isSlideoutMenuOpen: false,
139 tableEditorSelectedTab: DataTableMode.SINGLE,
140 previousCardInteractions: {
141 tagFilters: [],
142 pins: [],
143 clicks: [],
144 },
145 newCardInteractions: {
146 tagFilters: [],
147 pins: [],

Callers 1

buildMetricsStateFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…