MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / text

Method text

tensorboard/plugins/text/summary_test.py:140–143  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

138
139class SummaryV1OpTest(SummaryBaseTest, tf.test.TestCase):
140 def text(self, *args, **kwargs):
141 return summary_pb2.Summary.FromString(
142 summary.op(*args, **kwargs).numpy()
143 )
144
145 def test_tag(self):
146 self.assertEqual("a/text_summary", self.text("a", "foo").value[0].tag)

Callers 2

test_tagMethod · 0.95
test_scoped_tagMethod · 0.95

Calls 2

numpyMethod · 0.80
opMethod · 0.80

Tested by

no test coverage detected