Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/tensor_layout/
Dtensor_layout.cc334 Arrangement new_tensor_shape; in slice_shape() local
335 if (new_tensor_shape.Init(shape) == Status::FAILED) { in slice_shape()
339 return new_tensor_shape; in slice_shape()
/third_party/mindspore/tests/ut/cpp/parallel/tensor_layout/
Dtensor_layout_test.cc228 Arrangement new_tensor_shape = tensor_layout.slice_shape(); in TEST_F() local
231 ASSERT_EQ(new_tensor_shape, expected_shape); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/ps/
Dparameter_server.cc553 std::vector<int64_t> new_tensor_shape(input_shapes.begin(), input_shapes.end()); in SyncEmbeddingTables() local
555 …sor::TensorPtr new_tensor = std::make_shared<tensor::Tensor>(kNumberTypeFloat32, new_tensor_shape); in SyncEmbeddingTables()