Home
last modified time | relevance | path

Searched refs:GetValueTrack (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/tests/ut/cpp/pipeline/static_analysis/
Ddata_test.cc145 ASSERT_TRUE(s1->GetValueTrack() == s2->GetValueTrack()); in TEST_F()
157 ASSERT_TRUE(l2_cast->GetValueTrack() == l1.GetValueTrack()); in TEST_F()
183 ASSERT_TRUE(*s1->GetValueTrack() == *MakeValue(int1)); in TEST_F()
184 ASSERT_TRUE(s2->GetValueTrack()->isa<Int64Imm>()); in TEST_F()
196 ASSERT_TRUE(csr->GetValueTrack()->isa<Int64Imm>()); in TEST_F()
Dprim_test.cc144 TypePtr res_value = res->GetValueTrack()->cast<TypePtr>(); in TEST_F()
/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.cc182 auto value_self = GetValueTrack(); in Join()
183 auto value_other = other->GetValueTrack(); in Join()
192 ValuePtr value_self = GetValueTrack(); in Clone()
205 ValuePtr value_self = GetValueTrack(); in operator ==()
206 ValuePtr value_other = other.GetValueTrack(); in operator ==()
222 ValuePtr value_self = GetValueTrack(); in ToString()
239 auto value_track = GetValueTrack(); in ToString()
592 auto v1 = GetValueTrack(); in equal_to()
593 auto v2 = other.GetValueTrack(); in equal_to()
627 clone->set_value(GetValueTrack()); in Clone()
[all …]
Dabstract_value.h65 ValuePtr GetValueTrack() const { return value_; } in GetValueTrack() function
119 …std::size_t hash() const override { return hash_combine({tid(), GetValueTrack()->hash(), GetTypeTr… in MS_DECLARE_PARENT()
123 return std::make_shared<AbstractScalar>(GetValueTrack(), GetTypeTrack()->Clone()); in Clone()
163 return std::make_shared<AbstractError>(GetValueTrack()->cast<StringImmPtr>(), node_); in Clone()
182 …std::size_t hash() const override { return hash_combine({tid(), GetValueTrack()->hash(), GetTypeTr… in MS_DECLARE_PARENT()
186 return std::make_shared<AbstractScript>(GetValueTrack(), GetTypeTrack()->Clone()); in Clone()
342 auto value = GetValueTrack(); in hash()
630 cloned->set_value(GetValueTrack()); in Clone()
771 buffer << type_name() << "(" << GetValueTrack()->ToString() << ")"; in ToString()
786 …AbstractBasePtr Clone() const override { return std::make_shared<AbstractUMonad>(GetValueTrack());… in MS_DECLARE_PARENT()
[all …]
Dprim_statement.cc50 ValuePtr v = cond->GetValueTrack(); in InferImplSwitch()
66 MS_LOG(EXCEPTION) << "Not support this condition value: " << cond->GetValueTrack()->ToString(); in InferImplSwitch()
Dprim_others.cc64 if (!key->GetValueTrack()->isa<SymbolicKeyInstance>()) { in InferImplEnvGetItem()
67 ValuePtr key_value_ptr = key->GetValueTrack(); in InferImplEnvGetItem()
82 ValuePtr key_value_ptr = key->GetValueTrack(); in InferImplEnvSetItem()
Danalysis_context.cc163 auto val = arg->GetValueTrack(); in SpecializeKey()
/third_party/mindspore/tests/ut/cpp/optimizer/ad/
Dkpynative_test.cc93 auto out = c_node->abstract()->GetValueTrack(); in BuildBpropFuncGraph()
96 args.push_back(c_node->input(i)->abstract()->GetValueTrack()); in BuildBpropFuncGraph()
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dadd_tensor_array.cc152 …if (!utils::isa<tensor::TensorPtr>(abstract_tensor->GetValueTrack())) { // input node not complet… in Process()
156 auto tensor_info = utils::cast<tensor::TensorPtr>(abstract_tensor->GetValueTrack()); in Process()
/third_party/mindspore/mindspore/ccsrc/cxx_api/model/acl/
Dacl_model_multi.cc91 if (abstract->GetValueTrack() != kAnyValue) { in Build()
168 auto input_value = input_param->abstract()->GetValueTrack(); in SetInputs()
/third_party/mindspore/mindspore/core/ops/
Ddropout_gen_mask.cc70 auto value_track = shape_list[i]->GetValueTrack(); in CalOutputShape()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dprim.cc718 auto arg_value = arg_scalar->GetValueTrack(); in EvalPrim()
1197 ValuePtr value_track = args_spec_list[0]->GetValueTrack(); in EvalPrim()
1276 ValuePtr value_track = args_spec_list[0]->GetValueTrack(); in EvalPrim()
1356 MS_EXCEPTION_IF_NULL(arg0_value->GetValueTrack()); in Run()
1357 …auto ret = std::make_shared<AbstractError>(arg0_value->GetValueTrack()->cast<StringImmPtr>(), out_… in Run()
Devaluator.cc281 if (arg->GetValueTrack() != kAnyValue) { in BroadenArgs()
Dstatic_analysis.cc85 auto v = arg_spec->GetValueTrack(); in IsIntermediateAbstract()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/
Dops_front_infer_function.cc189 auto mode_v = abs_type->GetValueTrack(); in InferImplHasType()
635 auto value_track = args_spec_list[0]->GetValueTrack(); in InferImplMakeRecord()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dinline.h287 auto branch_abstract_value = branch_abstract->GetValueTrack(); in CheckSwitchBranchAbstract()
/third_party/mindspore/mindspore/lite/tools/converter/import/
Dmindir_adjust.cc194 auto value = abstract_tensor->GetValueTrack(); in ValueNodeInt64Convert()
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dgllo_utils.cc649 …if (!utils::isa<tensor::TensorPtr>(abstract_tensor->GetValueTrack())) { // input node not complet… in GetTensorInfoFromAbstract()
653 *tensor_info = utils::cast<tensor::TensorPtr>(abstract_tensor->GetValueTrack()); in GetTensorInfoFromAbstract()
/third_party/mindspore/mindspore/lite/tools/anf_exporter/
Dfetch_content.cc400 auto tensor_info = abstract_tensor->GetValueTrack(); in FetchDataFromCNode()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Daction.cc977 if (arg->GetValueTrack() != kAnyValue) { in SetMindIRGraphAction()
/third_party/mindspore/mindspore/core/load_mindir/
Danf_model_parser.cc906 if (abs->GetValueTrack() == nullptr) { in SetCNodeAbastract()