Home
last modified time | relevance | path

Searched refs:anf (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/tests/ut/cpp/utils/
Dbaseref_test.cc61 AnfNodePtr anf = NewValueNode(static_cast<int64_t>(1)); in TEST_F() local
62 BaseRef d = anf; in TEST_F()
63 MS_LOG(INFO) << "anf typeid:" << dyn_cast<AnfNode>(anf).get(); in TEST_F()
74 AnfNodePtr anf = NewValueNode(static_cast<int64_t>(1)); in TEST_F() local
75 …VectorRef a({static_cast<int64_t>(1), static_cast<int64_t>(2), anf, NewValueNode(static_cast<int64… in TEST_F()
95 VectorRef e1({static_cast<int64_t>(1), static_cast<int64_t>(2), anf}); in TEST_F()
96 VectorRef e({static_cast<int64_t>(1), static_cast<int64_t>(2), anf}); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dop_adapter.h66 OperatorPtr GenerateCustomOp(const AnfNodePtr anf);
143 OperatorPtr GenerateCustomOp(const AnfNodePtr anf) { return impl_->GenerateCustomOp(anf); } in GenerateCustomOp() argument
145 OperatorPtr GenerateNormalOp(const AnfNodePtr &anf) { in GenerateNormalOp() argument
149 if (anf != nullptr && anf->fullname_with_scope() != "") { in GenerateNormalOp()
150 MS_LOG(DEBUG) << anf->fullname_with_scope(); in GenerateNormalOp()
151 op = std::make_shared<OpType>(anf->fullname_with_scope()); in GenerateNormalOp()
158 if ((op != nullptr) && (!dyn_output_map_.empty()) && (anf != nullptr)) { in GenerateNormalOp()
159 TypePtr type = anf->Type(); in GenerateNormalOp()
164 … MS_LOG(INFO) << "create_dyn_output for node:" << anf->ToString() << ", type:" << type->ToString() in GenerateNormalOp()
171 OperatorPtr generate(const AnfNodePtr &anf) override { in generate() argument
[all …]
Dop_adapter_util.cc251 bool IsCustomCNode(const AnfNodePtr &anf) { in IsCustomCNode() argument
252 if (anf == nullptr) { in IsCustomCNode()
255 auto node = anf->cast<CNodePtr>(); in IsCustomCNode()
274 std::string GetOpIOFormat(const AnfNodePtr &anf) { in GetOpIOFormat() argument
276 if (anf == nullptr) { in GetOpIOFormat()
280 auto node = anf->cast<CNodePtr>(); in GetOpIOFormat()
Dop_adapter.cc81 OperatorPtr OpAdapterImpl::GenerateCustomOp(const AnfNodePtr anf) { in GenerateCustomOp() argument
82 MS_EXCEPTION_IF_NULL(anf); in GenerateCustomOp()
83 auto node = anf->cast<CNodePtr>(); in GenerateCustomOp()
Dop_adapter_base.h132 virtual OperatorPtr generate(const AnfNodePtr &anf) = 0;
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dsession_basic.cc249 BaseRef CreateNodeOutputTensors(const AnfNodePtr &anf, const KernelGraphPtr &graph, in CreateNodeOutputTensors() argument
253 MS_EXCEPTION_IF_NULL(anf); in CreateNodeOutputTensors()
256 MS_LOG(DEBUG) << "Create tensor for output[" << anf->DebugString() << "]"; in CreateNodeOutputTensors()
257 auto item_with_index = AnfAlgo::VisitKernelWithReturnType(anf, 0); in CreateNodeOutputTensors()
288 ValueNodePtr CreateNewValueNode(const AnfNodePtr &anf, KernelGraph *graph) { in CreateNewValueNode() argument
289 MS_EXCEPTION_IF_NULL(anf); in CreateNewValueNode()
291 auto value_node = anf->cast<ValueNodePtr>(); in CreateNewValueNode()
299 graph->FrontBackendlMapAdd(anf, new_value_node); in CreateNewValueNode()
408 BaseRef CreateNodeOutputPlaceholder(const AnfNodePtr &anf, const KernelGraphPtr &graph, in CreateNodeOutputPlaceholder() argument
412 MS_EXCEPTION_IF_NULL(anf); in CreateNodeOutputPlaceholder()
[all …]
Dcpu_session.cc60 ParameterPtr CPUSession::CreateNewParameterFromParameter(const AnfNodePtr &anf, KernelGraph *graph)… in CreateNewParameterFromParameter() argument
61 MS_EXCEPTION_IF_NULL(anf); in CreateNewParameterFromParameter()
63 if (!anf->isa<Parameter>()) { in CreateNewParameterFromParameter()
64 MS_LOG(EXCEPTION) << "anf[" << anf->DebugString() << "] is not a parameter"; in CreateNewParameterFromParameter()
70 TraceManager::DebugTrace(std::make_shared<TraceCopy>(anf->debug_info())); in CreateNewParameterFromParameter()
71 ParameterPtr new_parameter = graph->NewParameter(anf->cast<ParameterPtr>()); in CreateNewParameterFromParameter()
Dsession_basic.h294 virtual ParameterPtr CreateNewParameterFromParameter(const AnfNodePtr &anf, KernelGraph *graph);
295 ValueNodePtr CreateValueNodeKernelGraph(const AnfNodePtr &anf, KernelGraph *graph);
296 ParameterPtr CreateNewParameter(const AnfNodePtr &anf, KernelGraph *graph);
297 AnfNodePtr CreateNewParameterFromCNode(const AnfNodePtr &anf, KernelGraph *graph);
Dkernel_graph.cc971 for (const auto &anf : execution_order_) { in FindNodeByPrimitive() local
972 MS_EXCEPTION_IF_NULL(anf); in FindNodeByPrimitive()
973 … if (AnfAlgo::CheckPrimitiveType(anf, primitive) && AnfAlgo::GetGraphId(anf.get()) == graph_id_) { in FindNodeByPrimitive()
974 result.push_back(anf->cast<CNodePtr>()); in FindNodeByPrimitive()
982 for (const auto &anf : execution_order_) { in FindNodeByPrimitive() local
983 MS_EXCEPTION_IF_NULL(anf); in FindNodeByPrimitive()
985 … if (AnfAlgo::CheckPrimitiveType(anf, primitive) && AnfAlgo::GetGraphId(anf.get()) == graph_id_) { in FindNodeByPrimitive()
986 result.push_back(anf->cast<CNodePtr>()); in FindNodeByPrimitive()
Dcpu_session.h44 ParameterPtr CreateNewParameterFromParameter(const AnfNodePtr &anf, KernelGraph *graph) override;
Danf_runtime_algorithm.h116 static bool IsTupleOutput(const AnfNodePtr &anf);
Danf_runtime_algorithm.cc1533 bool AnfRuntimeAlgorithm::IsTupleOutput(const AnfNodePtr &anf) { in IsTupleOutput() argument
1534 MS_EXCEPTION_IF_NULL(anf); in IsTupleOutput()
1535 TypePtr type = anf->Type(); in IsTupleOutput()
/third_party/mindspore/mindspore/ccsrc/vm/
Dvmimpl.cc328 auto anf = utils::cast<AnfNodePtr>(v); in MakeClosure() local
329 clos[anf] = (*frame)[anf]; in MakeClosure()
/third_party/mindspore/mindspore/lite/cmake/
Dfile_list.cmake29 ${CORE_DIR}/ir/anf.h
/third_party/mindspore/cmake/
Doptions.cmake17 option(ENABLE_DUMP_PROTO "Enable dump anf graph to file in ProtoBuffer format, default on" ON)
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/
Dfull_quant_quantizer.cc874 AnfNodePtr anf = cnode->cast<AnfNodePtr>(); in PreProcess() local
875 if (anf == nullptr) { in PreProcess()
879 if (mindspore::lite::quant::QuantStrategy::CanOpFullQuantized(anf)) { in PreProcess()
/third_party/mindspore/mindspore/lite/tools/dataset/cropper/
Ddependencies.txt1anf.cc", "mindspore/ccsrc/minddata/dataset/util/queue.h", "mindspore/ccsrc/minddata/dataset/engine…
/third_party/gstreamer/gstplugins_base/po/
Dde.po575 "Nicht nach dem Anzeigen der anfänglichen Geräteliste beenden, sondern auf "
/third_party/openGLES/extensions/NV/
DNV_pixel_buffer_object.txt419 MapBufferRangeEXT anf FlushMappedBufferRangeEXT should be ignored.
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_pixel_buffer_object.txt419 MapBufferRangeEXT anf FlushMappedBufferRangeEXT should be ignored.
/third_party/glib/po/
Dda.po5787 msgstr "Anført tekst begynder ikke med anførselstegn"
5792 "Uafbalanceret anførselstegn i kommandolinje eller anden skal-anført tekst"
5803 "Tekst sluttede før tilsvarende anførselstegn blev fundet for %c (teksten var "
/third_party/gettext/gettext-tools/po/
Dde.po3329 "Das Feld »%s« im Kopfeintrag hat immer noch den anfänglichen Vorgabewert\n"