summaryrefslogtreecommitdiff
path: root/nn/common/include/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'nn/common/include/Utils.h')
-rw-r--r--nn/common/include/Utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nn/common/include/Utils.h b/nn/common/include/Utils.h
index 75604da2b..045aa8ea4 100644
--- a/nn/common/include/Utils.h
+++ b/nn/common/include/Utils.h
@@ -395,6 +395,9 @@ struct SubgraphValidationHelper {
std::function<const hal::Operand*(const hal::Operand&, uint32_t)> getSubgraphInputOperand;
// Gets the specified output operand of a subgraph referenced by a given operand.
std::function<const hal::Operand*(const hal::Operand&, uint32_t)> getSubgraphOutputOperand;
+ // Whether control flow operations with inner or outer input or output
+ // operands of unknown size are allowed.
+ bool allowControlFlowOperationWithOperandOfUnknownSize;
};
// Returns ANEURALNETWORKS_NO_ERROR if the corresponding operation is defined and can handle the