Home
last modified time | relevance | path

Searched defs:tensor_layout (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/tensor_layout/
Dtensor_info.h35 TensorInfo(const TensorLayout &tensor_layout, Shape shape, Shape slice_shape) in TensorInfo()
37 explicit TensorInfo(const TensorLayout &tensor_layout) : tensor_layout_(tensor_layout) { in TensorInfo()
44 TensorLayout tensor_layout() const { return tensor_layout_; } in tensor_layout() function
Dtensor_layout.h73 bool IsSameTensorShape(const TensorLayout &tensor_layout) const { in IsSameTensorShape()
77 bool IsSameDeviceArrangement(const TensorLayout &tensor_layout) const { in IsSameDeviceArrangement()
81 …bool IsSameTensorMap(const TensorLayout &tensor_layout) const { return (tensor_map_ == tensor_layo… in IsSameTensorMap()
Dredistribution_operator_infer.cc26 Status RedistributionOperatorInfer::Init(const TensorLayout &tensor_layout, const Map &out_tensor_m… in Init()
/third_party/mindspore/tests/ut/cpp/parallel/tensor_layout/
Dtensor_layout_test.cc53 TensorLayout tensor_layout; in ReshapeExpandDeviceArrangementTestFunction() local
173 TensorLayout tensor_layout; in ExpandTensorShapeTestFunction() local
226 TensorLayout tensor_layout; in TEST_F() local
244 TensorLayout tensor_layout; in TEST_F() local
267 TensorLayout tensor_layout; in RemoveElementEqualToOneInDeviceArrangementTestFunction() local
324 TensorLayout tensor_layout; in TEST_F() local
342 TensorLayout tensor_layout; in TEST_F() local
363 TensorLayout tensor_layout; in TEST_F() local
384 TensorLayout tensor_layout; in TEST_F() local
Dconstruct_operator_test.cc93 TensorLayout tensor_layout; in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dget_parallel_info.cc38 auto tensor_layout = para->user_data<parallel::TensorLayout>(); in GetParameterLayout() local
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dparameter_manager.cc378 auto tensor_layout = param_ptr->user_data<parallel::TensorLayout>(); in IsFullySplitParameter() local
507 auto tensor_layout = cloned_from_parameter->user_data<TensorLayout>(); in SetClonedTensorShapeForOptimizer() local
550 auto tensor_layout = param->user_data<TensorLayout>(); in HandleAdaFactorOpt() local
Dstep_parallel.cc619 TensorLayout tensor_layout = tensor_info.tensor_layout(); in SplitTensor() local
669 TensorLayout tensor_layout = tensor_info.tensor_layout(); in SplitTensorList() local
1609 static std::string GetOptShardGroup(const AnfNodePtr &parameter, TensorLayout *const tensor_layout, in GetOptShardGroup()
1656 auto tensor_layout = parameter_ptr->user_data<TensorLayout>(); in SetSharedParameterFlag() local
1680 TensorLayout tensor_layout = tensorinfo_in.tensor_layout(); in SetParallelShape() local
/third_party/mindspore/mindspore/parallel/
D_utils.py300 def _remove_repeated_slices(tensor_layout): argument
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/strategy_checkpoint/
Dparallel_strategy_checkpoint.cc163 TensorLayoutPtr tensor_layout = node_tensor_info.second; in Save() local
/third_party/mindspore/mindspore/train/
Dserialization.py1507 def _convert_to_layout(param_name, tensor_layout): argument
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Doperator_info.cc459 Operator CreateGetTensorSliceOp(const TensorLayout &tensor_layout) { in CreateGetTensorSliceOp()
547 Status OperatorInfo::CreateGroupForOptShard(TensorLayout *const tensor_layout, std::vector<Group> *… in CreateGroupForOptShard()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/
Dpipeline_transformer.cc647 auto tensor_layout = tensor_info.tensor_layout(); in InsertReceive() local