Home
last modified time | relevance | path

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

/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_topk.cc41 auto tensor_x_data = reinterpret_cast<int *>(tensor_x->data_c()); in TEST_F() local
42 *tensor_x_data = 1; in TEST_F()
43 tensor_x_data++; in TEST_F()
44 *tensor_x_data = 2; in TEST_F()
45 tensor_x_data++; in TEST_F()
46 *tensor_x_data = 3; in TEST_F()
47 tensor_x_data++; in TEST_F()
48 *tensor_x_data = 4; in TEST_F()
49 tensor_x_data++; in TEST_F()
50 *tensor_x_data = 5; in TEST_F()
[all …]
Dtest_ops_gather.cc39 auto tensor_x_data = reinterpret_cast<int *>(tensor_x->data_c()); in TEST_F() local
40 *tensor_x_data = 1; in TEST_F()
41 tensor_x_data++; in TEST_F()
42 *tensor_x_data = 2; in TEST_F()
43 tensor_x_data++; in TEST_F()
44 *tensor_x_data = 3; in TEST_F()
45 tensor_x_data++; in TEST_F()
46 *tensor_x_data = 4; in TEST_F()
47 tensor_x_data++; in TEST_F()
Dtest_ops_unsqueeze.cc81 auto tensor_x_data = reinterpret_cast<int *>(tensor_x->data_c()); in TEST_F() local
82 *tensor_x_data = 1; in TEST_F()
83 tensor_x_data++; in TEST_F()
84 *tensor_x_data = 2; in TEST_F()
85 tensor_x_data++; in TEST_F()
86 *tensor_x_data = 3; in TEST_F()
87 tensor_x_data++; in TEST_F()