Home
last modified time | relevance | path

Searched refs:InferenceUsage (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/
Dapi.h319 enum class InferenceUsage { enum
345 InferenceUsage usage = InferenceUsage::SUSTAINED_SPEED;
Ddelegate.cc62 InferenceUsage ToUsage(int32_t usage) { in ToUsage()
65 return InferenceUsage::FAST_SINGLE_ANSWER; in ToUsage()
67 return InferenceUsage::SUSTAINED_SPEED; in ToUsage()
69 return InferenceUsage::UNKNOWN; in ToUsage()
Dapi.cc138 if (options.usage == InferenceUsage::UNKNOWN) { in IsValid()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dapi.cc660 if (options.usage == InferenceUsage::FAST_SINGLE_ANSWER) { in Initialize()
663 } else if (options.usage == InferenceUsage::SUSTAINED_SPEED) { in Initialize()
923 if (options.usage == InferenceUsage::FAST_SINGLE_ANSWER) { in BuildSerializedModel()
926 } else if (options.usage == InferenceUsage::SUSTAINED_SPEED) { in BuildSerializedModel()
Dgpu_api_delegate.cc148 options.usage = InferenceUsage::FAST_SINGLE_ANSWER; in Prepare()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
Dinternal_api_samples.cc168 options.usage = InferenceUsage::SUSTAINED_SPEED; in RunModelSampleWithInternalAPI()
292 options.usage = InferenceUsage::SUSTAINED_SPEED; in RunModelSampleWithInternalAPISerializedKernels()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dapi2.cc560 options_.usage == InferenceUsage::SUSTAINED_SPEED && in Build()