(self)
| 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(): |
nothing calls this directly
no test coverage detected