Home
last modified time | relevance | path

Searched refs:get_attr (Results 1 – 25 of 29) sorted by relevance

12

/third_party/nghttp2/src/
DHtmlParser.cc42 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/
Dtbe_common.py105 def get_attr(attr_info, args): function
145 get_attr(arg_info, args)
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dcontrol_flow_pass.cc275 …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/
Dcustom.h67 std::map<std::string, std::vector<uint8_t>> get_attr() const;
Dcustom.cc44 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/
Dfunc_graph.h50 virtual ValuePtr get_attr(const std::string &key) const = 0;
/third_party/mindspore/mindspore/core/ir/
Danf_extends.cc84 auto fg_flag = func_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in fullname_with_scope()
Dfunc_graph.h245 ValuePtr get_attr(const std::string &key) const final;
Dfunc_graph.cc148 ValuePtr FuncGraph::get_attr(const std::string &key) const { in get_attr() function in mindspore::FuncGraph
Dfunc_graph_cloner.cc765 …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/
Dadd_stitch_atomic_clean_gpu.cc85 auto old_graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in ProcessOriginCNode()
Dtsa_atomic_add_to_first_tensor.cc201 auto old_graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in ProcessOriginCNode()
Ddecrease_transfer_precision.cc71 auto graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in IsCandidateNode()
Ddecrease_compute_precision.cc223 auto graph_name = GetValue<std::string>(func_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in IsCastUnAware()
Dtransform_op_optimizer.cc438 …new_funcgraph->set_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL, sub_func_graph->get_attr(FUNC_GRAPH_ATTR_GRA… in Run()
Dgraph_kernel_helper.cc483 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()
Dadd_atomic_clean.cc363 auto old_graph_name = GetValue<std::string>(sub_graph->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL)); in ProcessOriginCNode()
Darithmetic_simplify.cc655 …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/
Dmindir_control_flow_adjust.cc94 auto after_fg_name = after_fg->get_attr("graph_name")->ToString(); in ModifyFgToCallAfterFg()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.h114 return GetValue<T>(fg->get_attr(key)); in GetNodeAttr()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c5145 #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/
Dlibwebp_python_wrap.c5182 #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/
Danf_exporter.cc470 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/
Dfunc_graph_subgraph.cc483 std::string graph_name = sub_graph->get_attr("graph_name")->ToString(); in CreateParameterForPartialSubGraph()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_generator.cc622 auto attr_val = fg->get_attr(FUNC_GRAPH_ATTR_GRAPH_KERNEL); in CollectFusedJson()

12