/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/ |
D | normalize_pad_ir.cc | 33 : mean_(mean), std_(std), dtype_(dtype) {} in NormalizePadOperation() 40 RETURN_IF_NOT_OK(ValidateVectorMeanStd("NormalizePad", mean_, std_)); in ValidateParams() 54 … std_[dimension_zero], std_[dimension_one], std_[dimension_two], dtype_); in Build() 60 args["std"] = std_; in to_json()
|
D | normalize_ir.cc | 27 : mean_(mean), std_(std) {} in NormalizeOperation() 34 RETURN_IF_NOT_OK(ValidateVectorMeanStd("Normalize", mean_, std_)); in ValidateParams() 38 …ed_ptr<TensorOp> NormalizeOperation::Build() { return std::make_shared<NormalizeOp>(mean_, std_); } in Build() 43 args["std"] = std_; in to_json()
|
D | ascend_vision_ir.cc | 266 : mean_(mean), std_(std) {} in DvppNormalizeOperation() 274 if (std_.size() != 3) { in ValidateParams() 275 …ring err_msg = "DvppNormalization: std expecting size 3, got size: " + std::to_string(std_.size()); in ValidateParams() 283 std::to_string(std_.size()); in ValidateParams() 287 if (*min_element(std_.begin(), std_.end()) < 0 || *max_element(std_.begin(), std_.end()) > 256) { in ValidateParams() 291 std::to_string(std_.size()); in ValidateParams() 299 std::shared_ptr<DvppNormalizeOp> tensor_op = std::make_shared<DvppNormalizeOp>(mean_, std_); in Build() 309 std::transform(std_.begin(), std_.end(), std::back_inserter(enlarge_std_), in to_json()
|
D | normalize_ir.h | 56 std::vector<float> std_; variable
|
D | normalize_pad_ir.h | 56 std::vector<float> std_; variable
|
D | ascend_vision_ir.h | 149 std::vector<float> std_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | normalize_op.cc | 30 …rmalizeOp(const std::vector<float> &mean, const std::vector<float> &std) : mean_(mean), std_(std) { in NormalizeOp() 33 mean_[i] = mean_[i] / std_[i]; in NormalizeOp() 40 return Normalize(input, output, mean_, std_); in Compute() 49 for (const auto &s : std_) { in Print()
|
D | normalize_pad_op.cc | 32 s = Tensor::CreateFromVector<float>({std_r, std_g, std_b}, &std_); in NormalizePadOp() 43 return NormalizePad(input, output, mean_, std_, dtype_); in Compute() 47 …out << "NormalizeOp, mean: " << *(mean_.get()) << std::endl << "std: " << *(std_.get()) << std::en… in Print()
|
D | normalize_op.h | 43 std::vector<float> std_; variable
|
D | normalize_pad_op.h | 43 std::shared_ptr<Tensor> std_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/ |
D | dvpp_normalize_op.h | 35 : mean_(std::move(mean)), std_(std::move(std)) {} in DvppNormalizeOp() 47 std::vector<float> std_; variable
|
/third_party/boost/libs/concept_check/ |
D | bad_error_eg.cpp | 8 std_::stable_sort(v.begin(), v.end()); in main()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/ |
D | vision.cc | 394 Data(const std::vector<float> &mean, const std::vector<float> &std) : mean_(mean), std_(std) {} in Data() 396 std::vector<float> std_; member 402 return std::make_shared<NormalizeOperation>(data_->mean_, data_->std_); in Parse() 408 return std::make_shared<DvppNormalizeOperation>(data_->mean_, data_->std_); in Parse() 411 return std::make_shared<NormalizeOperation>(data_->mean_, data_->std_); in Parse() 421 : mean_(mean), std_(std), dtype_(dtype) {} in Data() 423 std::vector<float> std_; member 432 return std::make_shared<NormalizePadOperation>(data_->mean_, data_->std_, data_->dtype_); in Parse()
|