Home
last modified time | relevance | path

Searched refs:t_ub_ (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Drandom_color_ir.cc32 RandomColorOperation::RandomColorOperation(float t_lb, float t_ub) : t_lb_(t_lb), t_ub_(t_ub) { ran… in RandomColorOperation()
39 if (t_lb_ < 0 || t_ub_ < 0) { in ValidateParams()
42 ", t_ub: " + std::to_string(t_ub_); in ValidateParams()
46 if (t_lb_ > t_ub_) { in ValidateParams()
49 ", t_ub: " + std::to_string(t_ub_); in ValidateParams()
57 std::shared_ptr<RandomColorOp> tensor_op = std::make_shared<RandomColorOp>(t_lb_, t_ub_); in Build()
62 (*out_json)["degrees"] = std::vector<float>{t_lb_, t_ub_}; in to_json()
Drandom_color_ir.h56 float t_ub_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drandom_color_op.h60 float t_ub_; variable
Drandom_color_op.cc23 …domColorOp(float t_lb, float t_ub) : rnd_(GetSeed()), dist_(t_lb, t_ub), t_lb_(t_lb), t_ub_(t_ub) { in RandomColorOp()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc484 Data(float t_lb, float t_ub) : t_lb_(t_lb), t_ub_(t_ub) {} in Data()
486 float t_ub_; member
492 return std::make_shared<RandomColorOperation>(data_->t_lb_, data_->t_ub_); in Parse()