aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/tests/function_test.py
diff options
context:
space:
mode:
authorGravatar Igor Ganichev <iga@google.com>2017-11-21 14:34:09 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-11-21 14:38:05 -0800
commitfe69b11b578b40bcf6127e54ef307d822d13e123 (patch)
tree89fa9ad80fc3bda6de19e92770fda8962199aaa1 /tensorflow/compiler/tests/function_test.py
parentb5198a3c9b093f0d574c21b5496f045e18c74bae (diff)
Run xla FunctionTest with (and without) C API
PiperOrigin-RevId: 176562355
Diffstat (limited to 'tensorflow/compiler/tests/function_test.py')
-rw-r--r--tensorflow/compiler/tests/function_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/compiler/tests/function_test.py b/tensorflow/compiler/tests/function_test.py
index cbe2888696..11d8a99ffe 100644
--- a/tensorflow/compiler/tests/function_test.py
+++ b/tensorflow/compiler/tests/function_test.py
@@ -24,10 +24,12 @@ from tensorflow.compiler.tests.xla_test import XLATestCase
from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes
from tensorflow.python.framework import function
+from tensorflow.python.framework import test_util
from tensorflow.python.ops import array_ops
from tensorflow.python.platform import googletest
+@test_util.with_c_api
class FunctionTest(XLATestCase):
def testFunction(self):