Home
last modified time | relevance | path

Searched refs:HasAttr (Results 1 – 25 of 50) 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()
Dmucroomuniquehangoutidtask.cc41 !unique_elem->HasAttr(QN_HANGOUT_ID)) { in HandleResult()
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()
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()
/external/tensorflow/tensorflow/core/kernels/data/
Ddataset_ops.cc48 if (ctx->HasAttr(kExternalStatePolicy)) { in DatasetToGraphOp()
56 if (ctx->HasAttr(kAllowStateful)) { in DatasetToGraphOp()
69 if (ctx->HasAttr(kStripDeviceAssignment)) { in DatasetToGraphOp()
Dprefetch_dataset_op.cc514 if (ctx->HasAttr(kSlackPeriod)) { in PrefetchDatasetOp()
517 if (ctx->HasAttr(kLegacyAutotune)) { in PrefetchDatasetOp()
Dmodel_dataset_op.cc39 if (ctx->HasAttr("algorithm")) { in ModelDatasetOp()
Dbatch_dataset_op.cc296 if (ctx->HasAttr(kParallelCopy)) { in BatchDatasetOp()
/external/tensorflow/tensorflow/core/framework/
Ddataset.cc220 bool has_output_types_attr = HasAttr(type_string, "output_types"); in AddDataset()
221 bool has_output_shapes_attr = HasAttr(type_string, "output_shapes"); in AddDataset()
327 bool GraphDefBuilderWrapper::HasAttr(const string& name, in HasAttr() function in tensorflow::data::GraphDefBuilderWrapper
334 return HasAttr(op_def, attr_name); in HasAttr()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dmatrix_diag_ops.cc234 if (context->HasAttr("align")) { in MatrixDiagOp()
349 if (context->HasAttr("align")) { in MatrixDiagPartOp()
458 if (context->HasAttr("align")) { in MatrixSetDiagOp()
Dgather_op.cc238 if (context->HasAttr("batch_dims")) { in GatherOp()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dauto_shard_dataset_op.cc36 if (ctx->HasAttr("auto_shard_policy")) { in AutoShardDatasetOp()
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc1115 if (context->HasAttr("num_proj")) { in CudnnRNNParamsSizeOp()
1163 if (context->HasAttr("num_params")) { in CudnnRNNParamsToCanonical()
1168 if (context->HasAttr("num_params_weights")) { in CudnnRNNParamsToCanonical()
1174 if (context->HasAttr("num_params_biases")) { in CudnnRNNParamsToCanonical()
1180 if (context->HasAttr("num_proj")) { in CudnnRNNParamsToCanonical()
1365 if (context->HasAttr("num_proj")) { in CudnnRNNCanonicalToParams()
1799 if (context->HasAttr("num_proj")) { in CudnnRNNForwardOpV3()
2079 if (context->HasAttr("num_proj")) { in CudnnRNNBackwardOpV3()
Dmatrix_diag_op.cc51 if (context->HasAttr("align")) { in MatrixDiagPartOp()
155 if (context->HasAttr("align")) { in MatrixDiagOp()
Dgather_op.cc47 if (c->HasAttr("batch_dims")) { in GatherOp()
Dmatrix_set_diag_op.cc48 if (context->HasAttr("align")) { in MatrixSetDiagOp()

12