Home
last modified time | relevance | path

Searched refs:custom_code (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/tflite/
Dexport.h98 OperatorKey(::tflite::BuiltinOperator type, const std::string& custom_code, in OperatorKey() argument
100 : type_(type), custom_code_(custom_code), version_(version) {} in OperatorKey()
105 const std::string& custom_code() const { return custom_code_; } in custom_code() function
143 std::hash<std::string>()(key.custom_code()), in operator()
Dexport_test.cc166 names.push_back(string("custom:") + opcode->custom_code()->c_str()); in ExportAndSummarizeOperators()
514 EXPECT_EQ(key.custom_code(), ""); in TEST()
536 EXPECT_EQ(key.custom_code(), ""); in TEST()
550 EXPECT_EQ(key.custom_code(), "MyCrazyCustomOp"); in TEST()
565 EXPECT_EQ(key.custom_code(), "BatchMatMul"); in TEST()
577 EXPECT_EQ(key.custom_code(), "FlexBatchMatMul"); in TEST()
594 EXPECT_EQ(key.custom_code(), "FlexMerge"); in TEST()
612 EXPECT_EQ(key.custom_code(), "HashTableV2"); in TEST()
636 EXPECT_EQ(key.custom_code(), "Assert"); in TEST()
652 EXPECT_EQ(key.custom_code(), "FlexAssert"); in TEST()
Dexport.cc312 flatbuffers::Offset<flatbuffers::String> custom_code = 0; in ExportOperatorCodes() local
313 if (!operator_key.custom_code().empty()) { in ExportOperatorCodes()
314 custom_code = builder->CreateString(operator_key.custom_code()); in ExportOperatorCodes()
318 *builder, operator_key.type(), custom_code, operator_key.version()); in ExportOperatorCodes()
473 custom_ops.insert(key.custom_code()); in Export()
Dimport.cc49 operators_table->push_back(opcode->custom_code()->c_str()); in LoadOperatorsTable()
/external/tensorflow/tensorflow/lite/core/api/
Dop_resolver.cc43 } else if (!opcode->custom_code()) { in GetRegistrationFromOpCode()
48 const char* name = opcode->custom_code()->c_str(); in GetRegistrationFromOpCode()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator.cc239 if (opcode.custom_code() != nullptr) { in GetOpName()
240 return opcode.custom_code()->str(); in GetOpName()
294 op_info.is_custom_op = operator_code->custom_code() != nullptr; in BuildLoggingInterpreter()
/external/tensorflow/tensorflow/lite/tools/
Dgen_op_registration.cc42 custom_ops->push_back(opcode->custom_code()->c_str()); in ReadOpsFromModel()
Dverifier.cc347 if (!resolver.FindOp(opcode->custom_code()->c_str(), opcode->version())) { in VerifyOps()
349 opcode->custom_code()->c_str(), opcode->version()); in VerifyOps()
/external/libcups/cups/
Dtestppd.c71 static const char *custom_code = variable
287 !strcmp(s, custom_code)) in main()
293 (int)strlen(custom_code)); in main()
/external/tensorflow/tensorflow/lite/schema/
Dschema_v0.fbs208 custom_code:string;
Dschema_v2.fbs249 custom_code:string;
Dschema_v1.fbs241 custom_code:string;
Dschema_v3.fbs259 custom_code:string;
Dschema.fbs763 custom_code:string;
Dschema_generated.h7575 std::string custom_code;
7593 const flatbuffers::String *custom_code() const {
7603 verifier.VerifyString(custom_code()) &&
7618 void add_custom_code(flatbuffers::Offset<flatbuffers::String> custom_code) {
7619 fbb_.AddOffset(OperatorCode::VT_CUSTOM_CODE, custom_code);
7639 flatbuffers::Offset<flatbuffers::String> custom_code = 0,
7643 builder_.add_custom_code(custom_code);
7651 const char *custom_code = nullptr,
7656 custom_code ? _fbb.CreateString(custom_code) : 0,
11169 { auto _e = custom_code(); if (_e) _o->custom_code = _e->str(); };
[all …]