Home
last modified time | relevance | path

Searched refs:allow_fp16 (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/nnapi/java/src/main/native/
Dnnapi_delegate_jni.cc29 jboolean allow_fp16) { in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate() argument
51 if (allow_fp16) { in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate()
52 options.allow_fp16 = allow_fp16; in Java_org_tensorflow_lite_nnapi_NnApiDelegate_createDelegate()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate.h94 bool allow_fp16 = false; member
240 bool allow_fp16; member
Dnnapi_delegate.cc4751 auto allow_fp16 = in BuildGraph() local
4752 context->allow_fp32_relax_to_fp16 | delegate_options.allow_fp16; in BuildGraph()
4757 nn_model_.get(), allow_fp16), in BuildGraph()
4834 delegate_data_.allow_fp16 = options.allow_fp16; in StatefulNnApiDelegate()
4878 options.allow_fp16 = delegate_data->allow_fp16; in GetOptions()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc121 s->allow_fp16 ? TFLITE_GPU_INFERENCE_PRIORITY_MIN_LATENCY in CreateGPUDelegate()
145 options.allow_fp16 = s->allow_fp16; in GetDelegates()
258 interpreter->SetAllowFp16PrecisionForFp32(settings->allow_fp16); in RunInference()
512 s.allow_fp16 = in Main()
Dlabel_image.h30 bool allow_fp16 = false; member
DREADME.md207 --allow_fp16, -f: [0|1], allow running fp32 models with fp16 or not
/external/mesa3d/src/gallium/frontends/dri/
Ddri_screen.c192 bool allow_fp16; in dri_fill_in_modes() local
211 allow_fp16 = driQueryOptionb(&screen->dev->option_cache, "allow_fp16_configs"); in dri_fill_in_modes()
212 allow_fp16 &= dri_loader_get_cap(screen, DRI_LOADER_CAP_FP16); in dri_fill_in_modes()
279 if (!allow_fp16 && in dri_fill_in_modes()
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin.h77 options_.allow_fp16 = nnapi_settings->allow_fp16_precision_for_fp32(); in NnapiPlugin()
/external/tensorflow/tensorflow/lite/tools/delegates/
Dnnapi_delegate_provider.cc112 options.allow_fp16 = true; in CreateTfLiteDelegate()
/external/tensorflow/
DRELEASE.md656 …er controlling this via delegate options, e.g. `tflite::StatefulNnApiDelegate::Options::allow_fp16'