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 |
||
---|---|---|
.. | ||
BUILD | ||
ctc_beam_entry.h | ||
ctc_beam_scorer.h | ||
ctc_beam_search_decoder_test.cc | ||
ctc_beam_search_decoder.cc | ||
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 | ||
unidirectional_sequence_gru.cc |