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 |
||
---|---|---|
.. | ||
atrace_profiler_test.cc | ||
atrace_profiler.cc | ||
atrace_profiler.h | ||
buffered_profiler.h | ||
BUILD | ||
memory_info_test.cc | ||
memory_info.cc | ||
memory_info.h | ||
noop_profiler.h | ||
platform_profiler.cc | ||
platform_profiler.h | ||
profile_buffer_test.cc | ||
profile_buffer.h | ||
profile_summarizer_test.cc | ||
profile_summarizer.cc | ||
profile_summarizer.h | ||
profile_summary_formatter_test.cc | ||
profile_summary_formatter.cc | ||
profile_summary_formatter.h | ||
profiler_test.cc | ||
profiler.h | ||
test_main.cc | ||
time_test.cc | ||
time.cc | ||
time.h |