Home
last modified time | relevance | path

Searched refs:custom_options (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/tflite/
Dcustom_operator.h58 const CustomOptions* custom_options) const override { in Deserialize() argument
60 if (custom_options) { in Deserialize()
62 flexbuffers::GetRoot(custom_options->data(), custom_options->size()) in Deserialize()
Dsimple_operator.h41 const CustomOptions* custom_options) const override { in Deserialize() argument
Dimport.cc126 input_op->custom_options()); in ImportOperators()
139 input_op->custom_options()); in ImportOperators()
Dbuiltin_operator.h60 const CustomOptions* custom_options) const override { in Deserialize() argument
Doperator.h88 const CustomOptions* custom_options) const = 0;
Doperator.cc2006 const CustomOptions* custom_options) const override { in Deserialize()
2011 if (custom_options) { in Deserialize()
2013 flexbuffers::GetRoot(custom_options->data(), custom_options->size()) in Deserialize()
Doperator_test.cc76 output_options->custom_options()); in SerializeAndDeserialize()
/external/tensorflow/tensorflow/lite/experimental/micro/
Dmicro_interpreter.cc187 if (op_type != BuiltinOperator_CUSTOM && op->custom_options()) { in Invoke()
196 if (op->custom_options()) { in Invoke()
197 custom_data = reinterpret_cast<const char*>(op->custom_options()->data()); in Invoke()
198 custom_data_size = op->custom_options()->size(); in Invoke()
/external/tensorflow/tensorflow/lite/experimental/writer/
Dwriter_lib.cc79 Offset<Vector<uint8_t>> custom_options = 0; in ExportOperators() local
93 custom_writer->second(fbb, interpreter_, op_index, &custom_options, in ExportOperators()
97 custom_options = fbb->CreateVector( in ExportOperators()
112 custom_options, custom_options_format)); in ExportOperators()
/external/tensorflow/tensorflow/lite/
Dmodel.cc276 if (op_type != BuiltinOperator_CUSTOM && op->custom_options()) { in ParseNodes()
282 if (op->custom_options()) { in ParseNodes()
286 reinterpret_cast<const char*>(op->custom_options()->data()), in ParseNodes()
287 op->custom_options()->size(), nullptr, registration); in ParseNodes()
/external/tensorflow/tensorflow/lite/schema/
Dschema_v0.fbs214 // or custom_options.
224 custom_options:[ubyte];
Dschema_v2.fbs255 // or custom_options.
265 custom_options:[ubyte];
Dschema_v1.fbs247 // or custom_options.
257 custom_options:[ubyte];
Dschema_v3.fbs265 // or custom_options.
275 custom_options:[ubyte];
Dschema.fbs777 // or custom_options.
788 custom_options:[ubyte];
Dschema_generated.h7668 std::vector<uint8_t> custom_options;
7966 const flatbuffers::Vector<uint8_t> *custom_options() const {
7986 verifier.VerifyVector(custom_options()) &&
8363 void add_custom_options(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> custom_options) {
8364 fbb_.AddOffset(Operator::VT_CUSTOM_OPTIONS, custom_options);
8391 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> custom_options = 0,
8396 builder_.add_custom_options(custom_options);
8413 const std::vector<uint8_t> *custom_options = nullptr,
8423 custom_options ? _fbb.CreateVector<uint8_t>(*custom_options) : 0,
11205 … = custom_options(); if (_e) { _o->custom_options.resize(_e->size()); for (flatbuffers::uoffset_t …
[all …]