Home
last modified time | relevance | path

Searched refs:center_ (Results 1 – 14 of 14) sorted by relevance

/third_party/boost/boost/gil/extension/numeric/
Dkernel.hpp42 : center_(center) in kernel_1d_adaptor()
44 BOOST_ASSERT(center_ < this->size()); in kernel_1d_adaptor()
48 : Core(size) , center_(center) in kernel_1d_adaptor()
51 BOOST_ASSERT(center_ < this->size()); // also implies `size() > 0` in kernel_1d_adaptor()
55 : Core(other), center_(other.center_) in kernel_1d_adaptor()
58 BOOST_ASSERT(center_ < this->size()); // also implies `size() > 0` in kernel_1d_adaptor()
64 center_ = other.center_; in operator =()
70 BOOST_ASSERT(center_ < this->size()); in left_size()
71 return center_; in left_size()
76 BOOST_ASSERT(center_ < this->size()); in right_size()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Drotate_ir.cc30 center_({}), in RotateOperation()
39 center_(center), in RotateOperation()
49 if (center_.size() != 0 && center_.size() != 2) { in ValidateParams()
51 … "Rotate: center must be a vector of two values or empty, got: " + std::to_string(center_.size()); in ValidateParams()
81 …std::make_shared<RotateOp>(degrees_, interpolation_mode_, expand_, center_, fill_r, fill_g, fill_b… in Build()
96 args["center"] = center_; in to_json()
Drandom_rotation_ir.cc45 center_(center), in RandomRotationOperation()
74 if (center_.size() != 0 && center_.size() != size_two) { in ValidateParams()
76 …mRotation: center must be a vector of two values or empty, got: " + std::to_string(center_.size()); in ValidateParams()
115 start_degree, end_degree, interpolation_mode_, expand_, center_, fill_r, fill_g, fill_b); in Build()
124 args["center"] = center_; in to_json()
Drandom_rotation_ir.h58 std::vector<float> center_; variable
Drotate_ir.h64 std::vector<float> center_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drotate_op.cc37 center_({}), in RotateOp()
48 center_(center), in RotateOp()
59 …return Rotate(input, output, center_, degrees_, interpolation_, expand_, fill_r_, fill_g_, fill_b_… in Compute()
Drandom_rotation_op.cc39 center_(center), in RandomRotationOp()
61 return Rotate(input, output, center_, degree, interpolation_, expand_, fill_r_, fill_g_, fill_b_); in Compute()
Drandom_rotation_op.h72 std::vector<float> center_; variable
Drotate_op.h63 std::vector<float> center_; variable
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Drolling_cpu_kernel.cc50 center_ = AnfAlgo::GetNodeAttr<bool>(kernel_node, CENTER); in InitKernel()
74 if (center_) { in RollingBoundsCalculate()
Drolling_cpu_kernel.h71 bool center_{false};
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc692 …: degrees_(degrees), interpolation_mode_(resample), center_(center), expand_(expand), fill_value_(… in Data()
695 std::vector<float> center_; member
706 data_->center_, data_->fill_value_); in Parse()
879 …: degrees_(degrees), interpolation_mode_(resample), center_(center), expand_(expand), fill_value_(… in Data()
885 std::vector<float> center_{{}}; member
900 data_->center_, data_->fill_value_); in Parse()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fClippingTests.cpp1181 …le& viewport, const tcu::Vec3& d1, const tcu::Vec3& d2, const tcu::Vec3& center_ = tcu::Vec3(0, 0,…
1184 … rr::WindowRectangle& viewport, const tcu::Vec3& d1, const tcu::Vec3& d2, const tcu::Vec3& center_) in QuadFillTest() argument
1188 const tcu::Vec4 center = tcu::Vec4(center_.x(), center_.y(), center_.z(), 1.0f); in QuadFillTest()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fClippingTests.cpp1185 …le& viewport, const tcu::Vec3& d1, const tcu::Vec3& d2, const tcu::Vec3& center_ = tcu::Vec3(0, 0,…
1188 … rr::WindowRectangle& viewport, const tcu::Vec3& d1, const tcu::Vec3& d2, const tcu::Vec3& center_) in QuadFillTest() argument
1192 const tcu::Vec4 center = tcu::Vec4(center_.x(), center_.y(), center_.z(), 1.0f); in QuadFillTest()