Home
last modified time | relevance | path

Searched refs:op_node (Results 1 – 10 of 10) sorted by relevance

/third_party/gn/src/gn/
Doperators.cc27 const BinaryOpNode* op_node,
76 const BinaryOpNode* op_node, in Init() argument
91 *err = Err(op_node, "Assignment requires a lvalue.", in Init()
196 Err MakeOverwriteError(const BinaryOpNode* op_node, const Value& old_value) { in MakeOverwriteError() argument
210 Err result(op_node->left()->GetRange(), in MakeOverwriteError()
225 Err MakeIncompatibleTypeError(const BinaryOpNode* op_node, in MakeIncompatibleTypeError() argument
230 std::string(op_node->op().value()) + " <" + in MakeIncompatibleTypeError()
238 return Err(op_node, "Incompatible types for binary operator.", msg); in MakeIncompatibleTypeError()
241 Value GetValueOrFillError(const BinaryOpNode* op_node, in GetValueOrFillError() argument
250 *err = Err(op_node->op(), "Operator requires a value.", in GetValueOrFillError()
[all …]
Doperators.h16 const UnaryOpNode* op_node,
20 const BinaryOpNode* op_node,
/third_party/mindspore/mindspore/profiler/parser/
Dminddata_pipeline_parser.py245 def _get_op_info(self, op_node, sample_interval): argument
260 metrics = op_node.get('metrics')
273 children_id = op_node.get('children')
275 op_node.get('op_id'),
276 op_node.get('op_type'),
277 op_node.get('num_workers'),
283 op_node.get('parent_id'),
/third_party/mesa3d/src/amd/compiler/
Daco_lower_to_cssa.cpp345 merge_node& op_node = ctx.merge_node_table[copy.op.tempId()]; in try_coalesce_copy() local
346 if (op_node.defined_at == -1u) { in try_coalesce_copy()
354 op_node.defined_at = block_idx; in try_coalesce_copy()
355 op_node.value = copy.op; in try_coalesce_copy()
363 if (op_node.index == -1u) { in try_coalesce_copy()
370 if (op_node.index == ctx.merge_node_table[copy.def.tempId()].index) in try_coalesce_copy()
374 return try_merge_merge_set(ctx, copy.def.getTemp(), ctx.merge_sets[op_node.index]); in try_coalesce_copy()
/third_party/mindspore/mindspore/lite/tools/anf_exporter/
Danf_exporter.h61 … const std::unique_ptr<schema::MetaGraphT> &meta_graphT, schema::CNodeT *op_node);
63 … const std::unique_ptr<schema::MetaGraphT> &meta_graphT, schema::CNodeT *op_node);
Danf_exporter.cc683 schema::CNodeT *op_node) { in ConvertInputParameter() argument
688 op_node->inputIndex.emplace_back(node_id_map_[key]); in ConvertInputParameter()
712 op_node->inputIndex.emplace_back(meta_graphT->allTensors.size()); in ConvertInputParameter()
719 schema::CNodeT *op_node) { in ConvertInputValueNode() argument
739 op_node->inputIndex.emplace_back(meta_graphT->allTensors.size()); in ConvertInputValueNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc505 AnfNodePtr op_node = block->MakeResolveAstOp(op); in ParseBinOp() local
508 return block->func_graph()->NewCNodeInOrder({op_node, left_node, right_node}); in ParseBinOp()
785 AnfNodePtr op_node = NewValueNode(prim::kPrimGetAttr); in ParseAttribute() local
804 auto attr_cnode = block->func_graph()->NewCNodeInOrder({op_node, value_node, attr_node}); in ParseAttribute()
833 AnfNodePtr op_node = block->MakeResolveAstOp(ops[0]); in ParseCompare() local
834 return block->func_graph()->NewCNodeInOrder({op_node, left_node, right_node}); in ParseCompare()
897 py::object op_node = python_adapter::GetPyObjAttr(node, "op"); in ParseBoolOp() local
898 AstSubType op_type = ast_->GetOpType(op_node); in ParseBoolOp()
1046 AnfNodePtr op_node = block->MakeResolveAstOp(op); in ParseUnaryOp() local
1050 return block->func_graph()->NewCNodeInOrder({op_node, operand_node}); in ParseUnaryOp()
[all …]
/third_party/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/
Dconstant_folding_fusion_test.cc40 MetaGraphTptr BuildGraph(schema::PrimitiveType op_type, void *op_node) { in BuildGraph() argument
49 example_node->primitive->value.value = op_node; in BuildGraph()
99 MetaGraphTptr BuildGraphForOneInput(schema::PrimitiveType op_type, void *op_node) { in BuildGraphForOneInput() argument
108 example_node->primitive->value.value = op_node; in BuildGraphForOneInput()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_helper.cc875 for (const auto &op_node : lite_graph->GetOrderedNodes()) { in LiteGraph2AnfGraph() local
876 if (op_node->NodeType() != graphkernel::NType::Primitive) { in LiteGraph2AnfGraph()
877 MS_LOG(EXCEPTION) << "Node " << op_node->name() << "should be a Primitive node"; in LiteGraph2AnfGraph()
879 auto op = std::static_pointer_cast<graphkernel::PrimOp>(op_node); in LiteGraph2AnfGraph()
901 node_map[op_node] = cnode; in LiteGraph2AnfGraph()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_decoder.cc413 auto op_node = DecodeCNode(op_desc, graph, kernel_json[kJsonKeyProcess]); in DecodeFusedNodes() local
414 MS_EXCEPTION_IF_NULL(op_node); in DecodeFusedNodes()