/third_party/nghttp2/src/ |
D | HtmlParser.cc | 42 StringRef get_attr(const xmlChar **attrs, const StringRef &name) { in get_attr() function 97 auto rel_attr = get_attr(attrs, StringRef::from_lit("rel")); in start_element_func() 98 auto href_attr = get_attr(attrs, StringRef::from_lit("href")); in start_element_func() 107 auto as_attr = get_attr(attrs, StringRef::from_lit("as")); in start_element_func() 115 auto src_attr = get_attr(attrs, StringRef::from_lit("src")); in start_element_func() 121 auto src_attr = get_attr(attrs, StringRef::from_lit("src")); in start_element_func()
|
/third_party/mindspore/mindspore/_extends/parallel_compile/tbe_compiler/ |
D | tbe_common.py | 105 def get_attr(attr_info, args): function 145 get_attr(arg_info, args)
|
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/ |
D | control_flow_pass.cc | 275 …cond_partial_cnode->set_fullname_with_scope("partial_" + cond_fg->get_attr("graph_name")->ToString… in CreateWhileCondCallNode() 308 …(*body_partial_node)->set_fullname_with_scope("CNode_" + body_fg->get_attr("graph_name")->ToString… in CreateWhileBodyPartialNode() 347 …cond_call_cnode->set_fullname_with_scope(body_fg->get_attr("graph_name")->ToString() + "_call_cond… in CreateWhileBodyPartialNode() 422 …(*after_partial_cnode)->set_fullname_with_scope("CNode_" + after_fg->get_attr("graph_name")->ToStr… in CreateWhileAfterPartialNode() 487 …switch_cnode->set_fullname_with_scope("while-Switch-" + cond_fg->get_attr("graph_name")->ToString(… in ProcessWhileOp() 514 auto fg_name_attr = partial_fg->get_attr("graph_name"); in CreateIfPartialNodeExternalInputs() 597 auto fg_name_attr = then_fg->get_attr("graph_name"); in CreateIfPartialNode() 627 auto after_fg_name = (*after_fg)->get_attr("graph_name")->ToString(); in CreateIfPartialNode() 730 switch_cnode->set_fullname_with_scope("if-Switch-" + fg->get_attr("graph_name")->ToString()); in ProcessIfOp() 787 auto cur_fg_name = cur_fg->get_attr("graph_name")->ToString(); in Run()
|
/third_party/mindspore/mindspore/core/ops/ |
D | custom.h | 67 std::map<std::string, std::vector<uint8_t>> get_attr() const;
|
D | custom.cc | 44 std::map<std::string, std::vector<uint8_t>> Custom::get_attr() const { in get_attr() function in mindspore::ops::Custom
|
/third_party/mindspore/mindspore/core/api/ir/ |
D | func_graph.h | 50 virtual ValuePtr get_attr(const std::string &key) const = 0;
|
/third_party/mindspore/mindspore/core/ir/ |
D | anf_extends.cc | 84 auto fg_flag = func_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in fullname_with_scope()
|
D | func_graph.h | 245 ValuePtr get_attr(const std::string &key) const final;
|
D | func_graph.cc | 148 ValuePtr FuncGraph::get_attr(const std::string &key) const { in get_attr() function in mindspore::FuncGraph
|
D | func_graph_cloner.cc | 765 …new_func_graph->set_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL, func_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_… in TransformableClone()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | add_stitch_atomic_clean_gpu.cc | 85 auto old_graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in ProcessOriginCNode()
|
D | tsa_atomic_add_to_first_tensor.cc | 201 auto old_graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in ProcessOriginCNode()
|
D | decrease_transfer_precision.cc | 71 auto graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in IsCandidateNode()
|
D | decrease_compute_precision.cc | 223 auto graph_name = GetValue<std::string>(func_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in IsCastUnAware()
|
D | transform_op_optimizer.cc | 438 …new_funcgraph->set_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL, sub_func_graph->get_attr(FUNC_GRAPH_ATTR_GRA… in Run()
|
D | graph_kernel_helper.cc | 483 auto fg_flag_val = graph_kernel_fg->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in FuseNodesToSubGraph() 813 …graphkernel::LiteGraph::GraphBuilder gb(GetValue<std::string>(func_graph->get_attr(FUNC_GRAPH_ATTR… in AnfGraph2LiteGraph()
|
D | add_atomic_clean.cc | 363 auto old_graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in ProcessOriginCNode()
|
D | arithmetic_simplify.cc | 655 …new_funcgraph->set_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL, sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KE… in Run()
|
/third_party/mindspore/mindspore/lite/tools/converter/import/ |
D | mindir_control_flow_adjust.cc | 94 auto after_fg_name = after_fg->get_attr("graph_name")->ToString(); in ModifyFgToCallAfterFg()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | anf_runtime_algorithm.h | 114 return GetValue<T>(fg->get_attr(key)); in GetNodeAttr()
|
/third_party/flutter/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 5145 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set… argument 5154 PyObject *(*get_attr)(void); /* Return the current value */ member 5239 res = (*var->get_attr)(); in swig_varlink_getattr() 5350 …SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObj… in SWIG_Python_addvarlink() 5358 gv->get_attr = get_attr; in SWIG_Python_addvarlink()
|
/third_party/skia/third_party/externals/libwebp/swig/ |
D | libwebp_python_wrap.c | 5182 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set… argument 5191 PyObject *(*get_attr)(void); /* Return the current value */ member 5276 res = (*var->get_attr)(); in swig_varlink_getattr() 5386 …SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObj… in SWIG_Python_addvarlink() 5394 gv->get_attr = get_attr; in SWIG_Python_addvarlink()
|
/third_party/mindspore/mindspore/lite/tools/anf_exporter/ |
D | anf_exporter.cc | 470 auto subgraph_name = func_graph->get_attr("graph_name"); in ExportSubgraph() 570 auto fmk = func_graph->get_attr("fmk"); in Export()
|
/third_party/mindspore/mindspore/lite/tools/common/ |
D | func_graph_subgraph.cc | 483 std::string graph_name = sub_graph->get_attr("graph_name")->ToString(); in CreateParameterForPartialSubGraph()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/ |
D | akg_kernel_json_generator.cc | 622 auto attr_val = fg->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in CollectFusedJson()
|