diff options
Diffstat (limited to 'tensorflow/core/kernels/concat_lib_cpu.cc')
-rw-r--r-- | tensorflow/core/kernels/concat_lib_cpu.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tensorflow/core/kernels/concat_lib_cpu.cc b/tensorflow/core/kernels/concat_lib_cpu.cc index b0bec0c5dc..258ce15456 100644 --- a/tensorflow/core/kernels/concat_lib_cpu.cc +++ b/tensorflow/core/kernels/concat_lib_cpu.cc @@ -74,14 +74,11 @@ REGISTER(qint16) REGISTER(qint32) REGISTER(bfloat16) -#if defined(IS_MOBILE_PLATFORM) && !defined(SUPPORT_SELECTIVE_REGISTRATION) && \ - !defined(__ANDROID_TYPES_FULL__) -// Primarily used for SavedModel support on mobile. Registering it here only if -// __ANDROID_TYPES_FULL__ is not defined, as that already register strings +#if defined(IS_MOBILE_PLATFORM) && !defined(SUPPORT_SELECTIVE_REGISTRATION) +// Primarily used for SavedModel support on mobile. REGISTER(string); #endif // defined(IS_MOBILE_PLATFORM) && - // !defined(SUPPORT_SELECTIVE_REGISTRATION) && - // !defined(__ANDROID_TYPES_FULL__) + // !defined(SUPPORT_SELECTIVE_REGISTRATION) #ifdef TENSORFLOW_USE_SYCL template <typename T> |