Skip to content

Commit

Permalink
Update tensorflow1.9-rc0.patch
Browse files Browse the repository at this point in the history
previous issue was patch in #20025
  • Loading branch information
peterlee0127 authored Jun 21, 2018
1 parent 828d806 commit cbc9954
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions patch/tensorflow1.9-rc0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,3 @@ index 0a5223b..b7d8806 100644
],
":armeabi-v7a": [
"-O3",
diff --git a/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8.h b/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8.h
index 3fd00c8..6eea465 100644
--- a/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8.h
+++ b/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8.h
@@ -1699,7 +1699,7 @@ inline void DepthwiseConv(const uint8* input_data, const Dims<4>& input_dims,

// Enable for arm64 except for the Nvidia Linux 4 Tegra (L4T) running on
// Jetson TX-2. This compiler does not support the offsetof() macro.
-#if defined(__aarch64__) && !defined(GOOGLE_L4T)
+#if !defined(__aarch64__) && defined(GOOGLE_L4T)
// Call kernel optimized for depthwise convolutions using 3x3 filters if
// parameters are supported.
if (Fast3x3FilterKernelSupported(
diff --git a/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8_3x3_filter.h b/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8_3x3_filter.h
index 8cd7223..9461ef5 100644
--- a/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8_3x3_filter.h
+++ b/tensorflow/contrib/lite/kernels/internal/optimized/depthwiseconv_uint8_3x3_filter.h
@@ -25,7 +25,7 @@ namespace optimized_ops {

// Enable for arm64 except for the Nvidia Linux 4 Tegra (L4T) running on
// Jetson TX-2. This compiler does not support the offsetof() macro.
-#if defined(__aarch64__) && !defined(GOOGLE_L4T)
+#if defined(__aarch64__) && defined(GOOGLE_L4T)

// clang-format gets confused with this file and ends up formatting lines to
// be larger than 80 characters. Turn off here and back on at the end of the

0 comments on commit cbc9954

Please sign in to comment.