Searched refs:custom_code (Results 1 – 15 of 15) sorted by relevance
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | export.h | 98 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()
|
D | export_test.cc | 166 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()
|
D | export.cc | 312 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()
|
D | import.cc | 49 operators_table->push_back(opcode->custom_code()->c_str()); in LoadOperatorsTable()
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | op_resolver.cc | 43 } 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/ |
D | calibrator.cc | 239 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/ |
D | gen_op_registration.cc | 42 custom_ops->push_back(opcode->custom_code()->c_str()); in ReadOpsFromModel()
|
D | verifier.cc | 347 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/ |
D | testppd.c | 71 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/ |
D | schema_v0.fbs | 208 custom_code:string;
|
D | schema_v2.fbs | 249 custom_code:string;
|
D | schema_v1.fbs | 241 custom_code:string;
|
D | schema_v3.fbs | 259 custom_code:string;
|
D | schema.fbs | 763 custom_code:string;
|
D | schema_generated.h | 7575 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 …]
|