Home
last modified time | relevance | path

Searched refs:builtinCode (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NeuralNetworks/runtime/operation_converters/
DSubGraphContext.cpp87 tflite::BuiltinOperator builtinCode = getFlatbufferOperator(operationType); in addOpCode() local
88 if (builtinCode < tflite::BuiltinOperator::BuiltinOperator_PLACEHOLDER_FOR_GREATER_OP_CODES) in addOpCode()
90 *mBuilder, static_cast<int8_t>(builtinCode) /* deprecated_builtin_code */, in addOpCode()
91 0 /* custom_code */, getMaxOperatorVersionCode(builtinCode) /* version */); in addOpCode()
95 getMaxOperatorVersionCode(builtinCode) /* version */, in addOpCode()
96 builtinCode /* builtin_code */); in addOpCode()
/packages/modules/NeuralNetworks/runtime/
DFlatbufferModelBuilderUtils.h87 inline int32_t getMaxOperatorVersionCode(tflite::BuiltinOperator builtinCode) { in getMaxOperatorVersionCode() argument
89 switch (builtinCode) { in getMaxOperatorVersionCode()
101 LOG(FATAL) << "BuiltinOperator not supported: " << builtinCode; in getMaxOperatorVersionCode()