aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/tf_status_helper.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-08-23 21:25:10 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-23 21:28:56 -0700
commit1fc456eb0e663e3cf83039b41d5cffabe37a4773 (patch)
tree522462423a6644094623ffbe2bbe0309d6e9509d /tensorflow/c/tf_status_helper.h
parenteced4b779c0bd6bb33966d557bd43c3aa3b3a316 (diff)
Unify the NDArray <-> Tensor conversion.
PiperOrigin-RevId: 166297415
Diffstat (limited to 'tensorflow/c/tf_status_helper.h')
-rw-r--r--tensorflow/c/tf_status_helper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/c/tf_status_helper.h b/tensorflow/c/tf_status_helper.h
index 4bc56f9cb4..86e687df20 100644
--- a/tensorflow/c/tf_status_helper.h
+++ b/tensorflow/c/tf_status_helper.h
@@ -24,6 +24,9 @@ namespace tensorflow {
// Set the attribute of "tf_status" from the attributes of "status".
void Set_TF_Status_from_Status(TF_Status* tf_status, const Status& status);
+// Returns a "status" from "tf_status".
+Status StatusFromTF_Status(const TF_Status* tf_status);
+
} // namespace tensorflow
#endif // TENSORFLOW_C_TF_STATUS_HELPER_H