From 1ae8533e1df634e6d1201c6aeb9646379cc53a65 Mon Sep 17 00:00:00 2001 From: Andrew Selle Date: Thu, 22 Feb 2018 16:49:48 -0800 Subject: [PATCH] Clarify ownership story of TfLiteIntArray* nodes_to_replace PiperOrigin-RevId: 186696787 --- tensorflow/contrib/lite/context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tensorflow/contrib/lite/context.h b/tensorflow/contrib/lite/context.h index c604cbc..ed7f451 100644 --- a/tensorflow/contrib/lite/context.h +++ b/tensorflow/contrib/lite/context.h @@ -283,7 +283,8 @@ typedef struct TfLiteContext { TfLiteNode** node, TfLiteRegistration** registration); - // Replace ops with delegate. + // Replace ops with one or more stub delegate operations. This function + // does not take ownership of `nodes_to_replace`. TfLiteStatus (*ReplaceSubgraphsWithDelegateKernels)( struct TfLiteContext*, TfLiteRegistration registration, const TfLiteIntArray* nodes_to_replace); -- 2.7.4