/external/tensorflow/tensorflow/core/kernels/ |
D | example_parsing_ops.cc | 40 OP_REQUIRES_OK(ctx, attrs_.Init(ctx)); in ParseExampleOp() 57 std::vector<string> dense_keys_t(attrs_.num_dense); in Compute() 58 std::vector<string> sparse_keys_t(attrs_.num_sparse); in Compute() 61 CHECK_EQ(dense_keys.size(), attrs_.num_dense); in Compute() 62 CHECK_EQ(sparse_keys.size(), attrs_.num_sparse); in Compute() 65 for (int di = 0; di < attrs_.num_dense; ++di) { in Compute() 68 for (int di = 0; di < attrs_.num_sparse; ++di) { in Compute() 88 OP_REQUIRES(ctx, dense_defaults.size() == attrs_.num_dense, in Compute() 91 dense_defaults.size(), " vs. ", attrs_.num_dense)); in Compute() 93 for (int d = 0; d < static_cast<int>(attrs_.num_dense); ++d) { in Compute() [all …]
|
/external/pdfium/core/fxcrt/xml/ |
D | cfx_xmlattributenode.cpp | 19 return attrs_.find(name) != attrs_.end(); in HasAttribute() 23 auto it = attrs_.find(name); in GetString() 24 return it != attrs_.end() ? it->second : WideString(); in GetString() 29 attrs_[name] = value; in SetString() 33 attrs_.erase(name); in RemoveAttribute()
|
D | cfx_xmlattributenode.h | 27 return attrs_; in GetAttributes() 30 attrs_ = attrs; in SetAttributes() 41 std::map<WideString, WideString> attrs_; variable
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | conv_ops.cc | 50 attrs_ = attrs.ValueOrDie(); in ConvOp() 55 ctx->op_kernel().type_string(), ctx->Input(0), ctx->Input(1), attrs_); in Compile() 61 ConvOpAttrs attrs_; member in tensorflow::__anon1313cb460111::ConvOp 97 attrs_ = attrs.ValueOrDie(); in ConvBackpropInputOp() 108 ctx->Input(1), ctx->Input(2), attrs_); in Compile() 114 ConvOpAttrs attrs_; member in tensorflow::__anon1313cb460111::ConvBackpropInputOp 155 attrs_ = attrs.ValueOrDie(); in ConvBackpropFilterOp() 166 ctx->Input(2), attrs_); in Compile() 172 ConvOpAttrs attrs_; member in tensorflow::__anon1313cb460111::ConvBackpropFilterOp
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | eager_operation.h | 29 attrs_(op), in EagerOperation() 44 tensorflow::AttrBuilder* MutableAttrs() { return &attrs_; } in MutableAttrs() 45 const tensorflow::AttrBuilder& Attrs() const { return attrs_; } in Attrs() 72 tensorflow::AttrBuilder attrs_; variable
|
D | eager_operation.cc | 31 attrs_.NumInputs(static_cast<int>(inputs_.size())); in AddInput() 36 attrs_.NumInputs(static_cast<int>(inputs_.size())); in ConsumeInput()
|
/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 | 103 const AttrValueMap& attrs() const { return attrs_; } in attrs() 110 attrs_(attrs), in AssociatedFunctionInfo() 116 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/framework/ |
D | node_def_util.h | 133 int size() const { return attrs_->size(); } in size() 167 AttrValueMap::const_iterator begin() const { return attrs_->begin(); } in begin() 168 AttrValueMap::const_iterator end() const { return attrs_->end(); } in end() 172 const AttrValueMap* attrs_; variable
|
D | node_def_util.cc | 45 attrs_ = kEmptyAttrValueMap; in AttrSlice() 49 : ndef_(&node_def), attrs_(&ndef_->attr()) {} in AttrSlice() 51 AttrSlice::AttrSlice(const AttrValueMap* a) : ndef_(nullptr), attrs_(a) {} in AttrSlice() 168 for (const auto& attr : *attrs_) { in Find() 195 for (const auto& attr : *other.attrs_) { in EqualAttrs() 196 auto iter = attrs_->find(attr.first); in EqualAttrs() 197 if (iter == attrs_->end()) return false; in EqualAttrs()
|
D | op_def_builder.h | 165 std::vector<string> attrs_; variable
|
D | op_def_builder.cc | 561 attrs_.push_back(std::move(spec)); in Attr() 640 for (StringPiece attr : attrs_) { in Finalize()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen.cc | 294 attrs_.reserve(params_no_default_.size() - op_def_.input_arg_size() + in Code() 297 attrs_.push_back(params_no_default_[i].GetName()); in Code() 300 attrs_.push_back(p.first.GetName()); in Code() 324 for (int i = 0; i < attrs_.size(); ++i) { in Code() 325 const string& attr_name = attrs_[i]; in Code() 475 for (int i = 0; i < attrs_.size(); ++i) { in GetEagerFunctionSetup() 476 const string& attr_name = attrs_[i]; in GetEagerFunctionSetup() 482 const int default_index = i - (attrs_.size() - params_with_default_.size()); in GetEagerFunctionSetup()
|
D | python_op_gen_internal.h | 109 std::vector<string> attrs_; variable
|
D | python_op_gen_internal.cc | 543 attrs_.reserve(params_no_default.size() - op_def_.input_arg_size() + in Code() 546 attrs_.push_back(params_no_default[i].GetName()); in Code() 549 attrs_.push_back(params_with_default[i].GetName()); in Code() 686 for (const string& name : attrs_) { in AddDocStringAttrs()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 472 attrs_.reset(PyObject_GetAttrString(cls_.get(), "__attrs_attrs__")); in AttrsValueIterator() 473 if (attrs_) { in AttrsValueIterator() 474 iter_.reset(PyObject_GetIter(attrs_.get())); in AttrsValueIterator() 494 Safe_PyObjectPtr attrs_; member in tensorflow::swig::__anonee0a9dce0111::AttrsValueIterator
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/ |
D | convert_nodes.cc | 123 attrs_.insert({attr.first, &attr.second}); in TFAttrs() 127 bool count(const string& key) const { return attrs_.count(key); } in count() 130 if (!attrs_.count(key)) { in at() 133 return attrs_.at(key); in at() 141 return attrs_.count(key) ? this->get<T>(key) : default_value; in get() 146 for (const auto& attr_item : attrs_) { in GetAllAttrKeys() 154 AttrMap attrs_; member in tensorflow::tensorrt::convert::TFAttrs
|