STT-tensorflow/tensorflow
Mihai Maruseac e11f55585f [tflite]: Insert nullptr checks when obtaining tensors.
As part of ongoing refactoring, `tflite::GetInput`, `tflite::GetOutput`, `tflite::GetTemporary` and `tflite::GetIntermediates` will return `nullptr` in some cases. Hence, we insert the `nullptr` checks on all usages.

We also insert `nullptr` checks on usages of `tflite::GetVariableInput` and `tflite::GetOptionalInputTensor` but only in the cases where there is no obvious check that `nullptr` is acceptable (that is, we only insert the check for the output of these two functions if the tensor is accessed as if it is always not `nullptr`).

PiperOrigin-RevId: 332517854
Change-Id: Ic27221dd1f0fbe302f311c2fe5a846ed8ff02016
2020-09-18 13:53:51 -07:00
..
c Support batched inputs to SparseSoftmaxCrossEntropyWithLogitsGradientFunction. 2020-09-17 20:41:53 -07:00
cc Fix tests with bad saved models 2020-08-31 15:25:33 -07:00
compiler Add XLA registration for Zeta/Zetac 2020-09-18 13:04:32 -07:00
core Use flat_hash_set to avoid duplicate group_ids. 2020-09-18 13:49:48 -07:00
docs_src
examples
go Go: Update generated wrapper functions for TensorFlow ops. 2020-09-17 21:55:00 -07:00
java
js
lite [tflite]: Insert nullptr checks when obtaining tensors. 2020-09-18 13:53:51 -07:00
python Reenable DistributionStrategyGruModelCorrectnessTest.test_gru_model_correctness test that's passing. 2020-09-18 13:45:00 -07:00
security Remove fuzzer which is too small. 2020-09-08 13:20:11 -07:00
stream_executor Implement TpuTransferManager::ChooseCompactLayoutForShape and C bindings. 2020-09-17 11:13:09 -07:00
tools Internal changes only. 2020-09-18 11:07:00 -07:00
__init__.py
.clang-format
api_template_v1.__init__.py
api_template.__init__.py
BUILD Internal change to build rules 2020-09-17 13:49:01 -07:00
compat_template_v1.__init__.py
compat_template.__init__.py
opensource_only.files Delete SYCL support 2020-09-15 11:21:47 -07:00
tensorflow.bzl Delete SYCL support 2020-09-15 11:21:47 -07:00
tf_exported_symbols.lds
tf_framework_version_script.lds
tf_version_script.lds
version_check.bzl
virtual_root_template_v1.__init__.py
virtual_root_template_v2.__init__.py
workspace.bzl Bump sqlite to 3.33.0 2020-09-18 11:02:25 -07:00