Home
last modified time | relevance | path

Searched refs:old_shape (Results 1 – 2 of 2) sorted by relevance

/third_party/boost/libs/multi_array/test/
Dgenerative_tests.hpp261 std::vector<size_type> old_shape(A.num_dimensions()); in modify() local
264 std::copy(A.shape(),A.shape()+A.num_dimensions(),old_shape.begin()); in modify()
265 std::copy(old_shape.rbegin(),old_shape.rend(),new_shape.begin()); in modify()
268 A.reshape(old_shape); in modify()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/model/
Dop_node.cc438 auto &old_shape = inputs[0]->shape; in InferShape() local
440 if (perm.size() != old_shape.size()) { in InferShape()
441 …MS_LOG(EXCEPTION) << "perm.size() != old_shape.size(). " << perm.size() << " vs " << old_shape.siz… in InferShape()
444 [&old_shape](int64_t p) { return old_shape[LongToSize(p)]; }); in InferShape()