Home
last modified time | relevance | path

Searched refs:getLastNativeInferenceDurationNanoseconds (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/java/src/testhelper/java/org/tensorflow/lite/
DTestHelper.java28 public static Long getLastNativeInferenceDurationNanoseconds(Interpreter interpreter) { in getLastNativeInferenceDurationNanoseconds() method in TestHelper
30 return interpreter.wrapper.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceDurationNanoseconds()
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/
DOvicDetector.java165 Long latency = tflite.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceLatencyMilliseconds()
179 return tflite.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceLatencyNanoseconds()
DOvicClassifier.java157 Long latency = tflite.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceLatencyMilliseconds()
170 return tflite.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceLatencyNanoseconds()
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/
DInterpreter.java630 public Long getLastNativeInferenceDurationNanoseconds() { in getLastNativeInferenceDurationNanoseconds() method in Interpreter
632 return wrapper.getLastNativeInferenceDurationNanoseconds(); in getLastNativeInferenceDurationNanoseconds()
DNativeInterpreterWrapper.java342 Long getLastNativeInferenceDurationNanoseconds() { in getLastNativeInferenceDurationNanoseconds() method in NativeInterpreterWrapper
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/
DNativeInterpreterWrapperTest.java571 assertThat(wrapper.getLastNativeInferenceDurationNanoseconds()).isGreaterThan(0L); in testGetInferenceLatency()
578 assertThat(wrapper.getLastNativeInferenceDurationNanoseconds()).isNull(); in testGetInferenceLatencyWithNewWrapper()
599 assertThat(wrapper.getLastNativeInferenceDurationNanoseconds()).isNull(); in testGetLatencyAfterFailedInference()