Home
last modified time | relevance | path

Searched refs:parameter_ptr (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dpipeline_split_utils.cc175 auto parameter_ptr = cnode->input(1)->cast<ParameterPtr>(); in HandleReceiveParam() local
176 MS_EXCEPTION_IF_NULL(parameter_ptr); in HandleReceiveParam()
177 auto accu_parameter = FindGradAccuParameter(parameters, parameter_ptr->name()); in HandleReceiveParam()
206 auto parameter_ptr = parameter->cast<ParameterPtr>(); in AddVirtualAssignAdd() local
207 auto accu_parameter = FindGradAccuParameter(parameters, parameter_ptr->name()); in AddVirtualAssignAdd()
/third_party/mindspore/mindspore/ccsrc/debug/
Danf_ir_dump.cc192 auto parameter_ptr = p->cast<ParameterPtr>(); in DumpParams() local
193 if (parameter_ptr == nullptr) { in DumpParams()
196 buffer << "%para" << para << "_" << parameter_ptr->name() << " : "; in DumpParams()
206 buffer << " : IsWeight:" << std::boolalpha << AnfAlgo::IsParameterWeight(parameter_ptr); in DumpParams()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel.cc1643 auto parameter_ptr = parameter->cast<ParameterPtr>(); in SetSharedParameterFlag() local
1644 if (!parameter_ptr) { in SetSharedParameterFlag()
1656 auto tensor_layout = parameter_ptr->user_data<TensorLayout>(); in SetSharedParameterFlag()
1700 ParameterPtr parameter_ptr = parameter->cast<ParameterPtr>(); in SetParallelShape() local
1701 MS_EXCEPTION_IF_NULL(parameter_ptr); in SetParallelShape()
1702 parameter_ptr->set_user_data<TensorLayout>(std::make_shared<TensorLayout>(tensor_layout)); in SetParallelShape()