aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/c/python_api.h
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-03-26 10:00:20 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-26 10:02:37 -0700
commit2b078a508b8c6c920db121f676650d7972749bd7 (patch)
tree95366777558b375058f94d1f00d1944f1f8f0803 /tensorflow/c/python_api.h
parenta5a1e9e43131b387395930f38234fc10b02d874b (diff)
Automated g4 rollback of changelist 190293303
PiperOrigin-RevId: 190479555
Diffstat (limited to 'tensorflow/c/python_api.h')
-rw-r--r--tensorflow/c/python_api.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/tensorflow/c/python_api.h b/tensorflow/c/python_api.h
index 2d4c8cd9ed..13b680b3a2 100644
--- a/tensorflow/c/python_api.h
+++ b/tensorflow/c/python_api.h
@@ -16,8 +16,6 @@ limitations under the License.
#ifndef TENSORFLOW_C_PYTHON_API_H_
#define TENSORFLOW_C_PYTHON_API_H_
-#include <string>
-
#include "tensorflow/c/c_api.h"
// These functions can be removed without notice. They exist to facilitate some
@@ -53,11 +51,6 @@ void SetRequireShapeInferenceFns(TF_Graph* graph, bool require);
// the graph after the session has been made aware of them.
void ExtendSession(TF_Session* session, TF_Status* status);
-// Returns the serialized CppShapeInferenceResult::HandleData proto for
-// `output` if its a resource tensor, or otherwise returns the empty string.
-// TODO(b/74620627): remove when _USE_C_SHAPES is removed
-std::string ResourceHandleShapeAndType(TF_Graph* graph, TF_Output output);
-
} // namespace tensorflow
#endif // TENSORFLOW_C_PYTHON_API_H_