Internal naming change
PiperOrigin-RevId: 338691806 Change-Id: I2dbfe4f727a7f14d233dec90637ecfca87a1fe63
This commit is contained in:
parent
18874dfce1
commit
7b68fcc356
@ -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",
|
||||
],
|
||||
)
|
||||
|
@ -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 <cstring>
|
||||
|
||||
#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)),
|
||||
|
Loading…
Reference in New Issue
Block a user