/third_party/mindspore/tests/ut/cpp/dataset/ |
D | tensor_test.cc | 39 Tensor::CreateEmpty(TensorShape({2, 3}), DataType(DataType::DE_UINT64), &t); in TEST_F() 79 Tensor::CreateEmpty(TensorShape({2, 2}), DataType(DataType::DE_FLOAT32), &t); in TEST_F() 89 Tensor::CreateEmpty(TensorShape({2, 2}), DataType(DataType::DE_UINT8), &t); in TEST_F() 109 Tensor::CreateEmpty(TensorShape({}), DataType(DataType::DE_INT16), &t); in TEST_F() 133 Tensor::CreateEmpty(TensorShape({2, 3}), DataType(DataType::DE_FLOAT64), &t); in TEST_F() 170 Tensor::CreateEmpty(TensorShape({2}), DataType(DataType::DE_BOOL), &t); in TEST_F() 179 Tensor::CreateEmpty(TensorShape({2, 2}), DataType(DataType::DE_UINT8), &t); in TEST_F() 194 Tensor::CreateEmpty(TensorShape({2, 2}), DataType(DataType::DE_INT8), &t2); in TEST_F() 209 Tensor::CreateEmpty(TensorShape({2, 2}), DataType(DataType::DE_FLOAT32), &t3); in TEST_F() 221 Tensor::CreateEmpty(TensorShape({2, 2}), DataType(DataType::DE_UINT8), &t); in TEST_F() [all …]
|
D | cutmix_batch_op_test.cc | 38 …Tensor::CreateEmpty(TensorShape({2, input_tensor_resized->shape()[0], input_tensor_resized->shape(… in TEST_F() 69 …Tensor::CreateEmpty(TensorShape({2, chw_tensor->shape()[0], chw_tensor->shape()[1], chw_tensor->sh… in TEST_F() 109 …Tensor::CreateEmpty(TensorShape({2, input_tensor_->shape()[0], input_tensor_->shape()[1], input_te… in TEST_F()
|
D | random_color_op_test.cc | 34 (void)Tensor::CreateEmpty(shape, DataType(DataType::DE_UINT8), &in); 35 (void)Tensor::CreateEmpty(shape, DataType(DataType::DE_UINT8), &input_tensor);
|
D | mixup_batch_op_test.cc | 37 …Tensor::CreateEmpty(TensorShape({2, input_tensor_->shape()[0], input_tensor_->shape()[1], input_te… in TEST_F()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | lite_image_utils.cc | 212 RETURN_IF_NOT_OK(Tensor::CreateEmpty(ts, DataType(DataType::DE_UINT8), &output_tensor)); in JpegCropAndDecode() 291 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, input->type(), &output_tensor)); in Crop() 402 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, input->type(), &output_tensor)); in Resize() 433 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, DataType(DataType::DE_FLOAT32), &image_tensor)); in ResizePreserve() 477 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input->type(), &output_tensor)); in RgbToBgr() 511 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input->type(), &output_tensor)); in RgbToGray() 563 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input->type(), &output_tensor)); in Pad() 628 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input->type(), &output_tensor)); in RotateAngleWithOutMirror() 698 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input->type(), &output_tensor)); in RotateAngleWithMirror() 763 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input->type(), &output_tensor)); in Affine() [all …]
|
D | image_utils.cc | 116 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(input_cv->shape(), input_cv->type(), &output_cv)); in Flip() 167 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input_cv->type(), &output_tensor)); in Resize() 182 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(shape, input_cv->type(), &output_cv)); in Resize() 406 RETURN_IF_NOT_OK(Tensor::CreateEmpty(ts, DataType(DataType::DE_UINT8), &output_tensor)); in JpegCropAndDecode() 436 …RETURN_IF_NOT_OK(CVTensor::CreateEmpty(input_cv->shape(), DataType(DataType::DE_FLOAT32), &output_… in Rescale() 475 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(shape, input_cv->type(), &output_cv)); in Crop() 508 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(out_shape, input_cv->type(), &output_cv)); in ConvertColor() 542 …RETURN_IF_NOT_OK(CVTensor::CreateEmpty(TensorShape{num_channels, height, width}, input_cv->type(),… in HwcToChw() 650 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(input_cv->shape(), input_cv->type(), &output_cv)); in SwapRedAndBlue() 690 RETURN_IF_NOT_OK(Tensor::CreateEmpty(new_shape, input_cv->type(), &output_tensor)); in CropAndResize() [all …]
|
D | invert_op.cc | 47 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(input_cv->shape(), input_cv->type(), &output_cv)); in Compute()
|
D | solarize_op.cc | 46 RETURN_IF_NOT_OK(CVTensor::CreateEmpty(input_cv->shape(), input_cv->type(), &output_cv_tensor)); in Compute()
|
/third_party/skia/src/core/ |
D | SkFontMgr.cpp | 32 SkFontStyleSet* SkFontStyleSet::CreateEmpty() { return new SkEmptyFontStyleSet; } in CreateEmpty() function in SkFontStyleSet 49 return SkFontStyleSet::CreateEmpty(); in onMatchFamily() 83 fsset = SkFontStyleSet::CreateEmpty(); in emptyOnNull()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/data/ |
D | data_utils.cc | 104 RETURN_IF_NOT_OK(Tensor::CreateEmpty(out_shape, input->type(), &out)); in OneHotEncoding() 240 RETURN_IF_NOT_OK(Tensor::CreateEmpty(input_shape, input_type, &out)); in Fill() 303 RETURN_IF_NOT_OK(Tensor::CreateEmpty(input->shape(), data_type, output)); in TypeCast() 354 RETURN_IF_NOT_OK(Tensor::CreateEmpty(input->shape(), new_type, output)); in ToFloat16() 410 RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape(pad_shape), src->type(), dst)); in PadEndNumeric() 547 RETURN_IF_NOT_OK(Tensor::CreateEmpty(input->shape(), DataType(DataType::DE_BOOL), output)); in Mask() 660 RETURN_IF_NOT_OK(Tensor::CreateEmpty(t, tensor_list[0]->type(), &out)); in Concatenate() 740 RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape(tensor_shape), input.at(0)->type(), output)); in TensorVectorToBatchTensor() 782 RETURN_IF_NOT_OK(Tensor::CreateEmpty(input->shape(), DataType(DataType::DE_INT32), output_idx)); in UniqueHelper() 797 …RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape({static_cast<int32_t>(uniq_size)}), input->type()… in UniqueHelper() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkFontMgr.cpp | 32 SkFontStyleSet* SkFontStyleSet::CreateEmpty() { return new SkEmptyFontStyleSet; } in CreateEmpty() function in SkFontStyleSet 49 return SkFontStyleSet::CreateEmpty(); in onMatchFamily() 89 fsset = SkFontStyleSet::CreateEmpty(); in emptyOnNull()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/ |
D | graph_loader.cc | 161 RETURN_IF_NOT_OK(Tensor::CreateEmpty(tensor->shape(), tensor->type(), &zero_tensor)); in LoadNode() 176 RETURN_IF_NOT_OK(Tensor::CreateEmpty(tensor->shape(), tensor->type(), &zero_tensor)); in LoadNode() 213 RETURN_IF_NOT_OK(Tensor::CreateEmpty(tensor->shape(), tensor->type(), &zero_tensor)); in LoadEdge() 228 RETURN_IF_NOT_OK(Tensor::CreateEmpty(tensor->shape(), tensor->type(), &zero_tensor)); in LoadEdge()
|
D | graph_feature_parser.cc | 67 …RETURN_IF_NOT_OK(Tensor::CreateEmpty(std::move(TensorShape({2})), std::move(DataType(DataType::DE_… in LoadFeatureToSharedMemory()
|
D | graph_data_impl.cc | 68 …RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape({static_cast<dsize_t>(m), static_cast<dsize_t>(n)… in CreateTensorByVector() 416 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, default_feature->Value()->type(), &fea_tensor)); in GetNodeFeature() 454 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, DataType(DataType::DE_INT64), &fea_tensor)); in GetNodeFeatureSharedMemory() 506 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, default_feature->Value()->type(), &fea_tensor)); in GetEdgeFeature() 540 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, DataType(DataType::DE_INT64), &fea_tensor)); in GetEdgeFeatureSharedMemory()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/ |
D | dvpp_normalize_op.cc | 25 …RETURN_IF_NOT_OK(mindspore::dataset::DeviceTensor::CreateEmpty(dvpp_shape, dvpp_data_type, output)… in Compute()
|
D | dvpp_decode_resize_crop_jpeg_op.cc | 46 …RETURN_IF_NOT_OK(mindspore::dataset::DeviceTensor::CreateEmpty(dvpp_shape, dvpp_data_type, output)… in Compute()
|
D | dvpp_decode_png_op.cc | 45 …RETURN_IF_NOT_OK(mindspore::dataset::DeviceTensor::CreateEmpty(dvpp_shape, dvpp_data_type, output)… in Compute()
|
D | dvpp_decode_resize_jpeg_op.cc | 45 …RETURN_IF_NOT_OK(mindspore::dataset::DeviceTensor::CreateEmpty(dvpp_shape, dvpp_data_type, output)… in Compute()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/ |
D | cv_tensor.h | 51 static Status CreateEmpty(const TensorShape &shape, DataType type, CVTensorPtr *out);
|
D | device_tensor.h | 40 …static Status CreateEmpty(const TensorShape &shape, const DataType &type, std::shared_ptr<DeviceTe…
|
D | tensor.cc | 91 Status Tensor::CreateEmpty(const TensorShape &shape, const DataType &type, TensorPtr *out) { in CreateEmpty() function in mindspore::dataset::Tensor 114 RETURN_IF_NOT_OK(CreateEmpty(shape, type, out)); in CreateFromMemory() 213 RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape(shape), DataType::FromNpArray(arr), out)); in CreateFromNpArray() 279 RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape{num_bytes}, DataType(DataType::DE_UINT8), out)); in CreateFromFile() 293 RETURN_IF_NOT_OK(Tensor::CreateEmpty(shape, type, out)); in CreateFromByteList() 1114 return CreateEmpty(t, type_, out); in Slice() 1126 RETURN_IF_NOT_OK(CreateEmpty(shape, type_, out)); in SliceNumeric()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/ |
D | data_utils.cc | 33 return Tensor::CreateEmpty(TensorShape({0}), input->type(), output); in SlidingWindowHelper()
|
/third_party/skia/include/core/ |
D | SkFontMgr.h | 29 static SkFontStyleSet* CreateEmpty();
|
/third_party/flutter/skia/include/core/ |
D | SkFontMgr.h | 29 static SkFontStyleSet* CreateEmpty();
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ |
D | py_func_op.cc | 110 RETURN_IF_NOT_OK(Tensor::CreateEmpty(TensorShape({1}), DataType(DataType::DE_INT32), &out)); in CastOutput()
|