def test_ovtf():
    print("TensorFlow version : ", tf.version.GIT_VERSION, tf.version.VERSION)

    openvino_tensorflow.enable()
    assert openvino_tensorflow.is_enabled() == 1
示例#2
0
 def test_enable(self):
     openvino_tensorflow.enable()
     if not openvino_tensorflow.is_enabled() == 1:
         raise AssertionError