Home
last modified time | relevance | path

Searched refs:setAttr (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/tests/ut/cpp/transform/
Dop_adapter_test.cc51 ASSERT_EQ(0, adpt->setAttr(conv, "group", 1));
52 ASSERT_EQ(0, adpt->setAttr(conv, "mode", 1));
71 ASSERT_EQ(adpt->setAttr(conv, "padding", 1), NOT_FOUND);
72 ASSERT_EQ(adpt->setAttr(conv, "pad", 1), 0);
73 ASSERT_EQ(adpt->setAttr(conv, "pad_mode", string("same")), 0);
74 ASSERT_EQ(adpt->setAttr(conv, "nothing", "test"), NOT_FOUND);
94 ASSERT_EQ(adpt->setAttr(conv, prim), 0);
/third_party/jsframework/test/ut/model/
Ddirective.ts34 setAttr
51 el.setAttr = function(k, v) {
190 setAttr: function(key: string, value: string | number): void {
200 setAttr(vm, element, attr1)
206 setAttr(vm, element, attr2)
240 setAttr: function(key: string, value: string | number): void {
250 setAttr(vm, element, attr1)
255 setAttr(vm, element, attr2)
282 setAttr: function(key: string, value: string | number): void {
292 setAttr(vm, element, attr)
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dop_adapter_base.h139 …virtual int setAttr(const OperatorPtr &op, const std::string &attrKey, const ValuePtr &attrValue) …
140 virtual int setAttr(const OperatorPtr &op, const PrimitivePtr &prim) = 0;
141 virtual int setAttr(const OperatorPtr &op, const AnfNodePtr &node) = 0;
144 …int setAttr(const OperatorPtr &op, const std::string &attrKey, const std::shared_ptr<T> &attrValue… in setAttr() function
145 return setAttr(op, attrKey, MakeValue(attrValue)); in setAttr()
148 int setAttr(const OperatorPtr &op, const std::string &attrKey, const T &attrValue) { in setAttr() function
149 return setAttr(op, attrKey, MakeValue(attrValue)); in setAttr()
Dop_adapter.h91 int setAttr(const OperatorPtr &op, const std::string &attr_key, const ValuePtr &attr_value);
94 int setAttr(const OperatorPtr &op, const PrimitivePtr &prim);
95 int setAttr(const OperatorPtr &op, const AnfNodePtr &node);
270 …int setAttr(const OperatorPtr &op, const std::string &attrKey, const ValuePtr &attrValue) override… in setAttr() function
271 return impl_->setAttr(op, attrKey, attrValue); in setAttr()
278 …int setAttr(const OperatorPtr &op, const PrimitivePtr &prim) override { return impl_->setAttr(op, … in setAttr() function
280 …int setAttr(const OperatorPtr &op, const AnfNodePtr &node) override { return impl_->setAttr(op, no… in setAttr() function
Dop_adapter.cc497 int OpAdapterImpl::setAttr(const OperatorPtr &op, const std::string &attr_key, const ValuePtr &attr… in setAttr() function in mindspore::transform::OpAdapterImpl
569 int ret = setAttr(op, it.first, value); in SetNormalOpAttr()
577 int ret = setAttr(op, it.first, it_extra->second); in SetNormalOpAttr()
587 int OpAdapterImpl::setAttr(const OperatorPtr &op, const PrimitivePtr &prim) { in setAttr() function in mindspore::transform::OpAdapterImpl
598 int OpAdapterImpl::setAttr(const OperatorPtr &op, const AnfNodePtr &node) { in setAttr() function in mindspore::transform::OpAdapterImpl
626 (void)setAttr(op, "T", MakeValue(type)); in setAttr()
634 int ret = setAttr(op, prim); in setAttr()
Dconvert.cc350 (void)adpt_const->setAttr(const_op, "value", it.second); in InitParamWithData()
1483 adpt->setAttr(op, "value", static_cast<int32_t>(int64_value)); in ConvertTopK()
1777 (void)adpt->setAttr(op, node); in ConvertCNode()
1888 if (adpt->setAttr(op, "value", node->value()) != 0) { in ConvertValueNode()
/third_party/openssl/crypto/objects/
Dobjects.txt1201 set-attr 0 : setAttr-Cert
1202 set-attr 1 : setAttr-PGWYcap : payment gateway capabilities
1203 set-attr 2 : setAttr-TokenType
1204 set-attr 3 : setAttr-IssCap : issuer capabilities
1206 setAttr-Cert 0 : set-rootKeyThumb
1207 setAttr-Cert 1 : set-addPolicy
1209 setAttr-TokenType 1 : setAttr-Token-EMV
1210 setAttr-TokenType 2 : setAttr-Token-B0Prime
1212 setAttr-IssCap 3 : setAttr-IssCap-CVM
1213 setAttr-IssCap 4 : setAttr-IssCap-T2
[all …]
/third_party/jsframework/runtime/vdom/
DDocument.ts231 el.setAttr(name, attrs[name], true);
DElement.ts688 public setAttr(key: string, value: string | number, silent: boolean = false): void {
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute_ge.cc142 (void)adapter->setAttr(op, attr.first, attr.second); in BuildSingleOpGraph()
147 (void)adapter->setAttr(op, attr.first, attr.second); in BuildSingleOpGraph()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DLTOCodeGenerator.h96 void setAttr(StringRef MAttr) { this->MAttr = MAttr; } in setAttr() function
DThinLTOCodeGenerator.h203 void setAttr(std::string MAttr) { TMBuilder.MAttr = std::move(MAttr); } in setAttr() function
/third_party/jsframework/runtime/main/model/
Ddirective.ts127 setAttr(vm, el, template.attr);
424 export function setAttr(vm: Vm, el: Element, attr: Partial<AttrInterface>): void { function