Home
last modified time | relevance | path

Searched refs:AsCVType (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dcv_tensor.cc77 if (type.AsCVType() == kCVInvalidType) return std::make_pair(size, -1); in IsValidImage()
78 int cv_type = CV_MAKETYPE(type.AsCVType(), ch); in IsValidImage()
106 uint8_t cv_type = type.AsCVType(); in MatInit()
Ddata_type.cc47 uint8_t DataType::AsCVType() const { in AsCVType() function in mindspore::dataset::DataType
Ddata_type.h160 uint8_t AsCVType() const;
/third_party/mindspore/tests/ut/cpp/dataset/
Ddatatype_test.cc81 ASSERT_EQ(d.AsCVType(), kCVInvalidType); in FromDT()
83 ASSERT_EQ(d.AsCVType(), cv_type); in FromDT()
Dtensor_test.cc254 ASSERT_EQ(static_cast<uchar>(m.type()) & static_cast<uchar>(CV_MAT_DEPTH_MASK), type.AsCVType()); in checkCvMat()