aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/c_api.h
diff options
context:
space:
mode:
authorGravatar Skye Wanderman-Milne <skyewm@google.com>2017-04-13 09:30:19 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-04-13 10:44:47 -0700
commita16db8302a2436d915dcb551d0a7b537025e2f35 (patch)
treef129b4be92f04c49d02d7c46f17fbbe6698ebfaa /tensorflow/c/c_api.h
parent7d4aaddaad9343fea73dbc0e100e8c5d726f45d6 (diff)
C API: fix misnamed function in c_api.h
TF_ImportGraphDefOptionsRemapControlDependency() was accidentally called TF_GraphImportGraphDefOptionsRemapControlDependency() in the header file. This change is technically a breaking change to the public API, but given that the public function was never defined it seems ok to change it to the intended name. This change also adds a test for TF_ImportGraphDefOptionsRemapControlDependency(), which was missing before, allowing this to happen. Change: 153075645
Diffstat (limited to 'tensorflow/c/c_api.h')
-rw-r--r--tensorflow/c/c_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/c/c_api.h b/tensorflow/c/c_api.h
index a686f7f701..9b08f9d981 100644
--- a/tensorflow/c/c_api.h
+++ b/tensorflow/c/c_api.h
@@ -818,7 +818,7 @@ extern void TF_ImportGraphDefOptionsAddInputMapping(
// replaced with `dst`. `src_name` refers to a node in the graph to be imported,
// `dst` references an operation already existing in the graph being imported
// into.
-extern void TF_GraphImportGraphDefOptionsRemapControlDependency(
+extern void TF_ImportGraphDefOptionsRemapControlDependency(
TF_ImportGraphDefOptions* opts, const char* src_name, TF_Operation* dst);
// Cause the imported graph to have a control dependency on `oper`. `oper`