Home
last modified time | relevance | path

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

12

/third_party/mindspore/mindspore/core/ir/
Ddtype.cc24 TypePtr Keyword::DeepCopy() const { in DeepCopy() function in mindspore::Keyword
30 return std::make_shared<Keyword>(key, value_->DeepCopy()); in DeepCopy()
58 TypePtr Slice::DeepCopy() const { in DeepCopy() function in mindspore::Slice
65 auto copy = std::make_shared<Slice>(start_->DeepCopy(), stop_->DeepCopy(), step_->DeepCopy()); in DeepCopy()
105 TypePtr Function::DeepCopy() const { in DeepCopy() function in mindspore::Function
112 [](const TypePtr &arg) { return arg->DeepCopy(); }); in DeepCopy()
114 retval = retval_->DeepCopy(); in DeepCopy()
169 TypePtr JTagged::DeepCopy() const { in DeepCopy() function in mindspore::JTagged
174 auto subtype = subtype_->DeepCopy(); in DeepCopy()
Ddtype.h55 TypePtr DeepCopy() const override { return std::make_shared<String>(); } in DeepCopy() function
71 TypePtr DeepCopy() const override;
96 TypePtr DeepCopy() const override;
127 TypePtr DeepCopy() const override;
147 TypePtr DeepCopy() const override;
163 TypePtr DeepCopy() const override { return std::make_shared<SymbolicKeyType>(); } in DeepCopy() function
174 TypePtr DeepCopy() const override { return std::make_shared<EnvType>(); } in MS_DECLARE_PARENT()
187 TypePtr DeepCopy() const override { return std::make_shared<TypeType>(); } in DeepCopy() function
201 TypePtr DeepCopy() const override { return std::make_shared<Problem>(); } in DeepCopy() function
219 TypePtr DeepCopy() const override { return std::make_shared<External>(); } in DeepCopy() function
/third_party/mindspore/mindspore/core/ir/dtype/
Dtensor_type.cc24 TypePtr UndeterminedType::DeepCopy() const { in DeepCopy() function in mindspore::UndeterminedType
29 return std::make_shared<UndeterminedType>(element_type_->DeepCopy()); in DeepCopy()
66 TypePtr TensorType::DeepCopy() const { in DeepCopy() function in mindspore::TensorType
73 return std::make_shared<TensorType>(element_type_->DeepCopy()); in DeepCopy()
111 TypePtr RowTensorType::DeepCopy() const { in DeepCopy() function in mindspore::RowTensorType
116 return std::make_shared<RowTensorType>(element_type_->DeepCopy()); in DeepCopy()
153 TypePtr SparseTensorType::DeepCopy() const { in DeepCopy() function in mindspore::SparseTensorType
158 return std::make_shared<SparseTensorType>(element_type_->DeepCopy()); in DeepCopy()
Dcontainer.cc59 TypePtr List::DeepCopy() const { in DeepCopy() function in mindspore::List
65 [](const TypePtr &ele) { return ele->DeepCopy(); }); in DeepCopy()
115 TypePtr Class::DeepCopy() const { in DeepCopy() function in mindspore::Class
145 TypePtr Tuple::DeepCopy() const { in DeepCopy() function in mindspore::Tuple
151 [](const TypePtr &ele) { return ele->DeepCopy(); }); in DeepCopy()
192 TypePtr Dictionary::DeepCopy() const { in DeepCopy() function in mindspore::Dictionary
199 …pair<std::string, TypePtr> &item) { return std::make_pair(item.first, item.second->DeepCopy()); }); in DeepCopy()
Dempty.h44 TypePtr DeepCopy() const override;
56 TypePtr DeepCopy() const override { return std::make_shared<TypeNone>(); } in DeepCopy() function
69 TypePtr DeepCopy() const override { return std::make_shared<TypeNull>(); } in DeepCopy() function
81 TypePtr DeepCopy() const override { return std::make_shared<TypeEllipsis>(); } in DeepCopy() function
Dmonad_type.h33 TypePtr DeepCopy() const override = 0;
48 TypePtr DeepCopy() const override { return std::make_shared<UMonadType>(); } in DeepCopy() function
61 TypePtr DeepCopy() const override { return std::make_shared<IOMonadType>(); } in DeepCopy() function
Dnumber.h53 TypePtr DeepCopy() const override { return std::make_shared<Number>(); } in DeepCopy() function
81 TypePtr DeepCopy() const override { return std::make_shared<Bool>(); } in DeepCopy() function
95 TypePtr DeepCopy() const override { in DeepCopy() function
118 TypePtr DeepCopy() const override { in MS_DECLARE_PARENT()
140 TypePtr DeepCopy() const override { in DeepCopy() function
162 TypePtr DeepCopy() const override { return std::make_shared<Complex>(nbits()); } in DeepCopy() function
Dtensor_type.h49 TypePtr DeepCopy() const override;
72 TypePtr DeepCopy() const override;
95 TypePtr DeepCopy() const override;
118 TypePtr DeepCopy() const override;
Dref.cc25 TypePtr RefType::DeepCopy() const { in DeepCopy() function in mindspore::RefType
29 auto subtype = TensorType::DeepCopy()->cast<TensorTypePtr>(); in DeepCopy()
Dcontainer.h52 TypePtr DeepCopy() const override;
79 TypePtr DeepCopy() const override;
114 TypePtr DeepCopy() const override;
143 TypePtr DeepCopy() const override;
Dref.h37 TypePtr DeepCopy() const override { return std::make_shared<RefKeyType>(); } in DeepCopy() function
50 TypePtr DeepCopy() const override;
Dtype.h80 virtual TypePtr DeepCopy() const = 0;
81 virtual TypePtr Clone() const { return DeepCopy(); } in Clone()
/third_party/boost/libs/parameter/test/literate/
Dtop-level0.cpp25 struct DeepCopy struct
52 , test::copy_policy<test::DeepCopy> in main()
/third_party/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter.h189 DeepCopy(); in Event()
194 DeepCopy(); in Event()
201 DeepCopy();
208 void DeepCopy();
/third_party/boost/boost/xpressive/detail/static/transforms/
Das_action.hpp113 struct DeepCopy struct
117 , otherwise< nary_expr<_, vararg<DeepCopy> > >
266 typename DeepCopy::impl<action_type, expr_type, int>::result_type
306 DeepCopy::impl<action_type, expr_type, int>()( in operator ()()
/third_party/mindspore/mindspore/ccsrc/frontend/operator/
Dprim_to_function.cc47 *func = Function(one_arg, retval).DeepCopy()->cast<FunctionPtr>(); in GetFunction()
50 *func = Function(two_args, retval).DeepCopy()->cast<FunctionPtr>(); in GetFunction()
/third_party/protobuf/src/google/protobuf/
Dunknown_field_set.cc72 fields_.back().DeepCopy((other.fields_)[i]); in InternalMergeFrom()
83 fields_.back().DeepCopy((other.fields_)[i]); in MergeFrom()
178 fields_.back().DeepCopy(field); in AddField()
252 void UnknownField::DeepCopy(const UnknownField& other) { in DeepCopy() function in google::protobuf::UnknownField
Dunknown_field_set.h280 void DeepCopy(const UnknownField& other);
/third_party/boost/boost/msm/back/
Dcopy_policies.hpp24 struct DeepCopy struct
/third_party/cef/libcef/browser/
Dextension_impl.cc19 new CefDictionaryValueImpl(extension->manifest()->value()->DeepCopy(), in CefExtensionImpl()
/third_party/protobuf/python/google/protobuf/pyext/
Drepeated_composite_container.cc466 PyObject* DeepCopy(PyObject* pself, PyObject* arg) { in Subscript() function
467 return reinterpret_cast<RepeatedCompositeContainer*>(pself)->DeepCopy(); in Subscript()
516 { "__deepcopy__", DeepCopy, METH_VARARGS, in Subscript()
Drepeated_scalar_container.cc689 PyObject* DeepCopy(PyObject* pself, PyObject* arg) { in Subscript() function
690 return reinterpret_cast<RepeatedScalarContainer*>(pself)->DeepCopy(); in Subscript()
714 { "__deepcopy__", DeepCopy, METH_VARARGS, in Subscript()
Dmessage.h95 PyObject* DeepCopy();
/third_party/gn/src/base/
Dvalues.h326 Value* DeepCopy() const;
573 DictionaryValue* DeepCopy() const;
712 ListValue* DeepCopy() const;
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Ddtype_py.cc52 return t->DeepCopy(); in __anonbf3463190102()

12