Include tensorflow::DataType header file
authorAkshay Modi <nareshmodi@google.com>
Wed, 9 May 2018 00:27:33 +0000 (17:27 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 9 May 2018 17:34:05 +0000 (10:34 -0700)
PiperOrigin-RevId: 195903041

tensorflow/python/eager/BUILD
tensorflow/python/eager/pywrap_tensor.h

index b3268c9..a0fc538 100644 (file)
@@ -25,6 +25,7 @@ cc_library(
         "//tensorflow/c/eager:c_api_internal",
         "//tensorflow/c/eager:tape",
         "//tensorflow/core:lib",
+        "//tensorflow/core:protos_all_cc",
         "//tensorflow/python:ndarray_tensor",
         "//tensorflow/python:ndarray_tensor_bridge",
         "//tensorflow/python:numpy_lib",
index 88982b0..bc042eb 100644 (file)
@@ -16,6 +16,7 @@ limitations under the License.
 #define TENSORFLOW_PYTHON_EAGER_PYWRAP_TENSOR_H_
 
 #include "tensorflow/c/eager/c_api.h"
+#include "tensorflow/core/framework/types.pb.h"
 #include "tensorflow/core/platform/types.h"
 #include "tensorflow/python/lib/core/numpy.h"