projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2985919
)
Clarify ownership story of TfLiteIntArray* nodes_to_replace
author
Andrew Selle
<aselle@google.com>
Fri, 23 Feb 2018 00:49:48 +0000
(16:49 -0800)
committer
TensorFlower Gardener
<gardener@tensorflow.org>
Fri, 23 Feb 2018 00:59:52 +0000
(16:59 -0800)
PiperOrigin-RevId:
186696787
tensorflow/contrib/lite/context.h
patch
|
blob
|
history
diff --git
a/tensorflow/contrib/lite/context.h
b/tensorflow/contrib/lite/context.h
index
c604cbc
..
ed7f451
100644
(file)
--- 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);