Advait Jain 1d4a43b0bf Prefer the standard integral types over custom type-aliases.
PiperOrigin-RevId: 323036134
Change-Id: Id035d66f9e37485eb059cfa5756440c4f72871d1
2020-07-24 12:00:53 -07:00

26 lines
1.2 KiB
C++

/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
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/kernels/internal/tensor_utils.h"
#include "tensorflow/lite/kernels/internal/optimized/neon_check.h"
#if defined(__SSSE3__) && !defined(TF_LITE_STATIC_MEMORY)
#include "tensorflow/lite/kernels/internal/optimized/sse_tensor_utils.h"
#elif defined(USE_NEON) && !defined(TF_LITE_STATIC_MEMORY)
#include "tensorflow/lite/kernels/internal/optimized/neon_tensor_utils.h"
#else
#include "tensorflow/lite/kernels/internal/reference/portable_tensor_utils.h"
#endif // __SSSE3__ or USE_NEON