aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/c_test_util.h
diff options
context:
space:
mode:
authorGravatar Igor Ganichev <iga@google.com>2017-09-19 08:41:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-09-19 08:45:34 -0700
commitec962ff63820e3ab9f5cc4c5f37c3579be0afcd9 (patch)
tree2d9a14302cbaf4369d108a5b5e26a34c8010db58 /tensorflow/c/c_test_util.h
parente4223cbd750617ff88e7f5e3f9ca2f764c52481c (diff)
Support specifying output names during TF_Function creation
PiperOrigin-RevId: 169245946
Diffstat (limited to 'tensorflow/c/c_test_util.h')
-rw-r--r--tensorflow/c/c_test_util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/c/c_test_util.h b/tensorflow/c/c_test_util.h
index 9cfedf36e5..d547337492 100644
--- a/tensorflow/c/c_test_util.h
+++ b/tensorflow/c/c_test_util.h
@@ -69,7 +69,8 @@ TF_Operation* AddWithCtrlDependency(TF_Operation* l, TF_Operation* r,
TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s,
const char* name = "add");
-TF_Operation* Neg(TF_Operation* n, TF_Graph* graph, TF_Status* s);
+TF_Operation* Neg(TF_Operation* n, TF_Graph* graph, TF_Status* s,
+ const char* name = "neg");
TF_Operation* LessThan(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s);