Home
last modified time | relevance | path

Searched refs:AdjustGamma (Results 1 – 10 of 10) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_adjustgamma.py49 adjustgamma_op = C.AdjustGamma(10, 1)
59 adjustgamma_op = F.AdjustGamma(10, 1)
69 adjustgamma_op = C.AdjustGamma(10, 1)
79 adjustgamma_op = F.AdjustGamma(10, 1)
94 data_set = data_set.map(operations=C.AdjustGamma(gamma=-10.0, gain=1.0),
104 data_set = data_set.map(operations=C.AdjustGamma(gamma=[1, 2], gain=1.0),
121 F.AdjustGamma(gamma=-10.0),
133 F.AdjustGamma(gamma=[1, 2]),
152 data_set = data_set.map(operations=C.AdjustGamma(gamma=10.0, gain=[1, 10]),
169 F.AdjustGamma(gamma=10.0, gain=[1, 10]),
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Dadjust_gamma_op.cc36 return AdjustGamma(input_tensor, output, gamma_, gain_); in Compute()
38 return AdjustGamma(input, output, gamma_, gain_); in Compute()
Dimage_utils.h251 Status AdjustGamma(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, const flo…
Dimage_utils.cc974 Status AdjustGamma(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, const flo… in AdjustGamma() function
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dvision.h42 class AdjustGamma final : public TensorTransform {
48 explicit AdjustGamma(float gamma, float gain = 1);
51 ~AdjustGamma() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc124 struct AdjustGamma::Data {
130 AdjustGamma::AdjustGamma(float gamma, float gain) : data_(std::make_shared<Data>(gamma, gain)) {} in AdjustGamma() function in mindspore::dataset::vision::AdjustGamma
132 std::shared_ptr<TensorOperation> AdjustGamma::Parse() { in Parse()
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_vision_a_to_q_test.cc39 auto adjustgamma_op = vision::AdjustGamma(10.0); in TEST_F()
76 auto adjustgamma_op = vision::AdjustGamma(10.0); in TEST_F()
114 std::shared_ptr<TensorTransform> adjust_gamma(new vision::AdjustGamma(-1, 1.0)); in TEST_F()
Dexecute_test.cc82 auto adjust_gamma_op = vision::AdjustGamma(0.1, 1.0); in TEST_F()
95 auto adjust_gamma_op = vision::AdjustGamma(0.1, 1.0); in TEST_F()
/third_party/mindspore/mindspore/dataset/vision/
Dpy_transforms.py1523 class AdjustGamma(py_transforms.PyTensorOperation): class
Dc_transforms.py132 class AdjustGamma(ImageTensorOperation): class