Home
last modified time | relevance | path

Searched refs:Affine (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mindspore/mindspore/core/ops/
Daffine.cc22 void Affine::Init(const std::vector<int64_t> &contexts, int64_t output_dim, bool transpose_a, bool … in Init()
29 void Affine::set_context(const std::vector<int64_t> &context) { in set_context()
33 void Affine::set_output_dim(int64_t output_dim) { (void)this->AddAttr(kAffineOutputDim, MakeValue(o… in set_output_dim()
35 void Affine::set_transpose_a(bool transpose_a) { (void)AddAttr(kTransposeA, MakeValue(transpose_a))… in set_transpose_a()
37 void Affine::set_transpose_b(bool transpose_b) { (void)AddAttr(kTransposeB, MakeValue(transpose_b))… in set_transpose_b()
39 void Affine::set_activation_type(const ActivationType &activation_type) { in set_activation_type()
43 bool Affine::get_transpose_a() const { in get_transpose_a()
48 bool Affine::get_transpose_b() const { in get_transpose_b()
53 std::vector<int64_t> Affine::get_context() const { in get_context()
58 int64_t Affine::get_output_dim() const { in get_output_dim()
[all …]
Daffine.h33 class MS_CORE_API Affine : public PrimitiveC {
36 Affine() : PrimitiveC(kNameAffine) { InitIOName({"x1", "x2"}, {"outputs"}); } in Affine() function
38 ~Affine() = default;
39 MS_DECLARE_PARENT(Affine, PrimitiveC);
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_vision_affine_test.cc44 new vision::Affine(0.0, {0.0, 0.0}, 0.0, {0.0, 0.0}, InterpolationMode::kLinear)); in TEST_F()
87 new vision::Affine(0.0, {2.0, -1.0}, 0.0, {0.0, 0.0}, InterpolationMode::kLinear)); in TEST_F()
Daffine_op_test.cc105 EXPECT_TRUE(Affine(lite_mat_rgb, dst, M, dsize, UINT8_C3(0, 0, 0))); in TEST_F()
Dimage_process_test.cc605 EXPECT_FALSE(Affine(src, dst, M, {}, UINT8_C1(0))); in TEST_F()
606 EXPECT_FALSE(Affine(src, dst, M, {3}, UINT8_C1(0))); in TEST_F()
607 EXPECT_FALSE(Affine(src, dst, M, {0, 0}, UINT8_C1(0))); in TEST_F()
663 EXPECT_TRUE(Affine(src, dst, M, {rows, cols}, UINT8_C1(0))); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Dvision_lite.h39 class Affine final : public TensorTransform {
55 …explicit Affine(float_t degrees, const std::vector<float> &translation = {0.0, 0.0}, float scale =…
61 ~Affine() = default;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/lite_cv/
Dimage_process.h145 bool Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, UINT8_C1 …
153 bool Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, UINT8_C3 …
Dimage_process.cc1180 bool Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, UINT8_C1 … in Affine() function
1188 bool Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, UINT8_C3 … in Affine() function
1196 bool Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, FLOAT32_C… in Affine() function
1204 bool Affine(LiteMat &src, LiteMat &out_img, const double M[6], std::vector<size_t> dsize, FLOAT32_C… in Affine() function
/third_party/boost/libs/gil/doc/image_processing/
Daffine-region-detectors.rst1 Affine region detectors
7 Affine region is basically any region of the image
/third_party/boost/libs/gil/doc/html/_sources/image_processing/
Daffine-region-detectors.rst.txt1 Affine region detectors
7 Affine region is basically any region of the image
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Daffine_activation_fusion.cc70 …auto affine_prim = GetValueNode<std::shared_ptr<ops::Affine>>(affine_node->input(kAnfPrimitiveInde… in Process()
Daffine_fusion.cc89 auto affine_prim = std::make_shared<ops::Affine>(); in Process()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Daffine_op.cc95 …RETURN_IF_NOT_OK(Affine(input, output, matrix, interpolation_, fill_value_[0], fill_value_[1], fil… in Compute()
Dlite_image_utils.h151 Status Affine(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, const std::vec…
Dlite_image_utils.cc633 bool ret = Affine(lite_mat_rgb, lite_mat_affine, M, dsize, UINT8_C3(0, 0, 0)); in RotateAngleWithOutMirror()
703 bool ret = Affine(lite_mat_rgb, lite_mat_affine, M, dsize, UINT8_C3(0, 0, 0)); in RotateAngleWithMirror()
736 Status Affine(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, const std::vec… in Affine() function
768 bool ret = Affine(lite_mat_rgb, lite_mat_affine, M, dsize, UINT8_C3(fill_r, fill_g, fill_b)); in Affine()
Dimage_utils.h345 Status Affine(const std::shared_ptr<Tensor> &input, std::shared_ptr<Tensor> *output, const std::vec…
/third_party/boost/libs/geometry/doc/generated/
Dtransform_matrix_transformer.qbk19 Affine transformation strategy in Cartesian system.
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Daffine_infer.c122 REG_INFER(Affine, PrimType_Affine, AffineInferShape)
/third_party/vk-gl-cts/doc/testspecs/GLES3/
Dfunctional.texture.mipmap.txt27 + Affine and projected transforms
/third_party/mindspore/mindspore/lite/src/ops/
Dops_func_declare.h464 FUNC_MSOP2SCHEMAOP_DECLARE(Affine)
Dops_def.cc220 OP_TYPE(Affine)
1195 OP_SCHEMA_DEF(Affine)
1201 OP_SCHEMA_DEF_END(Affine)
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc96 struct Affine::Data {
113 Affine::Affine(float_t degrees, const std::vector<float> &translation, float scale, const std::vect… in Affine() function in mindspore::dataset::vision::Affine
117 std::shared_ptr<TensorOperation> Affine::Parse() { in Parse()
/third_party/skia/site/docs/user/modules/
Dpathkit.md39 … id=canvasTransform title="Transform: A drawn star moved and rotated by an Affine Matrix"></canvas>
427 [Affine Matrix](https://en.wikipedia.org/wiki/Transformation_matrix#Affine_transformations),
721 **matr** - `SkMatrix`, i.e. an `Array<Number>` of the nine numbers of an Affine
731 `Number`, the nine numbers of an Affine Transform Matrix.
789 nine element 1D Array and turns it into a 3x3 2D Affine Matrix.
/third_party/flutter/skia/site/user/modules/
Dpathkit.md34 … id=canvasTransform title="Transform: A drawn star moved and rotated by an Affine Matrix"></canvas>
402 … [Affine Matrix](https://en.wikipedia.org/wiki/Transformation_matrix#Affine_transformations),
669 **matr** - `SkMatrix`, i.e. an `Array<Number>` of the nine numbers of an Affine Transform Matrix.
676 `Number`, the nine numbers of an Affine Transform Matrix.
734 3x3 2D Affine Matrix.
/third_party/mindspore/mindspore/lite/schema/
Dops.fbs220 Affine,
1195 table Affine {

12