Skip to content

Commit 6996982

Browse files
authored
remove unused vestigial Scalars() and Audio() APIs on plugin EventMultiplexer (#2577)
1 parent 2b96c2a commit 6996982

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

tensorboard/backend/event_processing/plugin_event_multiplexer.py

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -305,23 +305,6 @@ def FirstEventTimestamp(self, run):
305305
accumulator = self.GetAccumulator(run)
306306
return accumulator.FirstEventTimestamp()
307307

308-
def Scalars(self, run, tag):
309-
"""Retrieve the scalar events associated with a run and tag.
310-
311-
Args:
312-
run: A string name of the run for which values are retrieved.
313-
tag: A string name of the tag for which values are retrieved.
314-
315-
Raises:
316-
KeyError: If the run is not found, or the tag is not available for
317-
the given run.
318-
319-
Returns:
320-
An array of `event_accumulator.ScalarEvents`.
321-
"""
322-
accumulator = self.GetAccumulator(run)
323-
return accumulator.Scalars(tag)
324-
325308
def Graph(self, run):
326309
"""Retrieve the graph associated with the provided run.
327310
@@ -371,23 +354,6 @@ def RunMetadata(self, run, tag):
371354
accumulator = self.GetAccumulator(run)
372355
return accumulator.RunMetadata(tag)
373356

374-
def Audio(self, run, tag):
375-
"""Retrieve the audio events associated with a run and tag.
376-
377-
Args:
378-
run: A string name of the run for which values are retrieved.
379-
tag: A string name of the tag for which values are retrieved.
380-
381-
Raises:
382-
KeyError: If the run is not found, or the tag is not available for
383-
the given run.
384-
385-
Returns:
386-
An array of `event_accumulator.AudioEvents`.
387-
"""
388-
accumulator = self.GetAccumulator(run)
389-
return accumulator.Audio(tag)
390-
391357
def Tensors(self, run, tag):
392358
"""Retrieve the tensor events associated with a run and tag.
393359

0 commit comments

Comments
 (0)