/external/tensorflow/tensorflow/lite/ |
D | util.cc | 44 bool IsFlexOp(const char* custom_name) { in IsFlexOp() argument 45 return custom_name && strncmp(custom_name, kFlexCustomCodePrefix, in IsFlexOp() 169 registration.custom_name) { in GetOpNameByRegistration() 170 result += " " + std::string(registration.custom_name); in GetOpNameByRegistration()
|
D | mutable_op_resolver_test.cc | 154 reg->custom_name = "UPDATED"; in TEST() 155 resolver.AddCustom(reg->custom_name, reg); in TEST() 157 resolver.FindOp(reg->custom_name, 1); in TEST() 163 EXPECT_EQ(found_registration->custom_name, "UPDATED"); in TEST() 170 reg->custom_name = "UPDATED"; in TEST() 182 EXPECT_EQ(resolver1.FindOp(BuiltinOperator_ADD, 1)->custom_name, nullptr); in TEST()
|
D | mutable_op_resolver.cc | 43 new_registration.custom_name = nullptr; in AddBuiltin() 63 new_registration.custom_name = name; in AddCustom()
|
D | optional_debug_tools.cc | 131 if (reg.custom_name != nullptr) { in PrintInterpreterState() 133 reg.custom_name); in PrintInterpreterState()
|
D | util_test.cc | 114 registration.custom_name = "TestOp"; in TEST() 119 registration.custom_name = "TestDelegate"; in TEST()
|
D | util.h | 49 bool IsFlexOp(const char* custom_name);
|
/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/delegates/coreml/builders/ |
D | test_util.mm | 48 XCTAssertTrue(node_and_reg->second.custom_name != nullptr); 50 node_and_reg->second.custom_name == 62 if (node_and_reg->second.custom_name != nullptr) { 64 node_and_reg->second.custom_name !=
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib.cc | 40 const char* custom_name = it.custom.empty() ? nullptr : it.custom.c_str(); in CreateOpCodeTableImpl() local 42 *fbb, static_cast<BuiltinOperator>(it.builtin), custom_name)); in CreateOpCodeTableImpl() 98 if (!registration->custom_name) { in ExportOperators() 103 GetOpCodeForCustom(registration->custom_name); in ExportOperators() 120 if (!registration.custom_name) { in ExportOperators() 128 auto custom_writer = custom_op_to_writer_.find(registration.custom_name); in ExportOperators() 319 const std::string& custom_name, CustomWriter custom_writer) { in RegisterCustomWriter() argument 320 if (custom_op_to_writer_.find(custom_name) != custom_op_to_writer_.end()) { in RegisterCustomWriter() 323 custom_op_to_writer_.insert(std::make_pair(custom_name, custom_writer)); in RegisterCustomWriter()
|
D | writer_lib.h | 105 TfLiteStatus RegisterCustomWriter(const std::string& custom_name, 174 int GetOpCodeForCustom(const std::string& custom_name) { in GetOpCodeForCustom() argument 177 std::make_pair(custom_name, opcodes_->size())); in GetOpCodeForCustom() 179 opcodes_->push_back({BuiltinOperator_CUSTOM, custom_name}); in GetOpCodeForCustom()
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/ |
D | hexagon_delegate_op_model.h | 70 ASSERT_TRUE(node_and_reg->second.custom_name != nullptr); in ApplyDelegateAndInvoke() 71 ASSERT_STREQ(kDelegateName, node_and_reg->second.custom_name); in ApplyDelegateAndInvoke()
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_configdialog.py | 330 eq(d.custom_name.get(), '- no custom themes -') 341 eq(d.custom_name.get(), 'test1') 352 eq(d.custom_name.get(), 'test2') 575 eq(d.custom_name.get(), gntn.result) 590 d.custom_name.set('Python') 645 eq(d.custom_name.get(), first_new) 754 d.custom_name.set(theme_name) 773 eq(d.custom_name.get(), theme_name2) 779 d.custom_name.set(theme_name2) 786 eq(d.custom_name.get(), '- no custom themes -') [all …]
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 73 registration.custom_name in ReportOpError() 74 ? registration.custom_name in ReportOpError() 148 const char* const custom_name = op_reg.custom_name; in GetTFLiteOpName() local 149 return custom_name ? custom_name : kUnknownCustomOpName; in GetTFLiteOpName() 152 op_reg.custom_name) { in GetTFLiteOpName() 153 return op_reg.custom_name; in GetTFLiteOpName() 395 registration.custom_name ? registration.custom_name : "unknown", in ReplaceNodeSubsetsWithDelegateKernels() 884 if (IsFlexOp(op_reg.custom_name)) { in OpPrepare() 890 op_reg.custom_name ? op_reg.custom_name : "UnknownOp"); in OpPrepare()
|
/external/tensorflow/tensorflow/lite/delegates/ |
D | delegate_test.cc | 58 EXPECT_EQ(node_and_reg->second.custom_name, in TEST_F() 59 delegate_->FakeFusedRegistration().custom_name); in TEST_F() 267 ASSERT_EQ(node_and_reg->second.custom_name, in TEST_F() 268 delegate_->FakeFusedRegistration().custom_name); in TEST_F() 362 ASSERT_EQ(node_and_reg->second.custom_name, in TEST_F() 363 delegate2_->FakeFusedRegistration().custom_name); in TEST_F() 786 EXPECT_EQ(node_and_reg->second.custom_name, in TEST_F() 787 delegate_->FakeFusedRegistration().custom_name); in TEST_F() 803 EXPECT_NE(node_and_reg->second.custom_name, in TEST_F() 804 delegate_->FakeFusedRegistration().custom_name); in TEST_F()
|
D | delegate_test_util.cc | 46 reg.custom_name = "my_add"; in AddOpRegistration() 155 TFLITE_CHECK_EQ(strcmp(reg->custom_name, "my_add"), 0); in SimpleDelegate() 172 TFLITE_CHECK_EQ(strcmp(reg->custom_name, "my_add"), 0); in SimpleDelegate() 249 reg.custom_name = "fake_fused_op"; in FakeFusedRegistration() 466 reg.custom_name = "fake_fp16_add_op"; in FakeFusedRegistration()
|
/external/python/cpython3/Lib/idlelib/ |
D | configdialog.py | 834 self.custom_name = tracers.add( 923 frame_theme, self.custom_name, None, command=None) 985 self.custom_name.set('- no custom themes -') 1028 value = self.custom_name.get() 1127 theme = self.custom_name.get() 1174 theme_name = self.custom_name.get() 1267 theme = self.custom_name.get() 1321 theme_name = self.custom_name.get() 1439 self.custom_name = tracers.add( 1481 frames[0], self.custom_name, None, command=None) [all …]
|
/external/tensorflow/tensorflow/lite/java/src/test/native/ |
D | interpreter_test_jni.cc | 55 .custom_name = "", in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate()
|
/external/perfetto/protos/perfetto/metrics/android/ |
D | process_metadata.proto | 21 // Process name. Usually, cmdline or <package_name>(:<custom_name>)?.
|
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/ |
D | fully_connected.cc | 280 fully_connected_registration.custom_name = nullptr; in Register_FULLY_CONNECTED() 292 fully_connected_registration.custom_name = nullptr; in Register_FULLY_CONNECTED_INT8()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | interpreter_wrapper.cc | 526 const char* custom_name = node_registration->custom_name; in NodeName() local 527 op_name = custom_name ? custom_name : "UnknownCustomOp"; in NodeName()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | delegate.cc | 89 return IsFlexOp(registration->custom_name); in IsNodeSupportedByDelegate()
|
/external/tensorflow/tensorflow/lite/delegates/utils/ |
D | simple_delegate.cc | 35 kernel_registration.custom_name = delegate->Name(); in GetDelegateKernelRegistration()
|
D | simple_delegate_test.cc | 72 EXPECT_STREQ("DummyDelegate", node_and_reg->second.custom_name); in TEST_F()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_mutable_op_resolver.h | 60 (strcmp(registration.custom_name, op) == 0)) { in FindOp() 108 new_registration->custom_name = name; in AddCustom()
|
/external/libcups/cups/ |
D | ppd.c | 445 char custom_name[PPD_MAX_NAME]; in _ppdOpen() local 1365 strlcpy(custom_name, "CustomPageSize", sizeof(custom_name)); in _ppdOpen() 1367 snprintf(custom_name, sizeof(custom_name), "Custom%s", name); in _ppdOpen() 1369 if ((custom_attr = ppdFindAttr(ppd, custom_name, "True")) != NULL) in _ppdOpen() 1471 snprintf(custom_name, sizeof(custom_name), "Custom%s", name); in _ppdOpen() 1473 if ((custom_attr = ppdFindAttr(ppd, custom_name, "True")) != NULL) in _ppdOpen()
|