Home
last modified time | relevance | path

Searched refs:expect_size (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dtexcompress_cpal.c114 unsigned w, h, expect_size; in _mesa_cpal_compressed_size() local
124 expect_size = info->palette_size * info->size; in _mesa_cpal_compressed_size()
134 expect_size += (w * h + 1) / 2; in _mesa_cpal_compressed_size()
136 expect_size += w * h; in _mesa_cpal_compressed_size()
139 return expect_size; in _mesa_cpal_compressed_size()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_dataset_coco_test.cc252 std::vector<std::vector<dsize_t>> expect_size = {{1, 51}, {1, 51}}; in TEST_F() local
264 dsize_t keypoints_size = expect_size[i][0]; in TEST_F()
265 …ASSERT_OK(Tensor::CreateFromVector(expect_keypoint_vector[i], TensorShape(expect_size[i]), &de_exp… in TEST_F()
312 std::vector<std::vector<dsize_t>> expect_size = {{3, 4}, {2, 4}}; in TEST_F() local
325 dsize_t bbox_size = expect_size[i][0]; in TEST_F()
326 …ASSERT_OK(Tensor::CreateFromVector(expect_bbox_vector[i], TensorShape(expect_size[i]), &de_expect_… in TEST_F()
412 …std::vector<std::vector<dsize_t>> expect_size = {{2, 10}, {2, 11}, {1, 12}, {1, 13}, {1, 14}, {2, … in TEST_F() local
422 …ASSERT_OK(Tensor::CreateFromVector(expect_segmentation_vector[i], TensorShape(expect_size[i]), &de… in TEST_F()
Dimage_process_test.cc212 int expect_size = w * h + 2 * ((w + 1) / 2) * ((h + 1) / 2); in ReadYUV() local
213 if (size != expect_size) { in ReadYUV()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/
Dcommon_utils.h164 #define CHECK_KERNEL_WORKSPACE_SIZE(actual_size, expect_size, kernel_name) … argument
166 …if ((actual_size) != (expect_size)) { …
167 …MS_LOG(EXCEPTION) << (kernel_name) << " requires " << (expect_size) << " workspace, but got " << (…
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dclean.cc41 inline void CheckInputsSize(size_t actual_size, size_t expect_size, const std::string &op_name) { in CheckInputsSize() argument
42 if (actual_size != expect_size) { in CheckInputsSize()
43 …MS_LOG(EXCEPTION) << op_name << " should have " << expect_size << " inputs, but got " << actual_si… in CheckInputsSize()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc414 constexpr size_t expect_size = 2; in ParseExpr() local
415 if (expand_info.size() < expect_size) { in ParseExpr()
416 …LOG(EXCEPTION) << "expand_info size:" << expand_info.size() << " less than " << expect_size << "."; in ParseExpr()