Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/
Dminimum_grad.py64 def get_reduce_axis(original_shape, broadcast_shape): argument
66 if len(original_shape) > len(broadcast_shape):
69 tmp_shape = [1] * (len(broadcast_shape) - len(original_shape)) + original_shape
/third_party/mindspore/mindspore/ccsrc/ps/
Dparameter_server.cc107 auto original_shape = std::make_shared<std::vector<size_t>>(); in InitOptimInputsShape() local
108 MS_EXCEPTION_IF_NULL(original_shape); in InitOptimInputsShape()
110 original_inputs_shape->push_back(original_shape); in InitOptimInputsShape()
114 original_shape->push_back(values[val_idx++]); in InitOptimInputsShape()
/third_party/mindspore/mindspore/numpy/
Darray_ops.py1074 original_shape = a.shape
1090 a = a.reshape(original_shape)