diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-03-08 12:01:23 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-03-08 12:12:23 -0800 |
commit | 25b970971a58f9e49008eecfce113b7d342dbec2 (patch) | |
tree | e39bb18c3105f8d70cd91bd700e929d498f1ea1e /tensorflow/c/c_api_function_test.cc | |
parent | 543454b282bbcffd63d1348204662dbfed82fb86 (diff) |
Decoupling hash and protobuf. This simplifies a little bit the dependency chain as
we don't have to link protobuf libraries just to use basic hash functions. The case
for deterministic serialization of protocol buffers if very specific and can be
handled by a new header file.
PiperOrigin-RevId: 188366713
Diffstat (limited to 'tensorflow/c/c_api_function_test.cc')
-rw-r--r-- | tensorflow/c/c_api_function_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/c/c_api_function_test.cc b/tensorflow/c/c_api_function_test.cc index 7ca50119ea..610274696f 100644 --- a/tensorflow/c/c_api_function_test.cc +++ b/tensorflow/c/c_api_function_test.cc @@ -20,6 +20,7 @@ limitations under the License. #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/lib/hash/hash.h" +#include "tensorflow/core/lib/strings/proto_serialization.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/logging.h" |