Note for developers implementing this interface: Currently TF Lite in Google Play Services
does not support external (developer-provided) delegates. Correspondingly, implementations of
this method can expect to be called with RuntimeFlavor.APPLICATION.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-10 UTC."],[],[],null,["# DelegateFactory\n\npublic interface **DelegateFactory** \n\n|---|---|---|\n| Known Indirect Subclasses [GpuDelegateFactory](/edge/api/tflite/java/org/tensorflow/lite/gpu/GpuDelegateFactory) |----------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [GpuDelegateFactory](/edge/api/tflite/java/org/tensorflow/lite/gpu/GpuDelegateFactory) | [DelegateFactory](/edge/api/tflite/java/org/tensorflow/lite/DelegateFactory) for creating a [GpuDelegate](/edge/api/tflite/java/org/tensorflow/lite/gpu/GpuDelegate). | |||\n\nAllows creating delegates for different runtime flavors. \n\n### Public Methods\n\n|-------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract [Delegate](/edge/api/tflite/java/org/tensorflow/lite/Delegate) | [create](/edge/api/tflite/java/org/tensorflow/lite/DelegateFactory#create(org.tensorflow.lite.RuntimeFlavor))([RuntimeFlavor](/edge/api/tflite/java/org/tensorflow/lite/RuntimeFlavor) runtimeFlavor) Create a [Delegate](/edge/api/tflite/java/org/tensorflow/lite/Delegate) for the given [RuntimeFlavor](/edge/api/tflite/java/org/tensorflow/lite/RuntimeFlavor). |\n\nPublic Methods\n--------------\n\n#### public abstract [Delegate](/edge/api/tflite/java/org/tensorflow/lite/Delegate)\n**create**\n([RuntimeFlavor](/edge/api/tflite/java/org/tensorflow/lite/RuntimeFlavor) runtimeFlavor)\n\nCreate a [Delegate](/edge/api/tflite/java/org/tensorflow/lite/Delegate) for the given [RuntimeFlavor](/edge/api/tflite/java/org/tensorflow/lite/RuntimeFlavor).\n\nNote for developers implementing this interface: Currently TF Lite in Google Play Services\ndoes not support external (developer-provided) delegates. Correspondingly, implementations of\nthis method can expect to be called with [RuntimeFlavor.APPLICATION](/edge/api/tflite/java/org/tensorflow/lite/RuntimeFlavor#APPLICATION).\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| runtimeFlavor | |\n|---------------|---|"]]