File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -1352,7 +1352,15 @@ typedef enum TfLiteDelegateFlags {
13521352 // / operator information using `Profiler::EventType::OPERATOR_INVOKE_EVENT`
13531353 // / and the results will appear in the operator-wise Profiling section and not
13541354 // / in the Delegate internal section.
1355- kTfLiteDelegateFlagsPerOperatorProfiling = 4
1355+ kTfLiteDelegateFlagsPerOperatorProfiling = 4 ,
1356+
1357+ // This flag can be used by callers to hint that the delegate is likely to
1358+ // delegate the entire graph to a single delegate so certain allocations can
1359+ // be skipped.
1360+ // This is an ADVANCED feature and should only be used if the caller has
1361+ // prior knowledge that the delegate will fully delegate all subgraphs
1362+ // to a single delegate.
1363+ kTfLiteDelegateFlagsHintFullyDelegatedToSingleDelegate = 8 ,
13561364} TfLiteDelegateFlags;
13571365
13581366// / WARNING: This is an experimental interface that is subject to change.
You can’t perform that action at this time.
0 commit comments