Home
last modified time | relevance | path

Searched defs:slice_shape (Results 1 – 16 of 16) 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()
45 Shape slice_shape() const { return slice_shape_; } in slice_shape() function
Dtensor_redistribution.cc211 Shape slice_shape = op_cost.second; in ComputeCost() local
Dtensor_layout.cc322 Arrangement TensorLayout::slice_shape() const { in slice_shape() function in mindspore::parallel::TensorLayout
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dparameter_manager.h36 Shape slice_shape; member
Dparameter_manager.cc362 Shape slice_shape = parameter_shape[0]; in HandleNoUsedParameter() local
514 auto slice_shape = cloned_from_parameter->user_data<TensorLayout>()->slice_shape().array(); in SetClonedTensorShapeForOptimizer() local
571 auto slice_shape = tensor_layout->slice_shape().array(); in HandleAdaFactorOpt() local
Dstep_parallel.cc1681 Shape slice_shape = tensor_layout.slice_shape().array(); in SetParallelShape() local
2381 auto slice_shape = loss_grad_layout.slice_shape().array(); in SplitSens() local
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dget_parallel_info.cc44 auto slice_shape = tensor_layout->slice_shape().array(); in GetParameterLayout() local
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/
Doperator_costmodel.cc1085 bool IsDataParallel(const Shape &shape, const Shape &slice_shape, int64_t stage_id) { in IsDataParallel()
1350 Shape slice_shape = tensor_info.slice_shape(); in GetForwardComputationCost() local
1391 Shape slice_shape = tensor_info.slice_shape(); in GetBackwardCommCost() local
1416 Shape slice_shape = tensor_info.slice_shape(); in GetForwardComputationCost() local
1784 Shape slice_shape = tensor_info.slice_shape(); in GetForwardComputationCost() local
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dreshape_info.cc246 Shape slice_shape; in InferTensorInfo() local
Dmatmul_info.cc580 auto slice_shape = one_input_tensor.slice_shape(); in CheckForTensorSliceValid() local
Dgather_v2_p_info.cc323 …auto slice_shape = param_shape.at(param_shape.size() - 1) / param_strategy.at(param_strategy.size(… in CheckStrategy() local
Doperator_info.cc642 Shape slice_shape; in GetSliceShape() local
685 Shape slice_shape = GetSliceShape(shapes.at(i), strategys.at(i)); in InferSliceShapeByStrategy() local
/third_party/mindspore/mindspore/common/
Dparameter.py490 def set_data(self, data, slice_shape=False): argument
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/pipeline_transformer/
Dpipeline_transformer.cc592 auto slice_shape = tensor_info.slice_shape(); in InsertSend() local
648 Shape slice_shape = tensor_info.slice_shape(); in InsertReceive() local
/third_party/mindspore/mindspore/ops/composite/multitype_ops/
D_constexpr_utils.py813 def compute_slice_shape(slice_shape, broadcast_shape_len, slice_cnt, fancy_position): argument
/third_party/python/Lib/test/
Dtest_buffer.py357 def slice_shape(lst, slices): function