Home
last modified time | relevance | path

Searched refs:IsCompatible (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Ddatatype_test.cc125 ASSERT_TRUE(DataType(DataType::DE_BOOL).IsCompatible<bool>()); in TEST_F()
126 ASSERT_TRUE(DataType(DataType::DE_UINT8).IsCompatible<uint8_t>()); in TEST_F()
127 ASSERT_TRUE(DataType(DataType::DE_INT8).IsCompatible<int8_t>()); in TEST_F()
128 ASSERT_TRUE(DataType(DataType::DE_UINT16).IsCompatible<uint16_t>()); in TEST_F()
129 ASSERT_TRUE(DataType(DataType::DE_INT16).IsCompatible<int16_t>()); in TEST_F()
130 ASSERT_TRUE(DataType(DataType::DE_UINT32).IsCompatible<uint32_t>()); in TEST_F()
131 ASSERT_TRUE(DataType(DataType::DE_INT32).IsCompatible<int32_t>()); in TEST_F()
132 ASSERT_TRUE(DataType(DataType::DE_UINT64).IsCompatible<uint64_t>()); in TEST_F()
133 ASSERT_TRUE(DataType(DataType::DE_INT64).IsCompatible<int64_t>()); in TEST_F()
134 ASSERT_TRUE(DataType(DataType::DE_FLOAT32).IsCompatible<float>()); in TEST_F()
[all …]
/third_party/boost/boost/gil/extension/dynamic_image/
Dalgorithm.hpp185 template <bool IsCompatible>
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Ddata_type.h176 bool IsCompatible() const { in IsCompatible() function
Dtensor.h296 if ((data_ != nullptr) && type_.IsCompatible<T>()) { in Fill()
304 err += type_.IsCompatible<T>() ? "data type not compatible\t" : ""; in Fill()
Dtensor.cc504 if (type_.IsCompatible<T>()) { in GetItemPtr()
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_auto_monad.cc154 bool IsCompatible(const abstract::AbstractBasePtr &a1, const abstract::AbstractBasePtr &a2) { in IsCompatible() function
173 if (!IsCompatible(a1_elements[i], a2_elements[i])) { in IsCompatible()
275 return IsCompatible(abs, para_abs); in GetParameter()
580 if (!IsCompatible(call_site->cnode->abstract(), callee->output()->abstract())) { in HandleCallReturn()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dgraph_data_impl.cc59 if (!type.IsCompatible<T>()) { in CreateTensorByVector()