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

Method test_text

tensorboard/data_compat_test.py:117–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

115 self.assertEqual(b"", data[0][1]) # empty label
116
117 def test_text(self):
118 with tf.compat.v1.Graph().as_default():
119 op = tf.compat.v1.summary.text(
120 "lorem_ipsum", tf.constant("dolor sit amet")
121 )
122 value = self._value_from_op(op)
123 assert value.HasField("tensor"), value
124 self._assert_noop(value)
125
126 def test_fully_populated_tensor(self):
127 with tf.compat.v1.Graph().as_default():

Callers

nothing calls this directly

Calls 4

_value_from_opMethod · 0.95
_assert_noopMethod · 0.95
GraphMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected