Home
last modified time | relevance | path

Searched defs:AbstractScalar (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.h106 AbstractScalar() : AbstractBase(kAnyValue, kAnyType) {} in AbstractScalar() function
107 AbstractScalar(const ValuePtr &value, const TypePtr &type) : AbstractBase(value, type) {} in AbstractScalar() function
108 explicit AbstractScalar(const ValuePtr &value) : AbstractBase(value, value->type()) {} in AbstractScalar() function
109 explicit AbstractScalar(int value) : AbstractBase(MakeValue(value), kInt32) {} in AbstractScalar() function
110 explicit AbstractScalar(int64_t value) : AbstractBase(MakeValue(value), kInt64) {} in AbstractScalar() function
111 explicit AbstractScalar(float value) : AbstractBase(MakeValue(value), kFloat32) {} in AbstractScalar() function
112 explicit AbstractScalar(double value) : AbstractBase(MakeValue(value), kFloat64) {} in AbstractScalar() function
113 explicit AbstractScalar(bool value) : AbstractBase(MakeValue(value), kBool) {} in AbstractScalar() function
114 explicit AbstractScalar(const std::string &value) : AbstractBase(MakeValue(value), kString) {} in AbstractScalar() function
115 explicit AbstractScalar(const TypePtr &type) : AbstractBase(kAnyValue, type) {} in AbstractScalar() function
[all …]
/third_party/mindspore/tests/ut/cpp/ir/
Dvalue_test.cc28 using AbstractScalar = abstract::AbstractScalar; typedef
/third_party/mindspore/tests/ut/cpp/operator/
Dcomposite_test.cc30 using AbstractScalar = abstract::AbstractScalar; typedef
/third_party/mindspore/tests/ut/cpp/transform/
Dconvert_test.cc42 using AbstractScalar = abstract::AbstractScalar; typedef