Home
last modified time | relevance | path

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

/external/XNNPACK/src/
Dindirection.c53 … const size_t input_y = output_y * stride_height + kernel_y * dilation_height - input_padding_top; in xnn_indirection_init_conv2d() local
54 if (input_y < input_height) { in xnn_indirection_init_conv2d()
61 ((uintptr_t) input + (input_y * input_width + input_x) * input_pixel_stride); in xnn_indirection_init_conv2d()
106 … const size_t input_y = output_y * stride_height + kernel_y * dilation_height - input_padding_top; in xnn_indirection_init_dwconv2d() local
107 if (input_y < input_height) { in xnn_indirection_init_dwconv2d()
114 …(const void*) ((uintptr_t) input + ((batch_index * input_height + input_y) * input_width + input_x… in xnn_indirection_init_dwconv2d()
171 const size_t input_y = fxdiv_quotient_size_t(y, stride_height_divisor); in xnn_indirection_init_deconv2d() local
177 …if (input_y * stride_height == y && input_y < input_height && input_x * stride_width == x && input… in xnn_indirection_init_deconv2d()
178 …indirection_buffer[index] = (const void*) ((uintptr_t) input + (input_y * input_width + input_x) *… in xnn_indirection_init_deconv2d()
227 const size_t input_y = y / stride_height; in xnn_indirection_init_subconv2d() local
[all …]
Dim2col.c33 …const size_t input_y = output_y * subsampling_height + kernel_y * dilation_height - input_padding_… in xnn_im2col_conv2d() local
34 if (input_y < output_height) { in xnn_im2col_conv2d()
39 …(const void*) ((uintptr_t) input + (input_y * input_width + input_x) * input_pixel_stride_in_bytes… in xnn_im2col_conv2d()
Doperator-run.c336 size_t input_y, in xnn_compute_unpooling() argument
340 input_y * context->input_height_stride + input_x * context->input_width_stride); in xnn_compute_unpooling()
342 input_y * context->index_height_stride + input_x * context->index_width_stride); in xnn_compute_unpooling()
345input_y * context->indirect_output_height_stride + input_x * context->indirect_output_width_stride… in xnn_compute_unpooling()
/external/tensorflow/tensorflow/lite/kernels/
Dselect.cc63 const TfLiteTensor* input_y = GetInput(context, node, kInputTensorY); in SelectPrepare() local
68 TF_LITE_ENSURE_EQ(context, input_x->type, input_y->type); in SelectPrepare()
72 HaveSameShapes(input_x, input_y); in SelectPrepare()
85 TF_LITE_ENSURE(context, HaveSameShapes(input_x, input_y)); in SelectPrepare()
91 input_y, &output_size)); in SelectPrepare()
110 const TfLiteTensor* input_y = GetInput(context, node, kInputTensorY); in SelectEval() local
117 GetTensorShape(input_y), GetTensorData<type>(input_y), \ in SelectEval()
/external/XNNPACK/test/
Dresize-bilinear-operator-tester.h239 const float input_y = (float(output_y) + offset) * height_scale() - offset; in TestF32() local
240 const int64_t input_y_top = std::max<int64_t>(int64_t(std::floor(input_y)), 0); in TestF32()
241 … const int64_t input_y_bottom = std::min<int64_t>(int64_t(std::ceil(input_y)), input_height() - 1); in TestF32()
242 const float y_alpha = input_y - std::floor(input_y); in TestF32()
/external/tensorflow/tensorflow/core/kernels/
Dimage_ops.h70 const float input_y = in operator() local
78 return nearest_interpolation(coords[0], input_y, input_x, coords[3], in operator()
81 return bilinear_interpolation(coords[0], input_y, input_x, coords[3], in operator()
/external/tensorflow/tensorflow/core/grappler/utils/
Dfunctions_test.cc581 const NodeDef &input_y = item.function_body().node(1); in TEST_F() local
585 EXPECT_EQ("_Arg", input_y.op()); in TEST_F()
607 EXPECT_EQ("Const", input_y.op()); in TEST_F()
608 EXPECT_EQ("const_input_y", input_y.attr().at("Tag").s()); in TEST_F()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dfunction_optimizer_test.cc511 const string input_y = "Func/c/input/_1"; in TEST_F() local
528 NDef(input_y, "Identity", {"b"}, {{"T", DT_FLOAT}}, kDevice), in TEST_F()
531 NDef("c/mul", "Mul", {input_x, input_y}, {{"T", DT_FLOAT}}, kDevice), in TEST_F()
559 NDef(input_y, "Identity", {"b"}, {{"T", DT_FLOAT}}, kDevice), in TEST_F()
560 NDef("c/mul", "Mul", {input_x, input_y}, {{"T", DT_FLOAT}}, kDevice), in TEST_F()
773 const string input_y = "Func/c/input/_1"; in TEST_F() local
783 NDef(input_y, "Identity", {"b"}, {{"T", DT_FLOAT}}, cpu1), in TEST_F()
784 NDef("c/mul", "Mul", {input_x, input_y}, {{"T", DT_FLOAT}}, cpu1), in TEST_F()
Dconstant_folding.cc3132 const string input_y = input_x == ctx.op_child->input(0) in ConstantPushDown() local
3144 if (input_x != input_y) { in ConstantPushDown()
3160 ctx.op_child->set_input(1, input_y); in ConstantPushDown()
3195 ctx.op_child->set_input(0, neg_c ? input_y : input_c); in ConstantPushDown()
3196 ctx.op_child->set_input(1, neg_c ? input_c : input_y); in ConstantPushDown()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h2035 float input_y; in ResizeBilinear() local
2038 input_height, &input_y, &y0, &y1); in ResizeBilinear()
2047 (1 - (input_y - y0)) * (1 - (input_x - x0)) + in ResizeBilinear()
2049 (input_y - y0) * (1 - (input_x - x0)) + in ResizeBilinear()
2051 (1 - (input_y - y0)) * (input_x - x0) + in ResizeBilinear()
2053 (input_y - y0) * (input_x - x0)); in ResizeBilinear()
/external/XNNPACK/src/xnnpack/
Dcompute.h339 size_t input_y,
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Doptimized_ops.h4726 float input_y; in ResizeBilinearGeneric() local
4729 y, height_scale, half_pixel_centers, input_height, &input_y, &y0, in ResizeBilinearGeneric()
4741 float scale = (1 - (input_y - y0)) * (1 - (input_x - x0)); in ResizeBilinearGeneric()
4746 scale = (1 - (input_y - y0)) * (input_x - x0); in ResizeBilinearGeneric()
4751 scale = (input_y - y0) * (1 - (input_x - x0)); in ResizeBilinearGeneric()
4756 scale = (input_y - y0) * (input_x - x0); in ResizeBilinearGeneric()
4776 float input_y; in ResizeBilinearGenericSmallChannel() local
4779 y, height_scale, half_pixel_centers, input_height, &input_y, &y0, in ResizeBilinearGenericSmallChannel()
4792 float scale[4] = {(1 - (input_y - y0)) * (1 - (input_x - x0)), in ResizeBilinearGenericSmallChannel()
4793 (1 - (input_y - y0)) * (input_x - x0), in ResizeBilinearGenericSmallChannel()
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dload_test.py1621 input_x, input_y = imported_graph.inputs
1623 self.assertEqual([None, 2], input_y.shape.as_list())
/external/libpng/
Dlibpng-manual.txt2344 png_uint_32 input_y = 0;
2355 subimage[pass][input_y][input_x++];
2360 ++input_y;
2372 png_uint_32 output_y = PNG_ROW_FROM_PASS_ROW(input_y, pass);