Home
last modified time | relevance | path

Searched refs:opcodes_ (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib.h70 std::vector<OpCode> opcodes_; variable
94 opcodes_ = &opcodes_data_; in SubgraphWriter()
129 opcodes_ = external_opcodes; in SubgraphWriter()
167 std::make_pair(builtin_op_index, opcodes_->size())); in GetOpCodeForBuiltin()
169 opcodes_->push_back({builtin_op_index, ""}); in GetOpCodeForBuiltin()
177 std::make_pair(custom_name, opcodes_->size())); in GetOpCodeForCustom()
179 opcodes_->push_back({BuiltinOperator_CUSTOM, custom_name}); in GetOpCodeForCustom()
204 std::vector<OpCode>* opcodes_; variable
Dwriter_lib.cc255 return CreateOpCodeTableImpl(fbb, opcodes_); in CreateOpCodeTable()
403 return CreateOpCodeTableImpl(fbb, &opcodes_); in CreateOpCodeTable()
413 SubgraphWriter writer(interpreter_->subgraph(i), &buffers_, &opcodes_, in GetBuffer()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc138 opcodes_.push_back(CreateOperatorCode(builder_, type, 0, 0)); in SetBuiltinOp()
151 opcodes_.push_back( in SetCustomOp()
176 auto opcodes = builder_.CreateVector(opcodes_); in BuildInterpreter()
387 opcodes_.push_back(CreateOperatorCode(builder_, type, 0, 0)); in AddBuiltinOp()
388 const int opcode_index = opcodes_.size() - 1; in AddBuiltinOp()
401 opcodes_.push_back( in AddCustomOp()
403 const int opcode_index = opcodes_.size() - 1; in AddCustomOp()
Dtest_util.h625 std::vector<flatbuffers::Offset<OperatorCode>> opcodes_; variable
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_export.cc618 std::vector<BufferOffset<tflite::OperatorCode>> opcodes_; member in __anon4d1313dc0111::Translator
1075 it.first->second = opcodes_.size(); in GetOpcodeIndex()
1082 opcodes_.push_back(CreateOperatorCode(builder_, /*builtin_code=*/builtin, in GetOpcodeIndex()
1835 builder_.CreateVector(opcodes_), in TranslateInternal()