STT-tensorflow/tensorflow/lite/profiling
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
..
atrace_profiler_test.cc Force enabling TFLite tracing with TFLITE_ENABLE_DEFAULT_PROFILER define. 2020-08-31 16:19:06 -07:00
atrace_profiler.cc Force enabling TFLite tracing with TFLITE_ENABLE_DEFAULT_PROFILER define. 2020-08-31 16:19:06 -07:00
atrace_profiler.h Force enabling TFLite tracing with TFLITE_ENABLE_DEFAULT_PROFILER define. 2020-08-31 16:19:06 -07:00
buffered_profiler.h
BUILD Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
memory_info_test.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
memory_info.cc
memory_info.h
noop_profiler.h
platform_profiler.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
platform_profiler.h Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
profile_buffer_test.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
profile_buffer.h
profile_summarizer_test.cc [tflite]: Insert nullptr checks when obtaining tensors. 2020-09-18 13:53:51 -07:00
profile_summarizer.cc
profile_summarizer.h
profile_summary_formatter_test.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
profile_summary_formatter.cc
profile_summary_formatter.h
profiler_test.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
profiler.h
test_main.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
time_test.cc Enable ATrace profiler by Android system property. 2020-08-27 00:07:25 -07:00
time.cc
time.h