Home
last modified time | relevance | path

Searched refs:gpu_opts (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/delegates/
Dgpu_delegate_provider.cc113 TfLiteGpuDelegateOptionsV2 gpu_opts = TfLiteGpuDelegateOptionsV2Default(); in CreateTfLiteDelegate() local
115 gpu_opts.inference_priority1 = TFLITE_GPU_INFERENCE_PRIORITY_MIN_LATENCY; in CreateTfLiteDelegate()
116 gpu_opts.inference_priority2 = in CreateTfLiteDelegate()
118 gpu_opts.inference_priority3 = in CreateTfLiteDelegate()
122 gpu_opts.experimental_flags |= TFLITE_GPU_EXPERIMENTAL_FLAGS_ENABLE_QUANT; in CreateTfLiteDelegate()
127 gpu_opts.experimental_flags |= TFLITE_GPU_EXPERIMENTAL_FLAGS_CL_ONLY; in CreateTfLiteDelegate()
129 gpu_opts.experimental_flags |= TFLITE_GPU_EXPERIMENTAL_FLAGS_GL_ONLY; in CreateTfLiteDelegate()
132 gpu_opts.max_delegated_partitions = in CreateTfLiteDelegate()
134 delegate = evaluation::CreateGPUDelegate(&gpu_opts); in CreateTfLiteDelegate()
136 TFLGpuDelegateOptions gpu_opts = {0}; in CreateTfLiteDelegate()
[all …]
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc117 TfLiteGpuDelegateOptionsV2 gpu_opts = TfLiteGpuDelegateOptionsV2Default(); in CreateGPUDelegate() local
118 gpu_opts.inference_preference = in CreateGPUDelegate()
120 gpu_opts.inference_priority1 = in CreateGPUDelegate()
123 return evaluation::CreateGPUDelegate(&gpu_opts); in CreateGPUDelegate()