/external/tensorflow/tensorflow/core/kernels/ |
D | example_parsing_ops.cc | 52 OP_REQUIRES_OK(ctx, attrs_.Init(ctx, op_version_)); in ParseExampleOp() 151 if (dense_keys_t.size() != attrs_.num_dense) { in CheckInputShapes() 154 dense_keys_t.size(), " vs. ", attrs_.num_dense); in CheckInputShapes() 156 if (sparse_keys_t.size() != attrs_.num_sparse) { in CheckInputShapes() 159 sparse_keys_t.size(), " vs. ", attrs_.num_sparse); in CheckInputShapes() 161 if (ragged_keys_t.size() != attrs_.num_ragged) { in CheckInputShapes() 164 ragged_keys_t.size(), " vs. ", attrs_.num_ragged); in CheckInputShapes() 168 if (dense_defaults.size() != attrs_.num_dense) { in CheckInputShapes() 171 dense_defaults.size(), " vs. ", attrs_.num_dense); in CheckInputShapes() 174 for (int d = 0; d < static_cast<int>(attrs_.num_dense); ++d) { in CheckInputShapes() [all …]
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlelement.cpp | 29 node->attrs_ = attrs_; in Clone() 89 for (auto it : attrs_) { in Save() 131 return attrs_.find(name) != attrs_.end(); in HasAttribute() 135 auto it = attrs_.find(name); in GetAttribute() 136 return it != attrs_.end() ? it->second : WideString(); in GetAttribute() 141 attrs_[name] = value; in SetAttribute() 145 attrs_.erase(name); in RemoveAttribute()
|
D | cfx_xmlelement.h | 30 return attrs_; in GetAttributes() 51 std::map<WideString, WideString> attrs_; variable
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | conv_ops.cc | 51 attrs_ = attrs.ValueOrDie(); in ConvOp() 56 ctx->op_kernel().type_string(), ctx->Input(0), ctx->Input(1), attrs_); in Compile() 62 ConvOpAttrs attrs_; member in tensorflow::__anonaf74c5080111::ConvOp 102 attrs_ = attrs.ValueOrDie(); in ConvBackpropInputOp() 113 ctx->Input(1), ctx->Input(2), attrs_); in Compile() 119 ConvOpAttrs attrs_; member in tensorflow::__anonaf74c5080111::ConvBackpropInputOp 163 attrs_ = attrs.ValueOrDie(); in ConvBackpropFilterOp() 174 ctx->Input(2), attrs_); in Compile() 180 ConvOpAttrs attrs_; member in tensorflow::__anonaf74c5080111::ConvBackpropFilterOp
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | eager_operation.h | 58 tensorflow::AttrBuilder* MutableAttrs() { return &attrs_; } in MutableAttrs() 59 const tensorflow::AttrBuilder& Attrs() const { return attrs_; } in Attrs() 75 const tensorflow::string& Name() const { return attrs_.op_name(); } in Name() 136 tensorflow::AttrBuilder attrs_; variable 160 attrs_.NumInputs(static_cast<int>(inputs_.size())); in AddInput() 175 attrs_.NumInputs(static_cast<int>(inputs_.size())); in ConsumeInput()
|
D | eager_operation.cc | 43 attrs_.Reset(op); in Reset()
|
/external/webrtc/webrtc/p2p/base/ |
D | stun.cc | 50 attrs_ = new std::vector<StunAttribute*>(); in StunMessage() 54 for (size_t i = 0; i < attrs_->size(); i++) in ~StunMessage() 55 delete (*attrs_)[i]; in ~StunMessage() 56 delete attrs_; in ~StunMessage() 79 attrs_->push_back(attr); in AddAttribute() 330 attrs_->resize(0); in Read() 351 attrs_->push_back(attr); in Read() 366 for (size_t i = 0; i < attrs_->size(); ++i) { in Write() 367 buf->WriteUInt16((*attrs_)[i]->type()); in Write() 368 buf->WriteUInt16(static_cast<uint16_t>((*attrs_)[i]->length())); in Write() [all …]
|
D | stun.h | 204 std::vector<StunAttribute*>* attrs_; variable
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_util.h | 104 const AttrValueMap& attrs() const { return attrs_; } in attrs() 111 attrs_(attrs), in AssociatedFunctionInfo() 117 AttrValueMap attrs_; variable
|
/external/tensorflow/tensorflow/core/graph/ |
D | graph_def_builder.h | 131 attrs_.emplace_back(string(name), AttrValue()); in WithAttrImpl() 132 SetAttrValue(std::forward<T>(value), &attrs_.back().second); in WithAttrImpl() 141 std::vector<std::pair<string, AttrValue>> attrs_; variable
|
D | graph_def_builder.cc | 82 for (const auto& attr : attrs_) { in FinalizeBuilder()
|
/external/tensorflow/tensorflow/core/grappler/utils/ |
D | graph_view_internal.h | 133 attrs_(AttrSlice(graph_view->graph()->node(node_index))) {} in NodeViewInternal() 136 : graph_view_(nullptr), node_index_(kMissingIndex), attrs_(AttrSlice()) {} in NodeViewInternal() 226 return attrs_.Find(attr_name); in GetAttr() 230 const AttrSlice& GetAttrs() const { return attrs_; } in GetAttrs() 233 int NumAttrs() const { return attrs_.size(); } in NumAttrs() 237 return attrs_.Find(attr_name) != nullptr; in HasAttr() 252 AttrSlice attrs_; variable
|
/external/tensorflow/tensorflow/core/framework/ |
D | node_def_util.cc | 50 attrs_ = kEmptyAttrValueMap; in AttrSlice() 54 : ndef_(&node_def), attrs_(&ndef_->attr()) {} in AttrSlice() 56 AttrSlice::AttrSlice(const AttrValueMap* a) : ndef_(nullptr), attrs_(a) {} in AttrSlice() 93 attr_key_vals.reserve(attrs_->size()); in DebugString() 153 for (const auto& attr : *attrs_) { in Find() 180 for (const auto& attr : *other.attrs_) { in EqualAttrs() 181 auto iter = attrs_->find(attr.first); in EqualAttrs() 182 if (iter == attrs_->end()) return false; in EqualAttrs()
|
D | node_def_util.h | 140 int size() const { return attrs_->size(); } in size() 174 AttrValueMap::const_iterator begin() const { return attrs_->begin(); } in begin() 175 AttrValueMap::const_iterator end() const { return attrs_->end(); } in end() 181 const AttrValueMap* attrs_; variable
|
D | op_def_builder.h | 165 std::vector<string> attrs_; variable
|
D | shape_inference.cc | 41 : graph_def_version_(graph_def_version), attrs_(attrs) { in InferenceContext() 92 : graph_def_version_(graph_def_version), attrs_(attrs) { in InferenceContext() 112 DCHECK(output(i).IsSet()) << i << " for " << attrs_.SummarizeNode(); in Run() 172 NameRangesForNode(attrs_, op_def, &input_name_map_, &output_name_map_); in PreInputInit() 289 return strings::StrCat("InferenceContext for node: ", attrs_.SummarizeNode()); in DebugString() 1118 " for '", attrs_.SummarizeNode(), in AttachContext()
|
D | shape_inference.h | 304 const AttrSlice& attrs() const { return attrs_; } in attrs() 733 AttrSlice attrs_; variable 780 return GetNodeAttr(attrs_, attr_name, value); in GetAttr()
|
D | op_def_builder.cc | 563 attrs_.push_back(std::move(spec)); in Attr() 641 for (StringPiece attr : attrs_) { in Finalize()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen.cc | 296 attrs_.reserve(params_no_default_.size() - op_def_.input_arg_size() + in Code() 299 attrs_.push_back(params_no_default_[i].GetName()); in Code() 302 attrs_.push_back(p.first.GetName()); in Code() 334 for (int i = 0; i < attrs_.size(); ++i) { in Code() 335 const string& attr_name = attrs_[i]; in Code() 525 for (int i = 0; i < attrs_.size(); ++i) { in GetEagerFunctionSetup() 526 const string& attr_name = attrs_[i]; in GetEagerFunctionSetup() 532 const int default_index = i - (attrs_.size() - params_with_default_.size()); in GetEagerFunctionSetup()
|
D | python_op_gen_internal.h | 111 std::vector<string> attrs_; variable
|
D | python_op_gen_internal.cc | 562 attrs_.reserve(params_no_default.size() - op_def_.input_arg_size() + in Code() 565 attrs_.push_back(params_no_default[i].GetName()); in Code() 568 attrs_.push_back(params_with_default[i].GetName()); in Code() 705 for (const string& name : attrs_) { in AddDocStringAttrs()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 479 attrs_.reset(PyObject_GetAttrString(cls_.get(), "__attrs_attrs__")); in AttrsValueIterator() 480 if (attrs_) { in AttrsValueIterator() 481 iter_.reset(PyObject_GetIter(attrs_.get())); in AttrsValueIterator() 501 Safe_PyObjectPtr attrs_; member in tensorflow::swig::__anon628453900111::AttrsValueIterator
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_nodes.cc | 135 attrs_.insert({attr.first, &attr.second}); in TFAttrs() 139 bool count(const string& key) const { return attrs_.count(key); } in count() 142 if (!attrs_.count(key)) { in at() 145 return attrs_.at(key); in at() 153 return attrs_.count(key) ? this->get<T>(key) : default_value; in get() 157 std::map<string, AttrValue const*> attrs_; member in tensorflow::tensorrt::convert::TFAttrs
|