STT-tensorflow/tensorflow/lite/experimental/kernels
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
..
BUILD Internal visibility change 2020-09-08 16:28:43 -07:00
ctc_beam_entry.h
ctc_beam_scorer.h
ctc_beam_search_decoder_test.cc
ctc_beam_search_decoder.cc [tflite]: Insert nullptr checks when obtaining tensors. 2020-09-18 13:53:51 -07:00
ctc_beam_search.h
ctc_decoder.h
ctc_loss_util.h
gru_cell.cc
gru_cell.h
top_n.h
unidirectional_sequence_gru_test.cc Separate AddVariableInput and AddInput functions in test_util.h/.cc 2020-09-08 17:45:35 -07:00
unidirectional_sequence_gru.cc [tflite]: Insert nullptr checks when obtaining tensors. 2020-09-18 13:53:51 -07:00