Home
last modified time | relevance | path

Searched refs:std_ (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Dnormalize_pad_ir.cc33 : mean_(mean), std_(std), dtype_(dtype) {} in NormalizePadOperation()
40 RETURN_IF_NOT_OK(ValidateVectorMeanStd("NormalizePad", mean_, std_)); in ValidateParams()
54std_[dimension_zero], std_[dimension_one], std_[dimension_two], dtype_); in Build()
60 args["std"] = std_; in to_json()
Dnormalize_ir.cc27 : 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()
Dascend_vision_ir.cc266 : 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()
Dnormalize_ir.h56 std::vector<float> std_; variable
Dnormalize_pad_ir.h56 std::vector<float> std_; variable
Dascend_vision_ir.h149 std::vector<float> std_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dnormalize_op.cc30 …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()
Dnormalize_pad_op.cc32 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()
Dnormalize_op.h43 std::vector<float> std_; variable
Dnormalize_pad_op.h43 std::shared_ptr<Tensor> std_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/dvpp/
Ddvpp_normalize_op.h35 : mean_(std::move(mean)), std_(std::move(std)) {} in DvppNormalizeOp()
47 std::vector<float> std_; variable
/third_party/boost/libs/concept_check/
Dbad_error_eg.cpp8 std_::stable_sort(v.begin(), v.end()); in main()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc394 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()