Fix a bug in tf.strided_slice() (#16989)
authorScott Tseng <scott.tseng@kikatech.com>
Thu, 8 Mar 2018 07:29:18 +0000 (15:29 +0800)
committerGunhan Gulsoy <gunan@google.com>
Thu, 8 Mar 2018 07:29:18 +0000 (23:29 -0800)
commitab1cab51265f8b0fb38d007a1d3d93a857ca864d
tree48adf87ef2ecbbf45314ba563408dac7b935c046
parent584aa04bfc816a6cf9f0390d33c3595837355935
Fix a bug in tf.strided_slice() (#16989)

Current implementation modifies TfLiteNode::builtin_data every time when
a loaded graph is executed. The three masks in params will continually
flipping, and cause the op produce incorrect result every two executions.
tensorflow/contrib/lite/kernels/strided_slice.cc