Home
last modified time | relevance | path

Searched refs:grad_y (Results 1 – 19 of 19) sorted by relevance

/third_party/mindspore/mindspore/core/ops/grad/
Dmaximum_grad.cc22 void MaximumGrad::Init(const bool grad_x, const bool grad_y) { in Init() argument
24 set_grad_y(grad_y); in Init()
29 void MaximumGrad::set_grad_y(const bool grad_y) { (void)this->AddAttr(kGradY, MakeValue(grad_y)); } in set_grad_y() argument
Dminimum_grad.cc22 void MinimumGrad::Init(const bool grad_x, const bool grad_y) { in Init() argument
24 set_grad_y(grad_y); in Init()
29 void MinimumGrad::set_grad_y(const bool grad_y) { (void)this->AddAttr(kGradY, MakeValue(grad_y)); } in set_grad_y() argument
Dminimum_grad.h31 void Init(const bool grad_x = true, const bool grad_y = true);
33 void set_grad_y(const bool grad_y);
Dmaximum_grad.h31 void Init(const bool grad_x = true, const bool grad_y = true);
33 void set_grad_y(const bool grad_y);
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dmirror_pad_grad_cpu_kernel.cc179 const int64_t grad_y = ((SizeToLong(pos) / dx_width) % dx_height) + paddings[HEIGHT]; in MirrorPadGrad_Width_Height() local
182 dx[pos] = interim_dy[(dx_block_num * dy_height + grad_y) * dy_width + grad_x]; in MirrorPadGrad_Width_Height()
185 int64_t y_dist_1 = (ap1_y - grad_y - mode); in MirrorPadGrad_Width_Height()
187 int64_t y_dist_2 = (ap2_y - grad_y + mode); in MirrorPadGrad_Width_Height()
198 temp_y = grad_y; in MirrorPadGrad_Width_Height()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dmirror_pad_impl.cu190 const int grad_y = ((pos / dx_width) % dx_height) + paddings[HEIGHT + TOP]; in MirrorPadGrad_Width_Height() local
192 dx[pos] = interim_dy[(dx_block_num * dy_height + grad_y) * dy_width + grad_x]; in MirrorPadGrad_Width_Height()
195 int y_dist_1 = (ap1_y - grad_y - mode); in MirrorPadGrad_Width_Height()
197 int y_dist_2 = (ap2_y - grad_y + mode); in MirrorPadGrad_Width_Height()
208 temp_y = grad_y; in MirrorPadGrad_Width_Height()
/third_party/mindspore/mindspore/lite/schema/
Dops.fbs695 grad_y: bool;
731 grad_y: bool;
Dops_generated.h7166 bool grad_y() const {
7184 void add_grad_y(bool grad_y) {
7185 fbb_.AddElement<uint8_t>(MaximumGrad::VT_GRAD_Y, static_cast<uint8_t>(grad_y), 0);
7201 bool grad_y = false) {
7203 builder_.add_grad_y(grad_y);
7574 bool grad_y() const {
7592 void add_grad_y(bool grad_y) {
7593 fbb_.AddElement<uint8_t>(MinimumGrad::VT_GRAD_Y, static_cast<uint8_t>(grad_y), 0);
7609 bool grad_y = false) {
7611 builder_.add_grad_y(grad_y);
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_hlsl.cpp2847 uint32_t grad_y = 0; in emit_texture_op() local
2874 test(grad_y, ImageOperandsGradMask); in emit_texture_op()
2919 else if (lod || grad_x || grad_y) in emit_texture_op()
2960 else if (grad_x || grad_y) in emit_texture_op()
2996 if (grad_x || grad_y) in emit_texture_op()
3065 if (grad_x || grad_y) in emit_texture_op()
3124 if (!dref && (grad_x || grad_y)) in emit_texture_op()
3127 forward = forward && should_forward(grad_y); in emit_texture_op()
3131 expr += to_expression(grad_y); in emit_texture_op()
Dspirv_glsl.hpp422 uint32_t grad_x = 0, grad_y = 0, lod = 0, coffset = 0, offset = 0; member
Dspirv_msl.cpp9444 uint32_t grad_y = args.grad_y; in to_function_args() local
9731 if (msl_options.is_macos() && (grad_x || grad_y)) in to_function_args()
9738 bool constant_zero_y = !grad_y || expression_is_constant_null(grad_y); in to_function_args()
9743 grad_y = 0; in to_function_args()
9799 if ((grad_x || grad_y) && (imgtype.image.dim != Dim1D || msl_options.texture_1D_as_2D)) in to_function_args()
9802 forward = forward && should_forward(grad_y); in to_function_args()
9823 …farg_str += ", gradient" + grad_opt + "(" + to_expression(grad_x) + ", " + to_expression(grad_y) +… in to_function_args()
Dspirv_glsl.cpp6735 uint32_t grad_y = 0; in to_texture_op() local
6761 test(grad_y, ImageOperandsGradMask); in to_texture_op()
6781 name_args.has_grad = grad_x != 0 || grad_y != 0; in to_texture_op()
6799 args.grad_y = grad_y; in to_texture_op()
7109 if (args.grad_x || args.grad_y) in to_function_args()
7112 forward = forward && should_forward(args.grad_y); in to_function_args()
7116 farg_str += to_expression(args.grad_y); in to_function_args()
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Delewise_calculation_ops_declare.cc487 {"grad_y", ATTR_DESC(grad_y, AnyTraits<bool>())}};
494 {"grad_y", ATTR_DESC(grad_y, AnyTraits<bool>())}};
/third_party/mindspore/mindspore/lite/src/ops/
Dops_def.cc695 OP_ATTR(grad_y, bool)
731 OP_ATTR(grad_y, bool)
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp1072 void prepareGradYForFace(glw::GLfloat* grad_y, glw::GLuint face, glw::GLfloat* texture_coordinates,… in prepareGradYForFace() argument
1083 …getTopNeighbour(texture_coordinates + texture_coordinates_offset, face, 1, width, grad_y + grad_of… in prepareGradYForFace()
1091 …getTopNeighbour(texture_coordinates + texture_coordinates_offset, face, 4 * width, width, grad_y +… in prepareGradYForFace()
1099 vectorSubtractInPlace<3>(grad_y + grad_offset, texture_coordinates + texture_coordinates_offset); in prepareGradYForFace()
3549 buffer = &buffers.grad_y; in setupSharedStorageBuffer()
4097grad_y.init(gl, (glw::GLsizeiptr)(grad_y_buffer_data.size() * sizeof(glw::GLfloat)), &grad_y_buffe…
5118 buffer = &buffers.grad_y;
DesextcTextureCubeMapArraySampling.hpp347 bufferDefinition grad_y; member in glcts::TextureCubeMapArraySamplingTest::bufferCollection
/third_party/mindspore/mindspore/ops/operations/
D_grad_ops.py1039 def __init__(self, grad_x=True, grad_y=True): argument
1115 def __init__(self, grad_x=True, grad_y=True): argument
/third_party/mindspore/mindspore/lite/schema/inner/
Dops_generated.h11365 bool grad_y = false;
11384 bool grad_y() const {
11408 void add_grad_y(bool grad_y) {
11409 fbb_.AddElement<uint8_t>(MaximumGrad::VT_GRAD_Y, static_cast<uint8_t>(grad_y), 0);
11425 bool grad_y = false) {
11427 builder_.add_grad_y(grad_y);
11923 bool grad_y = false;
11942 bool grad_y() const {
11966 void add_grad_y(bool grad_y) {
11967 fbb_.AddElement<uint8_t>(MinimumGrad::VT_GRAD_Y, static_cast<uint8_t>(grad_y), 0);
[all …]
/third_party/mindspore/config/
Dop_info.config317 …al", "type": "bool", "value": "all", "default_value": "true"}, {"name": "grad_y", "param_type": "o…
318 …al", "type": "bool", "value": "all", "default_value": "true"}, {"name": "grad_y", "param_type": "o…