/external/tensorflow/tensorflow/lite/toco/ |
D | import_tensorflow.cc | 70 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/ |
D | xmlelement_unittest.cc | 95 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()
|
D | xmlelement.h | 140 bool HasAttr(const StaticQName& name) const; 141 bool HasAttr(const QName& name) const;
|
D | xmlelement.cc | 176 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/ |
D | rostermoduleimpl.cc | 246 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()
|
D | mucroomuniquehangoutidtask.cc | 41 !unique_elem->HasAttr(QN_HANGOUT_ID)) { in HandleResult()
|
D | chatroommoduleimpl.cc | 383 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()
|
D | xmppengineimpl_iq.cc | 52 if (!element->HasAttr(QN_ID)) in SendIq() 241 if (!element->HasAttr(QN_ID)) in HandleIqResponse()
|
D | discoitemsquerytask.cc | 52 if (element->HasAttr(QN_JID)) { in ParseItem()
|
D | mucroomdiscoverytask.cc | 34 if (identity == NULL || !identity->HasAttr(QN_NAME)) { in HandleResult()
|
D | xmpptask.cc | 108 if (query->HasAttr(QN_FROM)) { in MakeIqResult()
|
D | pubsub_task.cc | 179 ASSERT(items->HasAttr(QN_NODE)); in HandlePubsubItems()
|
D | xmpplogintask.cc | 336 if (!element->HasAttr(QN_ID)) in HandleStartStream()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | dataset_ops.cc | 48 if (ctx->HasAttr(kExternalStatePolicy)) { in DatasetToGraphOp() 56 if (ctx->HasAttr(kAllowStateful)) { in DatasetToGraphOp() 69 if (ctx->HasAttr(kStripDeviceAssignment)) { in DatasetToGraphOp()
|
D | prefetch_dataset_op.cc | 514 if (ctx->HasAttr(kSlackPeriod)) { in PrefetchDatasetOp() 517 if (ctx->HasAttr(kLegacyAutotune)) { in PrefetchDatasetOp()
|
D | model_dataset_op.cc | 39 if (ctx->HasAttr("algorithm")) { in ModelDatasetOp()
|
D | batch_dataset_op.cc | 296 if (ctx->HasAttr(kParallelCopy)) { in BatchDatasetOp()
|
/external/tensorflow/tensorflow/core/framework/ |
D | dataset.cc | 220 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/ |
D | matrix_diag_ops.cc | 234 if (context->HasAttr("align")) { in MatrixDiagOp() 349 if (context->HasAttr("align")) { in MatrixDiagPartOp() 458 if (context->HasAttr("align")) { in MatrixSetDiagOp()
|
D | gather_op.cc | 238 if (context->HasAttr("batch_dims")) { in GatherOp()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | auto_shard_dataset_op.cc | 36 if (ctx->HasAttr("auto_shard_policy")) { in AutoShardDatasetOp()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | cudnn_rnn_ops.cc | 1115 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()
|
D | matrix_diag_op.cc | 51 if (context->HasAttr("align")) { in MatrixDiagPartOp() 155 if (context->HasAttr("align")) { in MatrixDiagOp()
|
D | gather_op.cc | 47 if (c->HasAttr("batch_dims")) { in GatherOp()
|
D | matrix_set_diag_op.cc | 48 if (context->HasAttr("align")) { in MatrixSetDiagOp()
|