diff options
author | 2016-07-19 18:50:47 -0800 | |
---|---|---|
committer | 2016-07-19 20:04:10 -0700 | |
commit | eccab968741075737fd2c56bb981089f723b8143 (patch) | |
tree | 1aea627e1ecd2f4eb272b75f985c98c44454fb5a | |
parent | b10e652bbaff0a1d60256a43bdf7db7a341071ab (diff) |
Fixed incorrect debug assertion
Change: 127903711
-rw-r--r-- | tensorflow/core/kernels/eigen_spatial_convolutions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/eigen_spatial_convolutions.h b/tensorflow/core/kernels/eigen_spatial_convolutions.h index 8925e9a58f..a2a9e15301 100644 --- a/tensorflow/core/kernels/eigen_spatial_convolutions.h +++ b/tensorflow/core/kernels/eigen_spatial_convolutions.h @@ -715,7 +715,7 @@ struct gemm_pack_rhs< std::min<Index>(peeled_k - c * patch_rows * patch_depth - r * patch_depth + startDepth, patch_depth); - eigen_assert(max_depth % packet_size == 0); + eigen_assert((max_depth - startDepth) % packet_size == 0); for (Index d = startDepth; d < max_depth; d += packet_size) { eigen_assert(k < peeled_k); PacketBlock<Packet, 4> kernel; |