diff options
author | 2017-11-17 16:53:39 -0800 | |
---|---|---|
committer | 2017-11-17 16:58:02 -0800 | |
commit | f386693307fca2ef09ef7618d214f148c2944ff2 (patch) | |
tree | dabdaee2dc189c1b00d1bb1746f153a2a2ae6c30 /tensorflow | |
parent | ee9b4eb5ee09bc505a51b1ba9325823444ac1dd2 (diff) |
Avoid a dependency between the interpreter and tensorflow
PiperOrigin-RevId: 176179748
Diffstat (limited to 'tensorflow')
-rw-r--r-- | tensorflow/contrib/lite/interpreter.h | 2 | ||||
-rw-r--r-- | tensorflow/contrib/lite/string.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/tensorflow/contrib/lite/interpreter.h b/tensorflow/contrib/lite/interpreter.h index 8bf60e91f7..65c61e44be 100644 --- a/tensorflow/contrib/lite/interpreter.h +++ b/tensorflow/contrib/lite/interpreter.h @@ -24,7 +24,6 @@ limitations under the License. #include "tensorflow/contrib/lite/context.h" #include "tensorflow/contrib/lite/error_reporter.h" #include "tensorflow/contrib/lite/simple_memory_arena.h" -#include "tensorflow/core/platform/platform.h" namespace tflite { @@ -232,7 +231,6 @@ class Interpreter { // If you know that your sizes are not changing, you need not call this. // Returns status of success or failure. - // TODO(aselle): Madde TfLiteStatus AllocateTensors(); // Invoke the interpreter (run the whole graph in dependency order). diff --git a/tensorflow/contrib/lite/string.h b/tensorflow/contrib/lite/string.h index ecd6f04ec2..7f8f4e851e 100644 --- a/tensorflow/contrib/lite/string.h +++ b/tensorflow/contrib/lite/string.h @@ -17,11 +17,10 @@ limitations under the License. #define _THIRD_PARTY_TENSORFLOW_CONTRIB_LITE_STRING_H_ #include <string> -#include "tensorflow/core/platform/platform.h" namespace tflite { -#ifndef PLATFORM_GOOGLE +#ifndef HAS_GLOBAL_STRING using std::string; #endif |