Searched defs:AbstractScalar (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/mindspore/core/abstract/ |
D | abstract_value.h | 106 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/ |
D | value_test.cc | 28 using AbstractScalar = abstract::AbstractScalar; typedef
|
/third_party/mindspore/tests/ut/cpp/operator/ |
D | composite_test.cc | 30 using AbstractScalar = abstract::AbstractScalar; typedef
|
/third_party/mindspore/tests/ut/cpp/transform/ |
D | convert_test.cc | 42 using AbstractScalar = abstract::AbstractScalar; typedef
|