Home
last modified time | relevance | path

Searched refs:ToAbstract (Results 1 – 25 of 158) sorted by relevance

1234567

/third_party/mindspore/mindspore/core/ir/
Dvalue_extends.cc28 abstract::AbstractBasePtr Scalar::ToAbstract() { in ToAbstract() function in mindspore::Scalar
32 abstract::AbstractBasePtr StringImm::ToAbstract() { in ToAbstract() function in mindspore::StringImm
36 abstract::AbstractBasePtr RefKey::ToAbstract() { in ToAbstract() function in mindspore::RefKey
42 abstract::AbstractBasePtr AnyValue::ToAbstract() { return std::make_shared<abstract::AbstractScalar… in ToAbstract() function in mindspore::AnyValue
44 abstract::AbstractBasePtr ValueTuple::ToAbstract() { in ToAbstract() function in mindspore::ValueTuple
48 return ele->ToAbstract(); in ToAbstract()
53 abstract::AbstractBasePtr ValueList::ToAbstract() { in ToAbstract() function in mindspore::ValueList
57 return ele->ToAbstract(); in ToAbstract()
62 abstract::AbstractBasePtr ValueSlice::ToAbstract() { in ToAbstract() function in mindspore::ValueSlice
66 abstract::AbstractBasePtr start = start_->ToAbstract(); in ToAbstract()
[all …]
Dnamed.cc30 abstract::AbstractBasePtr None::ToAbstract() { return std::make_shared<abstract::AbstractNone>(); } in ToAbstract() function in mindspore::None
32 abstract::AbstractBasePtr Null::ToAbstract() { return std::make_shared<abstract::AbstractNull>(); } in ToAbstract() function in mindspore::Null
34 abstract::AbstractBasePtr Ellipsis::ToAbstract() { return std::make_shared<abstract::AbstractEllips… in ToAbstract() function in mindspore::Ellipsis
Dvalue.h78 abstract::AbstractBasePtr ToAbstract() override;
91 abstract::AbstractBasePtr ToAbstract() override;
125 abstract::AbstractBasePtr ToAbstract() override;
150 abstract::AbstractBasePtr ToAbstract() override;
198 abstract::AbstractBasePtr ToAbstract() override;
216 abstract::AbstractBasePtr ToAbstract() override;
240 abstract::AbstractBasePtr ToAbstract() override;
258 abstract::AbstractBasePtr ToAbstract() override;
267 abstract::AbstractBasePtr ToAbstract() override = 0;
280 abstract::AbstractBasePtr ToAbstract() override;
[all …]
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_binary_cross_entropy_grad.cc45 {input1->ToAbstract(), input2->ToAbstract(), input3->ToAbstract(), input4->ToAbstract()}); in TEST_F()
77 {input1->ToAbstract(), input2->ToAbstract(), input3->ToAbstract(), input4->ToAbstract()}); in TEST_F()
Dtest_ops_lsh_projection.cc43 auto abstract = lsh_projection->Infer({input0->ToAbstract(), input1->ToAbstract()}); in TEST_F()
72 auto abstract = lsh_projection->Infer({input0->ToAbstract(), input1->ToAbstract()}); in TEST_F()
103 …auto abstract = lsh_projection->Infer({input0->ToAbstract(), input1->ToAbstract(), input2->ToAbstr… in TEST_F()
Dtest_ops_full_connection.cc42 auto abstract = op->Infer({tensor_1->ToAbstract(), tensor_2->ToAbstract()}); in TEST_F()
73 …auto abstract = op->Infer({tensor_1->ToAbstract(), tensor_2->ToAbstract(), tensor_3->ToAbstract()}… in TEST_F()
103 auto abstract = op->Infer({tensor_1->ToAbstract(), tensor_2->ToAbstract()}); in TEST_F()
Dtest_ops_layer_norm_x_backprop_v2.cc46 …AbstractBasePtrList inputs = {input_x->ToAbstract(), input_dy->ToAbstract(), input_var->ToAbstract in TEST_F()
47 input_mean->ToAbstract(), input_gamma->ToAbstract()}; in TEST_F()
Dtest_ops_one_hot.cc48 …one_hot->Infer({indice->ToAbstract(), depth->ToAbstract(), on_value->ToAbstract(), off_value->ToAb… in TEST_F()
Dtest_ops_batch_norm.cc42 …{input_x->ToAbstract(), scale->ToAbstract(), bias->ToAbstract(), mean->ToAbstract(), variance->ToA… in TEST_F()
Dtest_ops_batch_norm_grad.cc46 …{input0->ToAbstract(), input1->ToAbstract(), input2->ToAbstract(), input3->ToAbstract(), input4->T… in TEST_F()
Dtest_ops_strided_slice.cc62 …stridedslice->Infer({tensor_x->ToAbstract(), begin->ToAbstract(), end->ToAbstract(), strides->ToAb… in TEST_F()
Dtest_ops_prelu.cc40 auto abstract = prelu->Infer({tensor_x->ToAbstract(), tensor_w->ToAbstract()}); in TEST_F()
69 auto abstract = prelu->Infer({tensor_x->ToAbstract(), tensor_w->ToAbstract()}); in TEST_F()
Dtest_ops_reshape.cc39 auto abstract = reshape->Infer({tensor_x->ToAbstract(), input_shape->ToAbstract()}); in TEST_F()
67 auto abstract = reshape->Infer({tensor_x->ToAbstract(), input_shape->ToAbstract()}); in TEST_F()
Dtest_ops_unsorted_segment_sum.cc43 …unsortedsegmentsum->Infer({tensor_x->ToAbstract(), segment_ids->ToAbstract(), num_segments->ToAbst… in TEST_F()
Dtest_ops_fill.cc42 auto abstract = fill->Infer({dtype->ToAbstract(), dims->ToAbstract(), x->ToAbstract()}); in TEST_F()
Dtest_ops_embeddinglookup.cc44 …embedding_lookup->Infer({tensor_param->ToAbstract(), tensor_indice->ToAbstract(), offset->ToAbstra… in TEST_F()
Dtest_ops_slice_fusion.cc45 …auto abstract = slice_fusion->Infer({input0->ToAbstract(), input1->ToAbstract(), input2->ToAbstrac… in TEST_F()
Dtest_ops_where.cc73 …auto abstract = where->Infer({inputs0->ToAbstract(), inputs1->ToAbstract(), inputs2->ToAbstract()}… in TEST_F()
Dtest_ops_max_pool_grad.cc45 …auto abstract = max_pool_grad->Infer({input0->ToAbstract(), input1->ToAbstract(), input2->ToAbstra… in TEST_F()
Dtest_ops_assert.cc55 auto abstract = assert->Infer({condition->ToAbstract(), inputs->ToAbstract()}); in TEST_F()
86 auto abstract = assert->Infer({tensor->ToAbstract(), inputs->ToAbstract()}); in TEST_F()
Dtest_ops_fake_quant_with_min_max_vars_per_channel.cc47 …nt_with_min_max_vars_per_channel->Infer({input0->ToAbstract(), input1->ToAbstract(), input2->ToAbs… in TEST_F()
Dtest_ops_gather.cc61 auto abstract = gather->Infer({tensor_x->ToAbstract(), dim->ToAbstract(), index->ToAbstract()}); in TEST_F()
Dtest_ops_pooling_grad.cc52 …auto abstract = pooling_grad->Infer({input0->ToAbstract(), input1->ToAbstract(), input2->ToAbstrac… in TEST_F()
/third_party/mindspore/tests/ut/cpp/ir/
Dvalue_test.cc45 AbstractBasePtr ret = boolv->ToAbstract(); in TEST_F()
53 ret = i64v->ToAbstract(); in TEST_F()
59 ret = f32v->ToAbstract(); in TEST_F()
65 ret = sv->ToAbstract(); in TEST_F()
71 ret = vv->ToAbstract(); in TEST_F()
77 ret = tv->ToAbstract(); in TEST_F()
84 ret = rv->ToAbstract(); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dresolve.h50 abstract::AbstractBasePtr ToAbstract() override { in ToAbstract() function
74 abstract::AbstractBasePtr ToAbstract() override { in ToAbstract() function
92 abstract::AbstractBasePtr ToAbstract() override { in ToAbstract() function
122 abstract::AbstractBasePtr ToAbstract() override;
132 abstract::AbstractBasePtr ToAbstract() override;
142 abstract::AbstractBasePtr ToAbstract() override;

1234567