/external/tensorflow/tensorflow/lite/experimental/writer/ |
D | writer_lib.cc | 59 if (!registration->custom_name) { in ExportOperators() 64 GetOpCodeForCustom(registration->custom_name); in ExportOperators() 81 if (!registration.custom_name) { in ExportOperators() 89 auto custom_writer = custom_op_to_writer_.find(registration.custom_name); in ExportOperators() 209 const char* custom_name = it.custom.empty() ? nullptr : it.custom.c_str(); in CreateOpCodeTable() local 211 *fbb, static_cast<BuiltinOperator>(it.builtin), custom_name)); in CreateOpCodeTable() 284 const std::string& custom_name, CustomWriter custom_writer) { in RegisterCustomWriter() argument 285 if (custom_op_to_writer_.find(custom_name) != custom_op_to_writer_.end()) { in RegisterCustomWriter() 288 custom_op_to_writer_.insert(std::make_pair(custom_name, custom_writer)); in RegisterCustomWriter()
|
D | writer_lib.h | 63 TfLiteStatus RegisterCustomWriter(const std::string& custom_name, 99 int GetOpCodeForCustom(const std::string& custom_name) { in GetOpCodeForCustom() argument 102 std::make_pair(custom_name, opcodes_.size())); in GetOpCodeForCustom() 104 opcodes_.push_back({BuiltinOperator_CUSTOM, custom_name}); in GetOpCodeForCustom()
|
/external/toybox/toys/pending/ |
D | mdev.c | 41 char *device_name = 0, *custom_name = 0, *s, *temp; in make_device() local 192 custom_name = strdup(&name[1]); in make_device() 225 if(custom_name) { in make_device() 226 sprintf(toybuf, "/dev/%s", custom_name); in make_device() 227 if(custom_name[strlen(custom_name) - 1] == '/') { in make_device()
|
/external/tensorflow/tensorflow/lite/ |
D | util.cc | 21 bool IsFlexOp(const char* custom_name) { in IsFlexOp() argument 22 return custom_name && strncmp(custom_name, kFlexCustomCodePrefix, in IsFlexOp()
|
D | mutable_op_resolver.cc | 37 new_registration.custom_name = nullptr; in AddBuiltin() 51 new_registration.custom_name = name; in AddCustom()
|
D | optional_debug_tools.cc | 104 if (reg.custom_name != nullptr) { in PrintInterpreterState() 106 reg.custom_name); in PrintInterpreterState()
|
D | util.h | 37 bool IsFlexOp(const char* custom_name);
|
D | interpreter_test.cc | 1042 reg.custom_name = "my_add"; in AddOpRegistration() 1131 TFLITE_CHECK_EQ(strcmp(reg->custom_name, "my_add"), 0); in SimpleDelegate() 1146 TFLITE_CHECK_EQ(strcmp(reg->custom_name, "my_add"), 0); in SimpleDelegate() 1178 reg.custom_name = "fake_fused_op"; in FakeFusedRegistration() 1199 EXPECT_EQ(node_and_reg->second.custom_name, in TEST_F() 1200 SimpleDelegate::FakeFusedRegistration().custom_name); in TEST_F() 1244 ASSERT_EQ(node_and_reg->second.custom_name, in TEST_F() 1245 SimpleDelegate::FakeFusedRegistration().custom_name); in TEST_F()
|
D | model.cc | 450 IsFlexOp(registration->custom_name)) { in ApplyDelegates()
|
/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_summarizer.cc | 74 const char* custom_name = node_reg->second.custom_name; in GetOperatorDetails() local 75 op_name = custom_name ? custom_name : "UnknownCustomOp"; in GetOperatorDetails()
|
/external/tensorflow/tensorflow/lite/experimental/micro/ |
D | micro_mutable_op_resolver.cc | 37 (strcmp(registration.custom_name, op) == 0) && in FindOp() 75 new_registration->custom_name = name; in AddCustom()
|
D | micro_interpreter.cc | 44 return registration->custom_name; in OpNameFromRegistration()
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_configdialog.py | 276 eq(d.custom_name.get(), '- no custom themes -') 287 eq(d.custom_name.get(), 'test1') 298 eq(d.custom_name.get(), 'test2') 479 eq(d.custom_name.get(), gntn.result) 494 d.custom_name.set('Python') 549 eq(d.custom_name.get(), first_new) 658 d.custom_name.set(theme_name) 677 eq(d.custom_name.get(), '- no custom themes -') 726 eq(d.custom_name.get(), '- no custom keys -') 737 eq(d.custom_name.get(), 'test1') [all …]
|
/external/python/cpython3/Lib/idlelib/ |
D | configdialog.py | 823 self.custom_name = tracers.add( 905 frame_theme, self.custom_name, None, command=None) 967 self.custom_name.set('- no custom themes -') 1010 value = self.custom_name.get() 1109 theme = self.custom_name.get() 1156 theme_name = self.custom_name.get() 1249 theme = self.custom_name.get() 1304 theme_name = self.custom_name.get() 1422 self.custom_name = tracers.add( 1464 frames[0], self.custom_name, None, command=None) [all …]
|
/external/tensorflow/tensorflow/lite/java/src/test/native/ |
D | interpreter_test_jni.cc | 49 .custom_name = "", in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate()
|
/external/libcups/cups/ |
D | ppd.c | 477 char custom_name[PPD_MAX_NAME]; in _ppdOpen() local 1422 strlcpy(custom_name, "CustomPageSize", sizeof(custom_name)); in _ppdOpen() 1424 snprintf(custom_name, sizeof(custom_name), "Custom%s", name); in _ppdOpen() 1426 if ((custom_attr = ppdFindAttr(ppd, custom_name, "True")) != NULL) in _ppdOpen() 1528 snprintf(custom_name, sizeof(custom_name), "Custom%s", name); in _ppdOpen() 1530 if ((custom_attr = ppdFindAttr(ppd, custom_name, "True")) != NULL) in _ppdOpen()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | delegate.cc | 60 if (IsFlexOp(registration->custom_name)) { in Prepare()
|
D | test_util.cc | 171 reg.custom_name = tflite_name; in AddTfOp()
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api_internal.h | 520 const char* custom_name; member
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 32 registration.custom_name in ReportOpError() 33 ? registration.custom_name in ReportOpError()
|
/external/tensorflow/tensorflow/lite/g3doc/performance/ |
D | delegates.md | 93 kernel_registration.custom_name = "MyDelegate";
|