Home
last modified time | relevance | path

Searched refs:value_tuple_ptr (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dgenerate_graph.cc107 ValueTuplePtr value_tuple_ptr = std::make_shared<ValueTuple>(value_list); in CreateTuple() local
108 return ValuePtrToAnfNodePtr(value_tuple_ptr); in CreateTuple()
/third_party/mindspore/mindspore/core/load_mindir/
Danf_model_parser.cc571 auto value_tuple_ptr = ParserScalarAttrValue<ValueTuple>(ref_attr_name, multi_value_map); in GetAttrValueForCNode() local
572 prim->AddAttr(attr_name, value_tuple_ptr); in GetAttrValueForCNode()
758 auto value_tuple_ptr = ParserScalarAttrValue<ValueTuple>(ref_attr_name, multi_value_map); in GetAttrValueForValueNode() local
759 new_value_node = NewValueNode(value_tuple_ptr); in GetAttrValueForValueNode()
760 new_value_node->set_abstract(value_tuple_ptr->ToAbstract()); in GetAttrValueForValueNode()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dhelper.h162 tensor::TensorPtr CreateTensorWithValueTuple(const ValueTuplePtr &value_tuple_ptr, const TypePtr &t…
Dhelper.cc194 tensor::TensorPtr CreateTensorWithValueTuple(const ValueTuplePtr &value_tuple_ptr, const TypePtr &t… in CreateTensorWithValueTuple() argument
196 MS_EXCEPTION_IF_NULL(value_tuple_ptr); in CreateTensorWithValueTuple()
199 for (const auto &v : value_tuple_ptr->value()) { in CreateTensorWithValueTuple()