Home
last modified time | relevance | path

Searched refs:transforms_ (Results 1 – 18 of 18) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dtransforms.cc37 std::vector<std::shared_ptr<TensorOperation>> transforms_; member
41 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in Compose()
48 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in Compose()
56 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in Compose()
60 …ensorOperation> Compose::Parse() { return std::make_shared<ComposeOperation>(data_->transforms_); } in Parse()
189 std::vector<std::shared_ptr<TensorOperation>> transforms_; member
195 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in RandomApply()
204 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in RandomApply()
213 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in RandomApply()
219 return std::make_shared<RandomApplyOperation>(data_->transforms_, data_->prob_); in Parse()
[all …]
Dexecute.cc82 transforms_.emplace_back(op); in Execute()
104 transforms_.emplace_back(smart_ptr_op); in Execute()
119 transforms_ = ops; in Execute()
150 transforms_.emplace_back(smart_ptr_op); in Execute()
600 auto iter = std::find_if(transforms_.begin(), transforms_.end(), IsEmptyPtr); in ParseTransforms()
601 if (iter != transforms_.end()) { in ParseTransforms()
608 (void)std::transform(transforms_.begin(), transforms_.end(), std::back_inserter(ops_), in ParseTransforms()
613 for (auto &transform_ : transforms_) { in ParseTransforms()
Dvision.cc1004 std::vector<std::shared_ptr<TensorOperation>> transforms_; member
1011 transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in UniformAugment()
1018 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in UniformAugment()
1027 (void)std::transform(transforms.begin(), transforms.end(), std::back_inserter(data_->transforms_), in UniformAugment()
1033 return std::make_shared<UniformAugOperation>(data_->transforms_, data_->num_ops_); in Parse()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Duniform_aug_ir.cc34 : transforms_(transforms), num_ops_(num_ops) {} in UniformAugOperation()
42 RETURN_IF_NOT_OK(ValidateVectorTransforms("UniformAug", transforms_)); in ValidateParams()
43 if (num_ops_ > transforms_.size()) { in ValidateParams()
57 transforms_.begin(), transforms_.end(), std::back_inserter(tensor_ops), in Build()
67 for (auto op : transforms_) { in to_json()
Duniform_aug_ir.h55 std::vector<std::shared_ptr<TensorOperation>> transforms_;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/data/
Dtransforms_ir.cc63 : transforms_(transforms) {} in ComposeOperation()
66 RETURN_IF_NOT_OK(ValidateVectorTransforms("Compose", transforms_)); in ValidateParams()
72 (void)std::transform(transforms_.begin(), transforms_.end(), std::back_inserter(tensor_ops), in Build()
221 : TensorOperation(true), transforms_(transforms), prob_(prob) {} in RandomApplyOperation()
224 RETURN_IF_NOT_OK(ValidateVectorTransforms("RandomApply", transforms_)); in ValidateParams()
231 (void)std::transform(transforms_.begin(), transforms_.end(), std::back_inserter(tensor_ops), in Build()
238 : TensorOperation(true), transforms_(transforms) {} in RandomChoiceOperation()
241 RETURN_IF_NOT_OK(ValidateVectorTransforms("RandomChoice", transforms_)); in ValidateParams()
247 (void)std::transform(transforms_.begin(), transforms_.end(), std::back_inserter(tensor_ops), in Build()
Dtransforms_ir.h64 std::vector<std::shared_ptr<TensorOperation>> transforms_;
205 std::vector<std::shared_ptr<TensorOperation>> transforms_;
222 std::vector<std::shared_ptr<TensorOperation>> transforms_;
/third_party/skia/third_party/externals/tint/src/transform/
Dmanager.h40 transforms_.push_back(std::move(transform)); in append()
48 transforms_.emplace_back(std::make_unique<T>(std::forward<ARGS>(args)...)); in Add()
58 std::vector<std::unique_ptr<Transform>> transforms_;
Dmanager.cc53 if (!transforms_.empty()) { in Run()
54 for (const auto& transform : transforms_) { in Run()
67 if (transform == transforms_.back()) { in Run()
/third_party/skia/third_party/externals/tint/src/
Dclone_context.h279 for (auto& transform : transforms_) { in ReplaceAll()
295 transforms_.emplace_back(std::move(transform)); in ReplaceAll()
550 std::vector<CloneableTransform> transforms_; variable
Dclone_context.cc86 for (auto& transform : transforms_) { in CloneCloneable()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dvp8li_dec.h85 VP8LTransform transforms_[NUM_TRANSFORMS]; member
Dvp8l_dec.c768 VP8LTransform* const transform = &dec->transforms_[n]; in ApplyInverseTransforms()
873 VP8LTransform* const transform = &dec->transforms_[0]; in ExtractPalettedAlphaRows()
1296 VP8LTransform* transform = &dec->transforms_[dec->next_transform_]; in ReadTransform()
1386 ClearTransform(&dec->transforms_[i]); in VP8LClear()
1595 dec->transforms_[0].type_ == COLOR_INDEXING_TRANSFORM && in VP8LDecodeAlphaHeader()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dvp8li_dec.h85 VP8LTransform transforms_[NUM_TRANSFORMS]; member
Dvp8l_dec.c772 VP8LTransform* const transform = &dec->transforms_[n]; in ApplyInverseTransforms()
877 VP8LTransform* const transform = &dec->transforms_[0]; in ExtractPalettedAlphaRows()
1300 VP8LTransform* transform = &dec->transforms_[dec->next_transform_]; in ReadTransform()
1390 ClearTransform(&dec->transforms_[i]); in VP8LClear()
1599 dec->transforms_[0].type_ == COLOR_INDEXING_TRANSFORM && in VP8LDecodeAlphaHeader()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph.h248 std::unordered_map<std::string, FuncGraphTransform> &transforms() { return transforms_; } in transforms()
250 transforms_ = transforms; in set_transforms()
366 std::unordered_map<std::string, FuncGraphTransform> transforms_; variable
Dfunc_graph.cc38 transforms_(), in FuncGraph()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dexecute.h129 std::vector<std::shared_ptr<TensorTransform>> transforms_; variable