From 7b68fcc356b28e1154b05b811e60d34ea0433b1d Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 23 Oct 2020 09:47:28 -0700 Subject: [PATCH] Internal naming change PiperOrigin-RevId: 338691806 Change-Id: I2dbfe4f727a7f14d233dec90637ecfca87a1fe63 --- tensorflow/lite/toco/BUILD | 1 + tensorflow/lite/toco/toco_port.cc | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tensorflow/lite/toco/BUILD b/tensorflow/lite/toco/BUILD index cd130d978f4..8a803ebc5c9 100644 --- a/tensorflow/lite/toco/BUILD +++ b/tensorflow/lite/toco/BUILD @@ -145,6 +145,7 @@ cc_library( "//tensorflow/core:framework_lite", "//tensorflow/core:lib", "//tensorflow/core:lib_internal", + "@com_google_absl//absl/status", "@com_google_protobuf//:protobuf_headers", ], ) diff --git a/tensorflow/lite/toco/toco_port.cc b/tensorflow/lite/toco/toco_port.cc index 8352e0fd9f2..65dc3a64ed1 100644 --- a/tensorflow/lite/toco/toco_port.cc +++ b/tensorflow/lite/toco/toco_port.cc @@ -12,13 +12,15 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ +#include "tensorflow/lite/toco/toco_port.h" + #include -#include "tensorflow/lite/toco/toco_port.h" -#include "tensorflow/lite/toco/toco_types.h" +#include "absl/status/status.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/logging.h" +#include "tensorflow/lite/toco/toco_types.h" #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__) namespace std { @@ -69,7 +71,7 @@ void CheckInitGoogleIsDone(const char* message) { namespace file { // Conversion to our wrapper Status. -tensorflow::Status ToStatus(const ::util::Status& uts) { +tensorflow::Status ToStatus(const absl::Status& uts) { if (!uts.ok()) { return tensorflow::Status( tensorflow::errors::Code(::util::RetrieveErrorCode(uts)),