STT-tensorflow/tensorflow/lite/kernels/internal/reference
Mihai Maruseac ce945d5b0e [tflite] Ensure ResolveAxis properly handles negative inputs.
In Python, a list `l` of length `n` allows indexing with negative indices, `l[i]`. The only constraint is that `n + i` becomes positive. Code in `ResolveAxis` assumes the constraints and only checks it using a `DCHECK`. But the macro is a no-op in non-debug builds and that can result in reading from negative offsets (buffer underflows).

PiperOrigin-RevId: 332530683
Change-Id: I464e073fee618054ae3719a3679739007bb3f3bc
2020-09-19 18:19:28 -07:00
..
integer_ops Support quantized Mul with multiplier>1, even if that's a pathological case. 2019-08-01 10:15:35 -07:00
arg_min_max.h Add arg_min and arg_max op for micro 2019-08-01 19:21:19 -07:00
binary_function.h Add LOGICAL_AND, LOGICAL_OR operator to TFL micro. 2019-08-06 00:44:46 -07:00
comparisons.h Port comparison operations to separate header 2019-08-05 00:05:41 -07:00
conv.h Introduce a CpuBackendContext class, to be passed to any runtime 2019-04-24 09:18:03 -07:00
depthwiseconv_float.h
depthwiseconv_uint8.h DepthwiseConv dot-product optimization: C model code (non-depth-mult) part I. 2019-02-14 14:49:07 -08:00
floor.h Add floor op for micro 2019-07-31 18:14:22 -07:00
fully_connected.h No longer depend directly on the general gemmlowp library, 2019-05-07 11:46:46 -07:00
legacy_reference_ops.h Move binary functions to a separate header. 2019-08-05 19:51:02 -07:00
maximum_minimum.h Add maximum and minimum ops for TF Micro 2019-08-01 23:14:48 -07:00
pooling.h No longer depend directly on the general gemmlowp library, 2019-05-07 11:46:46 -07:00
portable_tensor_utils_impl.h Refactor *_tensor_utils_impl.h files: Both portable and neon versions now only declare Portable* and Neon* functions, and *_tensor_utils.cc files include only the appropriate headers. *_tensor_utils.h include all 2019-06-17 13:09:31 -07:00
portable_tensor_utils.cc Refactor *_tensor_utils_impl.h files: Both portable and neon versions now only declare Portable* and Neon* functions, and *_tensor_utils.cc files include only the appropriate headers. *_tensor_utils.h include all 2019-06-17 13:09:31 -07:00
portable_tensor_utils.h Refactor *_tensor_utils_impl.h files: Both portable and neon versions now only declare Portable* and Neon* functions, and *_tensor_utils.cc files include only the appropriate headers. *_tensor_utils.h include all 2019-06-17 13:09:31 -07:00
prelu.h Add prelu op for micro 2019-07-22 22:51:29 -07:00
reference_ops.h [tflite] Ensure ResolveAxis properly handles negative inputs. 2020-09-19 18:19:28 -07:00
softmax.h Create fixed point Softmax that uses asymmetric quantization with int8 as input and output. 2018-12-20 15:23:50 -08:00
strided_slice.h PR #28079: Moved strided slide ops from reference to its own. 2019-07-10 12:12:26 -07:00