TfLiteGpu

Stay organized with collections Save and categorize content based on your preferences.
public class TfLiteGpu extends Object

Helper class for GPU Delegate support in TensorFlow Lite (TFLite) for Play Services.

The GPU delegate is not supported on all Android devices, due to differences in available OpenGL versions, driver features, and device resources. This class provides information on whether the GPU delegate is suitable for the current device.

Public Method Summary

static Task<Boolean>
isGpuDelegateAvailable(Context context)
Returns whether the GPU delegate is supported on this device.

Inherited Method Summary

Public Methods

public static Task<Boolean> isGpuDelegateAvailable (Context context)

Returns whether the GPU delegate is supported on this device.