()
| 57 | |
| 58 | @contextmanager |
| 59 | def _tf_session(): |
| 60 | with tf.Session() as sess: |
| 61 | sess.run([tf.global_variables_initializer(), tf.local_variables_initializer()]) |
| 62 | |
| 63 | coord = tf.train.Coordinator() |
| 64 | threads = tf.train.start_queue_runners(coord=coord, start=True) |
| 65 | |
| 66 | yield sess |
| 67 | |
| 68 | coord.request_stop() |
| 69 | coord.join(threads) |
| 70 | |
| 71 | |
| 72 | def test_sanitize_field_tf_types(): |
no test coverage detected
searching dependent graphs…