https://github.com/GPflow/GPflow
Revision cee7902dab4193d3bea465a5474b2ebec053a672 authored by Artem Artemev on 23 September 2017, 20:35:51 UTC, committed by Artem Artemev on 23 September 2017, 20:35:51 UTC
1 parent cb8ee93
Raw File
Tip revision: cee7902dab4193d3bea465a5474b2ebec053a672 authored by Artem Artemev on 23 September 2017, 20:35:51 UTC
Remove print functions.
Tip revision: cee7902
gpflow_testcase.py
import unittest
import tensorflow as tf

class GPflowTestCase(tf.test.TestCase):
    """
    Wrapper for TestCase to avoid massive duplication of resetting
    Tensorflow Graph.
    """

    _multiprocess_can_split_ = True

    def tearDown(self):
        tf.reset_default_graph()
        super(GPflowTestCase, self).tearDown()
back to top