Home
last modified time | relevance | path

Searched refs:DE_UINT32 (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mindspore/tests/ut/cpp/dataset/
Ddatatype_test.cc57 x = DataType::kTypeInfo[DataType::DE_UINT32].sizeInBytes_; in TEST_F()
58 d = DataType(DataType::DE_UINT32); in TEST_F()
80 …if (d == DataType::DE_UNKNOWN || d == DataType::DE_UINT32 || d == DataType::DE_UINT64 || d == Data… in FromDT()
98 DataType d5 = DataType(DataType::DE_UINT32); in TEST_F()
99 ASSERT_EQ(d5, DataType::DE_UINT32); in TEST_F()
115 FromDT(DataType(DataType::DE_UINT32), 0, "uint32"); in TEST_F()
130 ASSERT_TRUE(DataType(DataType::DE_UINT32).IsCompatible<uint32_t>()); in TEST_F()
140 ASSERT_FALSE(DataType(DataType::DE_UINT32).IsCompatible<uint16_t>()); in TEST_F()
150 ASSERT_TRUE(DataType(DataType::DE_UINT32).IsLooselyCompatible<uint64_t>()); in TEST_F()
Dcifar_op_test.cc60 …(void)schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexibl… in Cifarop()
63 … ColDescriptor("coarse_label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &scalar)); in Cifarop()
66 …ColDescriptor("fine_label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &another_scal… in Cifarop()
Dir_callback_test.cc138 ColDescriptor col("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &shape); in TEST_F()
201 ColDescriptor col("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &shape); in TEST_F()
274 ColDescriptor col("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &shape); in TEST_F()
Dc_api_dataset_voc_test.cc54 …ASSERT_OK(Tensor::CreateFromMemory(TensorShape({1, 1}), DataType(DataType::DE_UINT32), nullptr, &d… in TEST_F()
143 …ASSERT_OK(Tensor::CreateFromMemory(TensorShape({1, 1}), DataType(DataType::DE_UINT32), nullptr, &d… in TEST_F()
Dcache_op_test.cc91 ColDescriptor c2("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, rank, &c2Shape); in TEST_F()
250 ColDescriptor c2("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, rank, &c2Shape); in TEST_F()
366 ColDescriptor c2("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, rank, &c2Shape); in TEST_F()
Dceleba_op_test.cc49 …(void)schema->AddColumn(ColDescriptor("attr", DataType(DataType::DE_UINT32), TensorImpl::kFlexible… in Celeba()
Dmanifest_op_test.cc50 …schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1));
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dcoco_node.cc102 …ColDescriptor(std::string("category_id"), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1)… in Build()
104 … ColDescriptor(std::string("iscrowd"), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1))); in Build()
110 … ColDescriptor(std::string("iscrowd"), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1))); in Build()
116 …ColDescriptor(std::string("num_keypoints"), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, … in Build()
122 …ColDescriptor(std::string("category_id"), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1)… in Build()
124 … ColDescriptor(std::string("iscrowd"), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1))); in Build()
126 …schema->AddColumn(ColDescriptor(std::string("area"), DataType(DataType::DE_UINT32), TensorImpl::kF… in Build()
Dvoc_node.cc110 …ColDescriptor(std::string(kColumnLabel), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 1))… in Build()
112 …ColDescriptor(std::string(kColumnDifficult), DataType(DataType::DE_UINT32), TensorImpl::kFlexible,… in Build()
114 …ColDescriptor(std::string(kColumnTruncate), DataType(DataType::DE_UINT32), TensorImpl::kFlexible, … in Build()
Dcifar100_node.cc66 …schema->AddColumn(ColDescriptor("coarse_label", DataType(DataType::DE_UINT32), TensorImpl::kFlexib… in Build()
68 …schema->AddColumn(ColDescriptor("fine_label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible… in Build()
Dcifar10_node.cc66 …schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, … in Build()
Dusps_node.cc80 …schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, … in Build()
Dmnist_node.cc62 …schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, … in Build()
Dceleba_node.cc72 …RETURN_IF_NOT_OK(schema->AddColumn(ColDescriptor("attr", DataType(DataType::DE_UINT32), TensorImpl… in Build()
Dmanifest_node.cc99 …schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, … in Build()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Ddata_type.h47 DE_UINT32, enumerator
225 …turn type_ == DataType::DE_UINT8 || type_ == DataType::DE_UINT16 || type_ == DataType::DE_UINT32 || in IsUnsignedInt()
282 return DataType(DataType::DE_UINT32);
343 …return type_ == DataType::DE_UINT64 || type_ == DataType::DE_UINT32 || type_ == DataType::DE_UINT1…
354 …return type_ == DataType::DE_UINT32 || type_ == DataType::DE_UINT16 || type_ == DataType::DE_UINT8;
Dtype_id.h39 return dataset::DataType(dataset::DataType::DE_UINT32); in MSTypeToDEType()
71 case dataset::DataType::DE_UINT32: in DETypeToMSType()
Ddata_type.cc106 type_ = DE_UINT32; in DataType()
145 return DataType(DataType::DE_UINT32); in FromNpArray()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dtensor_proto.cc29 …{DataTypePb::DE_PB_INT32, DataType::DE_INT32}, {DataTypePb::DE_PB_UINT32, DataType::DE_UINT32},
39 …{DataType::DE_INT32, DataTypePb::DE_PB_INT32}, {DataType::DE_UINT32, DataTypePb::DE_PB_UINT32},
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_fbb.cc45 CASE(DE_UINT32); in SerializeOneTensorMeta()
126 CASE(DE_UINT32); in RestoreOneTensor()
Dde_tensor.fbs27 DE_UINT32 = 7,
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drgb_to_bgr_op.cc28 …CHECK_FAIL_RETURN_UNEXPECTED(input_type != DataType::DE_UINT32 && input_type != DataType::DE_UINT6… in Compute()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dcifar_op.cc301 …new_schema->AddColumn(ColDescriptor("label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible,… in CountTotalRows()
304 … ColDescriptor("coarse_label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &scalar))); in CountTotalRows()
307 …ColDescriptor("fine_label", DataType(DataType::DE_UINT32), TensorImpl::kFlexible, 0, &another_scal… in CountTotalRows()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/
Ddata_utils.cc51 } else if (input->type() == DataType::DE_UINT32) { in OneHotEncodingUnsigned()
158 case DataType::DE_UINT32: { in FillHelper()
277 case DataType::DE_UINT32: in CastFrom()
324 case DataType::DE_UINT32: in TypeCast()
428 } else if (tensor_type == DataType::DE_UINT32) { in PadEndNumeric()
573 case DataType::DE_UINT32: in Mask()
829 } else if (input->type() == DataType::DE_UINT32) { in Unique()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/tdt/
Dtdt_plugin.cc125 case DataType::DE_UINT32: in getTdtType()

12