Home
last modified time | relevance | path

Searched refs:parent_context (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dstack_frame.cc45 AnalysisContextPtr parent_context = nullptr; in GetParentContext() local
48 parent_context = func_graph_abs->context(); in GetParentContext()
50 parent_context = fg_evaluator->parent_context(); in GetParentContext()
51 if (parent_context == nullptr) { in GetParentContext()
52 parent_context = AnalysisContext::DummyContext(); in GetParentContext()
53 fg_evaluator->set_parent_context(parent_context); in GetParentContext()
58 return parent_context; in GetParentContext()
94 AnalysisContextPtr parent_context = GetParentContext(fg_evaluator, graph_func); in DoJump() local
95 MS_EXCEPTION_IF_NULL(parent_context); in DoJump()
96 auto new_context = parent_context->NewContext(fg, args_abs_list); in DoJump()
[all …]
Dstack_frame.h37 const AnalysisContextPtr &parent_context) in StackFrame() argument
41 parent_context_(parent_context), in StackFrame()
91 AnalysisContextPtr parent_context() const { return parent_context_; } in parent_context() function
Devaluator.h215 AnalysisContextPtr parent_context() const { return parent_context_; } in parent_context() function
216 …void set_parent_context(const AnalysisContextPtr &parent_context) { parent_context_ = parent_conte… in set_parent_context() argument
Dprogram_specialize.cc525 MS_EXCEPTION_IF_NULL(evaluator->parent_context()); in MakeContext()
526 …AnalysisContextPtr new_context = evaluator->parent_context()->NewContext(fg, normalized_args_spec_… in MakeContext()
/third_party/mindspore/mindspore/core/abstract/
Danalysis_context.cc32 AnalysisContextPtr parent_context = nullptr; in NewContext() local
35 parent_context = iter->second.lock(); in NewContext()
37 if (parent_context == nullptr) { // If parent context is not found, we'll raise exception. in NewContext()
50 auto children_context_map_iter = parent_context->children_cache_.find(func_graph); in NewContext()
51 if (children_context_map_iter != parent_context->children_cache_.end()) { in NewContext()
60 AnalysisContextPtr new_context = CreateContext(parent_context, func_graph, args_spec_list); in NewContext()
64 parent_context->children_cache_[func_graph][args_spec_list] = weak_new_context; in NewContext()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkcontext.c55 GstMsdkContext *parent_context; member
270 if (priv->parent_context) { in gst_msdk_context_finalize()
271 gst_object_unref (priv->parent_context); in gst_msdk_context_finalize()
401 priv->parent_context = gst_object_ref (parent); in gst_msdk_context_new_with_parent()
Dgstmsdkdec.c804 GstMsdkContext *parent_context, *msdk_context; in gst_msdkdec_context_prepare() local
808 parent_context = thiz->context; in gst_msdkdec_context_prepare()
809 msdk_context = gst_msdk_context_new_with_parent (parent_context); in gst_msdkdec_context_prepare()
813 "as %" GST_PTR_FORMAT, parent_context); in gst_msdkdec_context_prepare()
819 gst_msdk_context_get_shared_async_depth (parent_context)); in gst_msdkdec_context_prepare()
820 gst_object_unref (parent_context); in gst_msdkdec_context_prepare()
Dgstmsdkvpp.c316 GstMsdkContext *parent_context, *msdk_context; in gst_msdkvpp_context_prepare() local
320 parent_context = thiz->context; in gst_msdkvpp_context_prepare()
321 msdk_context = gst_msdk_context_new_with_parent (parent_context); in gst_msdkvpp_context_prepare()
325 "as %" GST_PTR_FORMAT, parent_context); in gst_msdkvpp_context_prepare()
330 gst_object_unref (parent_context); in gst_msdkvpp_context_prepare()
Dgstmsdkenc.c1864 GstMsdkContext *parent_context, *msdk_context; in gst_msdkenc_context_prepare() local
1868 parent_context = thiz->context; in gst_msdkenc_context_prepare()
1869 msdk_context = gst_msdk_context_new_with_parent (parent_context); in gst_msdkenc_context_prepare()
1873 "as %" GST_PTR_FORMAT, parent_context); in gst_msdkenc_context_prepare()
1878 gst_object_unref (parent_context); in gst_msdkenc_context_prepare()