Home
last modified time | relevance | path

Searched refs:HasAttr (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc70 bool HasAttr(const NodeDef& node, const string& attr_name) { in HasAttr() function
82 CHECK(HasAttr(node, attr_name)); in GetStringAttr()
89 CHECK(HasAttr(node, attr_name)) << attr_name << " not found in:\n" in GetIntAttr()
97 CHECK(HasAttr(node, attr_name)); in GetFloatAttr()
104 CHECK(HasAttr(node, attr_name)); in GetBoolAttr()
112 CHECK(HasAttr(node, attr_name)); in GetDataTypeAttr()
120 CHECK(HasAttr(node, attr_name)); in GetShapeAttr()
127 CHECK(HasAttr(node, attr_name)) << "No attr named '" << attr_name << "'"; in GetTensorAttr()
135 CHECK(HasAttr(node, attr_name)); in GetListAttr()
144 if (HasAttr(node, attr_name)) { in CheckOptionalAttr()
[all …]
/external/webrtc/webrtc/libjingle/xmllite/
Dxmlelement_unittest.cc95 EXPECT_TRUE(elt.HasAttr(QName("", "a"))); in TEST()
96 EXPECT_TRUE(elt.HasAttr(QName("", "b"))); in TEST()
97 EXPECT_TRUE(elt.HasAttr(QName("", "c"))); in TEST()
98 EXPECT_FALSE(elt.HasAttr(QName("", "d"))); in TEST()
103 EXPECT_TRUE(elt.HasAttr(QName("", "d"))); in TEST()
Dxmlelement.h140 bool HasAttr(const StaticQName& name) const;
141 bool HasAttr(const QName& name) const;
Dxmlelement.cc176 bool XmlElement::HasAttr(const StaticQName& name) const { in HasAttr() function in buzz::XmlElement
185 bool XmlElement::HasAttr(const QName& name) const { in HasAttr() function in buzz::XmlElement
361 ASSERT(!HasAttr(name)); in AddAttr()
/external/webrtc/webrtc/libjingle/xmpp/
Drostermoduleimpl.cc246 if (!element->HasAttr(QN_XML_LANG)) { in status()
548 xml->HasAttr(QN_SUBSCRIPTION) || in set_raw_xml()
549 xml->HasAttr(QN_ASK)) in set_raw_xml()
604 ASSERT(!element->HasAttr(QN_TO) && in BroadcastPresence()
605 !element->HasAttr(QN_FROM) && in BroadcastPresence()
627 element.HasAttr(QN_TO) || in SendDirectedPresence()
628 element.HasAttr(QN_FROM)) in SendDirectedPresence()
631 if (element.HasAttr(QN_TYPE)) { in SendDirectedPresence()
751 contact_xml->HasAttr(QN_SUBSCRIPTION) || in RequestRosterChange()
752 contact_xml->HasAttr(QN_ASK)) in RequestRosterChange()
Dchatroommoduleimpl.cc383 if (message.HasAttr(QN_FROM)) { in SendMessage()
516 if (presence.HasAttr(QN_TYPE) == false) { in ServerChangeMyPresence()
594 if (error != NULL && error->HasAttr(QN_CODE)) { in GetEnterFailureFromXml()
624 if (user_status != NULL && user_status->HasAttr(QN_CODE)) { in GetExitFailureFromXml()
Dxmppengineimpl_iq.cc52 if (!element->HasAttr(QN_ID)) in SendIq()
241 if (!element->HasAttr(QN_ID)) in HandleIqResponse()
Dmucroomuniquehangoutidtask.cc41 !unique_elem->HasAttr(QN_HANGOUT_ID)) { in HandleResult()
Ddiscoitemsquerytask.cc52 if (element->HasAttr(QN_JID)) { in ParseItem()
Dmucroomdiscoverytask.cc34 if (identity == NULL || !identity->HasAttr(QN_NAME)) { in HandleResult()
Dxmpptask.cc108 if (query->HasAttr(QN_FROM)) { in MakeIqResult()
Dpubsub_task.cc179 ASSERT(items->HasAttr(QN_NODE)); in HandlePubsubItems()
Dxmpplogintask.cc336 if (!element->HasAttr(QN_ID)) in HandleStartStream()
Dxmppengineimpl.cc350 ASSERT(!element->HasAttr(QN_FROM)); in InternalSendStanza()
/external/tensorflow/tensorflow/core/framework/
Ddataset.cc199 bool has_output_types_attr = HasAttr(type_string, "output_types"); in AddDataset()
200 bool has_output_shapes_attr = HasAttr(type_string, "output_shapes"); in AddDataset()
309 bool GraphDefBuilderWrapper::HasAttr(const string& name, in HasAttr() function in tensorflow::data::GraphDefBuilderWrapper
316 return HasAttr(op_def, attr_name); in HasAttr()
Ddataset.h239 bool HasAttr(const string& op_type_name, const string& attr_name) const;
241 bool HasAttr(const OpDef* op_def, const string& attr_name) const { in HasAttr() function
Dop_kernel.h345 bool HasAttr(StringPiece attr_name) const;
Dop_kernel.cc221 bool OpKernelConstruction::HasAttr(StringPiece attr_name) const { in HasAttr() function in tensorflow::OpKernelConstruction
/external/tensorflow/tensorflow/core/kernels/
Dunicode_ops.cc234 if (ctx->HasAttr("replace_control_characters")) { in GetErrorOptions()
Dconv_ops.cc285 if (context->HasAttr("explicit_paddings")) { in InitConv2DParameters()
Dlist_kernels.h308 if (c->HasAttr("element_shape")) { in TensorListConcat()
Dtensor_array_ops.cc168 if (context->HasAttr("identical_element_shapes")) { in TensorArrayOp()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dwhile_op.cc265 if (ctx->HasAttr(kPropagateCompileTimeConsts)) { in XlaWhileOp()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h221 if (ctx->HasAttr("layouts")) { in XRTAllocateFromTensorOp()
/external/clang/unittests/ASTMatchers/
DASTMatchersNarrowingTest.cpp284 TEST(DeclarationMatcher, HasAttr) { in TEST() argument

12