Add TfLiteOpaqueDelegate typedef to shims/c/common.h.

PiperOrigin-RevId: 347023442
Change-Id: I2746d4eb42f6fc7eb7369262411452e26829975f
This commit is contained in:
Fergus Henderson 2020-12-11 10:14:58 -08:00 committed by TensorFlower Gardener
parent 75643bde9d
commit 01eab284ac

View File

@ -17,4 +17,10 @@ limitations under the License.
#include "tensorflow/lite/c/common.h"
// TfLiteOpaqueDelegate: allows delegation of nodes to alternative backends.
// TfLiteOpaqueDelegate is an abstract type that is intended to have the same
// role as TfLiteDelegate, but without necessarily exposing the implementation
// details of how delegates are implemented.
typedef TfLiteDelegate TfLiteOpaqueDelegate;
#endif // TENSORFLOW_LITE_CORE_SHIMS_C_COMMON_H_