Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.h41 class AbstractBase; variable
46 class MS_CORE_API AbstractBase : public Base {
50 explicit AbstractBase(const ValuePtr &value = nullptr, const TypePtr &type = kAnyType,
53 ~AbstractBase() override = default;
54 MS_DECLARE_PARENT(AbstractBase, Base) in MS_DECLARE_PARENT() argument
59 virtual bool operator==(const AbstractBase &other) const;
83 virtual AbstractBasePtr Join(const AbstractBasePtr &) { return shared_from_base<AbstractBase>(); } in Join()
85 friend std::ostream &operator<<(std::ostream &os, const std::shared_ptr<AbstractBase> &a) {
104 class MS_CORE_API AbstractScalar : public AbstractBase {
106 AbstractScalar() : AbstractBase(kAnyValue, kAnyType) {} in AbstractScalar()
[all …]
Dabstract_value.cc33 if (mindspore::abstract::AbstractBase::trace_node_provider_ != nullptr) { in GetTraceNode()
34 mindspore::abstract::AbstractBase::trace_node_provider_(&node); in GetTraceNode()
88 bool AbstractBase::operator==(const AbstractBase &other) const { in operator ==()
129 ValuePtr AbstractBase::BuildValue() const { in BuildValue()
136 AbstractBasePtr AbstractBase::Broaden() const { in Broaden()
143 AbstractBasePtr AbstractBase::PartialBroaden() const { return Clone(); } in PartialBroaden()
145 std::string AbstractBase::ToString() const { in ToString()
162 return AbstractBase::Broaden(); in Broaden()
166 return AbstractBase::Broaden(); in Broaden()
174 return shared_from_base<AbstractBase>(); in Join()
[all …]
Dprim_structures.cc321 AbstractBasePtr item = dyn_cast<AbstractBase>(args_spec_list[1]); in InferImplListAppend()
/third_party/typescript/tests/baselines/reference/
DmixinAbstractClasses.2.types26 abstract class AbstractBase {
27 >AbstractBase : AbstractBase
33 const MixedBase = Mixin(AbstractBase);
34 >MixedBase : typeof AbstractBase & (abstract new (...args: any) => Mixin)
35 >Mixin(AbstractBase) : typeof AbstractBase & (abstract new (...args: any) => Mixin)
37 >AbstractBase : typeof AbstractBase
39 …oes not implement inherited abstract member 'abstractBaseMethod' from class 'AbstractBase & Mixin'.
42 >MixedBase : AbstractBase & Mixin
48 >MixedBase : typeof AbstractBase & (abstract new (...args: any) => Mixin)
DmixinAbstractClassesReturnTypeInference.types7 abstract class AbstractBase {
8 >AbstractBase : AbstractBase
35 class DerivedFromAbstract2 extends Mixin2(AbstractBase) {
37 >Mixin2(AbstractBase) : Mixin2<typeof AbstractBase>.MixinClass & AbstractBase
39 >AbstractBase : typeof AbstractBase
DmixinAbstractClasses.2.js15 abstract class AbstractBase {
19 const MixedBase = Mixin(AbstractBase);
37 class AbstractBase { class
39 const MixedBase = Mixin(AbstractBase);
52 declare abstract class AbstractBase {
55 declare const MixedBase: typeof AbstractBase & (abstract new (...args: any) => Mixin);
DmixinAbstractClassesReturnTypeInference.js6 abstract class AbstractBase {
20 class DerivedFromAbstract2 extends Mixin2(AbstractBase) {
26 class AbstractBase {
37 class DerivedFromAbstract2 extends Mixin2(AbstractBase) {
46 declare abstract class AbstractBase {
60 }) & typeof AbstractBase;
DmixinAbstractClasses.types32 abstract class AbstractBase {
33 >AbstractBase : AbstractBase
63 class DerivedFromAbstract extends Mixin(AbstractBase) {
65 >Mixin(AbstractBase) : AbstractBase & Mixin
67 >AbstractBase : typeof AbstractBase
DmixinAbstractClasses.js18 abstract class AbstractBase {
29 class DerivedFromAbstract extends Mixin(AbstractBase) {
48 class AbstractBase { class
55 class DerivedFromAbstract extends Mixin(AbstractBase) {
71 declare abstract class AbstractBase {
78 declare const DerivedFromAbstract_base: typeof AbstractBase & (abstract new (...args: any) => Mixin…
DmixinAbstractClassesReturnTypeInference.symbols9 abstract class AbstractBase {
10 >AbstractBase : Symbol(AbstractBase, Decl(mixinAbstractClassesReturnTypeInference.ts, 2, 1))
13 >abstractBaseMethod : Symbol(AbstractBase.abstractBaseMethod, Decl(mixinAbstractClassesReturnTypeIn…
40 class DerivedFromAbstract2 extends Mixin2(AbstractBase) {
43 >AbstractBase : Symbol(AbstractBase, Decl(mixinAbstractClassesReturnTypeInference.ts, 2, 1))
DmixinAbstractClasses.2.symbols33 abstract class AbstractBase {
34 >AbstractBase : Symbol(AbstractBase, Decl(mixinAbstractClasses.2.ts, 11, 1))
37 >abstractBaseMethod : Symbol(AbstractBase.abstractBaseMethod, Decl(mixinAbstractClasses.2.ts, 13, 2…
40 const MixedBase = Mixin(AbstractBase);
43 >AbstractBase : Symbol(AbstractBase, Decl(mixinAbstractClasses.2.ts, 11, 1))
45 …oes not implement inherited abstract member 'abstractBaseMethod' from class 'AbstractBase & Mixin'.
DmixinAbstractClasses.symbols39 abstract class AbstractBase {
40 >AbstractBase : Symbol(AbstractBase, Decl(mixinAbstractClasses.ts, 14, 1))
43 >abstractBaseMethod : Symbol(AbstractBase.abstractBaseMethod, Decl(mixinAbstractClasses.ts, 16, 29))
66 class DerivedFromAbstract extends Mixin(AbstractBase) {
69 >AbstractBase : Symbol(AbstractBase, Decl(mixinAbstractClasses.ts, 14, 1))
DmixinAbstractClasses.2.errors.txt2 …oes not implement inherited abstract member 'abstractBaseMethod' from class 'AbstractBase & Mixin'.
22 abstract class AbstractBase {
26 const MixedBase = Mixin(AbstractBase);
28 …oes not implement inherited abstract member 'abstractBaseMethod' from class 'AbstractBase & Mixin'.
31 …oes not implement inherited abstract member 'abstractBaseMethod' from class 'AbstractBase & Mixin'.
/third_party/typescript/tests/cases/conformance/classes/
DmixinAbstractClassesReturnTypeInference.ts8 abstract class AbstractBase { class
22 class DerivedFromAbstract2 extends Mixin2(AbstractBase) {
DmixinAbstractClasses.2.ts17 abstract class AbstractBase { class
21 const MixedBase = Mixin(AbstractBase);
DmixinAbstractClasses.ts20 abstract class AbstractBase { class
31 class DerivedFromAbstract extends Mixin(AbstractBase) {
/third_party/mindspore/mindspore/core/base/
Dbase.h141 class AbstractBase;
142 using AbstractBasePtr = std::shared_ptr<AbstractBase>;
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dzip_operation.cc32 using mindspore::abstract::AbstractBase;
Dunpack_call.cc32 using mindspore::abstract::AbstractBase;
Dcomposite.cc47 using mindspore::abstract::AbstractBase;
728 if (typeid(args_spec_list[i]) != typeid(AbstractBase)) { in GenerateFuncGraph()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/
Dvalidator.cc30 using mindspore::abstract::AbstractBase;
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dcse.cc32 using mindspore::abstract::AbstractBase;
/third_party/mindspore/mindspore/core/ir/
Danf.h52 class AbstractBase; variable
55 using AbstractBasePtr = std::shared_ptr<abstract::AbstractBase>;
/third_party/mindspore/mindspore/ccsrc/debug/
Dtrace.cc493 abstract::AbstractBase::set_trace_node_provider([](AnfNodePtr *node) { in TraceNodeProviderRegister()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/cache_embedding/
Dcache_embedding.cc334 …std::vector<std::shared_ptr<abstract::AbstractBase>> elements = {cache_idx, old_emb_idx, miss_emb_… in CreateMapCacheIdx()