Searched refs:old_shape (Results 1 – 2 of 2) sorted by relevance
261 std::vector<size_type> old_shape(A.num_dimensions()); in modify() local264 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()
438 auto &old_shape = inputs[0]->shape; in InferShape() local440 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()