Home
last modified time | relevance | path

Searched full:pad (Results 1 – 25 of 10532) sorted by relevance

12345678910>>...422

/aosp_15_r20/external/armnn/delegate/test/
H A DPadTest.cpp20 float pad = 0.0f) in Pad2dTest() argument
32 std::vector<float> expectedOutputValues = { pad, pad, pad, pad, pad, pad, in Pad2dTest()
33 pad, pad, pad, pad, pad, pad, in Pad2dTest()
34 pad, pad, 0.0f, 4.0f, pad, pad, in Pad2dTest()
35 pad, pad, 2.0f, -5.0f, pad, pad, in Pad2dTest()
36 pad, pad, pad, pad, pad, pad, in Pad2dTest()
38 pad, pad, pad, pad, pad, pad, in Pad2dTest()
39 pad, pad, pad, pad, pad, pad, in Pad2dTest()
40 pad, pad, 6.0f, 1.0f, pad, pad, in Pad2dTest()
41 pad, pad, 5.0f, -2.0f, pad, pad, in Pad2dTest()
[all …]
/aosp_15_r20/external/llvm/test/MC/COFF/
H A Dsection-name-encoding.s41 .macro pad_sections2 pad argument
42 // 10x \pad
43 .section p0\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad; .long 1
44 .section p1\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad; .long 1
45 .section p2\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad; .long 1
46 .section p3\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad; .long 1
47 .section p4\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad; .long 1
50 .macro pad_sections pad argument
51 // 20x \pad
52 pad_sections2 \pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad\pad
[all …]
/aosp_15_r20/external/trusty/arm-trusted-firmware/plat/imx/common/include/sci/svc/pad/
Dsci_pad_api.h9 * Pad Control (PAD) function.
11 * @addtogroup PAD_SVC (SVC) Pad Service
13 * Module for the Pad Control (PAD) service.
17 * Pad configuration is managed by SC firmware. The pad configuration
22 * - Configuring the technology-specific pad setting such as drive strength,
24 * - Configuring compensation for pad groups with dual voltage capability.
26 * Pad functions fall into one of three categories. Generic functions are
31 * The list of pads is SoC specific. Refer to the SoC [Pad List](@ref PADS)
32 * for valid pad values. Note that all pads exist on a die but may or
39 * but are in fact pad groups. These groups have additional configuration
[all …]
/aosp_15_r20/external/arm-trusted-firmware/plat/imx/common/include/sci/svc/pad/
H A Dsci_pad_api.h9 * Pad Control (PAD) function.
11 * @addtogroup PAD_SVC (SVC) Pad Service
13 * Module for the Pad Control (PAD) service.
17 * Pad configuration is managed by SC firmware. The pad configuration
22 * - Configuring the technology-specific pad setting such as drive strength,
24 * - Configuring compensation for pad groups with dual voltage capability.
26 * Pad functions fall into one of three categories. Generic functions are
31 * The list of pads is SoC specific. Refer to the SoC [Pad List](@ref PADS)
32 * for valid pad values. Note that all pads exist on a die but may or
39 * but are in fact pad groups. These groups have additional configuration
[all …]
/aosp_15_r20/external/coreboot/src/soc/intel/common/block/include/intelblocks/
H A Dgpio_defs.h159 /* Disable the input/output buffer of the pad */
191 .pad = __pad, \
199 .pad = __pad, \
208 .pad = __pad, \
220 #define PAD_CFG_NF(pad, pull, rst, func) \ argument
221 _PAD_CFG_STRUCT(pad, \
226 #define PAD_CFG_NF_LOCK(pad, pull, func, lock_action) \ argument
227 _PAD_CFG_STRUCT_LOCK(pad, \
233 /* Native 1.8V tolerant pad, only applies to some pads like I2C/I2S
236 #define PAD_CFG_NF_1V8(pad, pull, rst, func) \ argument
[all …]
H A Dgpio.h32 * starting pin number for each pad group.
43 * A pad base of -1 indicates that this group uses contiguous numbering
44 * and a pad base should not be used for this group.
57 * GPIO_NUM_PAD_CFG_REGS - number of PAD config registers in the SOC
76 gpio_t pad;/* offset of pad within community */ member
78 Pad config data corresponding to DW0, DW1,.... */
79 enum gpio_lock_action lock_action; /* Pad lock configuration */
95 int first_pad; /* offset of first pad of the group relative
122 gpio_t first_pad; /* first pad in community */
123 gpio_t last_pad; /* last pad in community */
[all …]
/aosp_15_r20/external/coreboot/src/soc/intel/common/block/gpio/
H A Dgpio.c80 /* find the group within the community that the pad is a part of */
89 /* find the base pad number for this pad's group */ in gpio_group_index()
97 printk(BIOS_ERR, "%s: pad %d is not found in community %s!\n", in gpio_group_index()
127 static const struct pad_community *gpio_get_community(gpio_t pad) in gpio_get_community() argument
134 if (pad >= comm->first_pad && pad <= comm->last_pad) in gpio_get_community()
137 printk(BIOS_ERR, "%s pad %d not found\n", __func__, pad); in gpio_get_community()
138 die("Invalid GPIO pad number\n"); in gpio_get_community()
149 pin = relative_pad_in_comm(comm, cfg->pad); in gpio_configure_owner()
160 /* The 4th bit in pad_config 1 (RO) is used to indicate if the pad in gpio_configure_owner()
178 /* Do not configure GPE_EN if PAD is not configured for SCI/wake */ in gpi_enable_gpe()
[all …]
/aosp_15_r20/external/arm-neon-tests/
H A Dcompute_ref_data.c125 PAD(buffer_pad, int, 8, 8);
127 PAD(buffer_pad, int, 16, 4);
129 PAD(buffer_pad, int, 32, 2);
131 PAD(buffer_pad, int, 64, 1);
133 PAD(buffer_pad, uint, 8, 8);
135 PAD(buffer_pad, poly, 8, 8);
137 PAD(buffer_pad, poly, 16, 4);
139 PAD(buffer_pad, uint, 16, 4);
141 PAD(buffer_pad, uint, 32, 2);
143 PAD(buffer_pad, uint, 64, 1);
[all …]
/aosp_15_r20/external/llvm/test/Transforms/Inline/
H A Dinline-funclets.ll15 %pad = cleanuppad within none []
16 call void @g() [ "funclet"(token %pad) ]
17 cleanupret from %pad unwind to caller
30 %pad.inner = cleanuppad within none []
31 call void @g() [ "funclet"(token %pad.inner) ]
32 cleanupret from %pad.inner unwind label %cleanup.outer
34 ; The call here needs to remain a call becuase pad.inner has a cleanupret
41 %pad.outer = cleanuppad within none []
42 call void @g() [ "funclet"(token %pad.outer) ]
43 cleanupret from %pad.outer unwind to caller
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DPadNd.cpp29 Tensor constant_pad_nd(const Tensor& self, IntArrayRef pad, const Scalar& value) { in constant_pad_nd() argument
30 TORCH_CHECK(pad.size() % 2 == 0, "Length of pad must be even but instead it equals ", in constant_pad_nd()
31 pad.size()); in constant_pad_nd()
36 auto l_pad = pad.size() / 2; in constant_pad_nd()
38 TORCH_CHECK(l_inp >= (int64_t)l_pad, "Length of pad should be no more than twice the number of " in constant_pad_nd()
39 "dimensions of the input. Pad length is ", pad.size(), "while the input has ", in constant_pad_nd()
49 if (pad[pad_idx] < 0) { in constant_pad_nd()
50 c_input = c_input.narrow(i, -pad[pad_idx], c_input.size(i) + pad[pad_idx]); in constant_pad_nd()
51 } else if (pad[pad_idx] != 0) { in constant_pad_nd()
54 if (pad[pad_idx + 1] < 0) { in constant_pad_nd()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dcudnn_simplify_padding_test.cc157 weights = pad(s8[3,3,10,10] parameter(0), s8[] constant(0)), padding=0_0x0_0x0_0x0_4 in TEST_F()
165 ROOT pad = pad(slice, s8[] constant(0)), padding=0_0x0_0x0_0x0_5 in TEST_F()
175 const HloInstruction* pad = nullptr; in TEST_F() local
177 GmockMatch(m::Pad(&pad, m::GetTupleElement(m::CustomCall(), 0), in TEST_F()
180 ExpectOnlyPadsOneDim(/*dim=*/3, /*padding_high=*/1, pad->padding_config()); in TEST_F()
186 // into the pad that follows.
192 weights = pad(s8[3,3,10,10] parameter(0), s8[] constant(0)), padding=0_0x0_0x0_0x0_3 in TEST_F()
200 ROOT pad = pad(slice, s8[] constant(0)), padding=0_0x0_0x0_0x0_5 in TEST_F()
214 weights_p = pad(s8[64,60,3,3] parameter(0), s8[] constant(0)), padding=0_0x0_4x0_0x0_0 in TEST_F()
223 ROOT pad = pad(slice, s8[] constant(0)), padding=0_0x0_5x0_0x0_0 in TEST_F()
[all …]
H A Dcudnn_simplify_padding.cc96 if (Match(weights, m::Pad(m::Op(), m::ConstantEffectiveScalar(0)))) { in NumTrailingZeroOutputFeatures()
100 VLOG(2) << "Success: Weights is a pad; padding on output feature dim is " in NumTrailingZeroOutputFeatures()
103 } else if (const HloInstruction * pad; Match( in NumTrailingZeroOutputFeatures() local
104 weights, m::Reshape(m::Pad(&pad, m::Op(), in NumTrailingZeroOutputFeatures()
109 // the pad adds to the O dimension. in NumTrailingZeroOutputFeatures()
126 if (pad->shape().dimensions() != expected_pad_dim_sizes) { in NumTrailingZeroOutputFeatures()
145 pad->padding_config().dimensions(feature_dim_before_reshape); in NumTrailingZeroOutputFeatures()
148 VLOG(2) << "Success: Weights is a reshape of a pad; padding on output " in NumTrailingZeroOutputFeatures()
207 // conv -> slice -> pad in TrySimplifyPadding()
208 // conv -> reshape -> slice-> pad in TrySimplifyPadding()
[all …]
/aosp_15_r20/external/fonttools/Lib/fontTools/varLib/
H A DinterpolatablePlot.py42 pad = 0.1 * 72 variable in InterpolatablePlot
125 self.panel_width = self.width / 2 - self.pad * 3
127 self.height / 2 - self.pad * 6 - self.font_size * 2 - self.title_font_size
142 pad = self.pad
143 width = self.width - 3 * self.pad
144 height = self.height - 2 * self.pad
145 x = y = pad
161 y += self.font_size + self.pad
163 y += self.font_size + self.pad
167 self.draw_label("sha1: %s" % h, x=x + pad, y=y, width=width)
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dmemory_space_propagation_test.cc45 …%pad.2 = s32[6]{0:T(128)} pad(s32[1]{0:T(128)} %param_1.3, s32[]{:T(128)} %constant.2), padding=0_5 in TEST_F()
47 …%pad.3 = s32[6]{0:T(128)} pad(s32[5]{0:T(128)} %param_2.3, s32[]{:T(128)} %constant.2), padding=1_0 in TEST_F()
48 %maximum.1 = s32[6]{0:T(128)} maximum(s32[6]{0:T(128)} %pad.2, s32[6]{0:T(128)} %pad.3) in TEST_F()
79 …%pad.2 = s32[6]{0:T(128)} pad(s32[1]{0:T(128)} %param_1.3, s32[]{:T(128)} %constant.2), padding=0_5 in TEST_F()
81 …%pad.3 = s32[6]{0:T(128)} pad(s32[5]{0:T(128)} %param_2.3, s32[]{:T(128)} %constant.2), padding=1_0 in TEST_F()
82 %maximum.1 = s32[6]{0:T(128)} maximum(s32[6]{0:T(128)} %pad.2, s32[6]{0:T(128)} %pad.3) in TEST_F()
104 …%pad.2 = s32[6]{0:T(128)} pad(s32[1]{0:T(128)} %param_1.3, s32[]{:T(128)} %constant.2), padding=0_5 in TEST_F()
106 …%pad.3 = s32[6]{0:T(128)} pad(s32[5]{0:T(128)} %param_2.3, s32[]{:T(128)} %constant.2), padding=1_0 in TEST_F()
107 %maximum.1 = s32[6]{0:T(128)} maximum(s32[6]{0:T(128)} %pad.2, s32[6]{0:T(128)} %pad.3) in TEST_F()
140 …%pad.2 = s32[6]{0:T(128)} pad(s32[1]{0:T(128)} %param_1.3, s32[]{:T(128)} %constant.2), padding=0_5 in TEST_F()
[all …]
/aosp_15_r20/external/walt/hardware/kicad/walt_footprints.pretty/
H A DTeensy_DIP-28_W15.24mm.kicad_mod14 (pad 1 thru_hole circle (at 0 0) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
15 (pad 2 thru_hole circle (at 0 2.54) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
16 (pad 3 thru_hole circle (at 0 5.08) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
17 (pad 4 thru_hole circle (at 0 7.62) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
18 (pad 5 thru_hole circle (at 0 10.16) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
19 (pad 6 thru_hole circle (at 0 12.7) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
20 (pad 7 thru_hole circle (at 0 15.24) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
21 (pad 8 thru_hole circle (at 0 17.78) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
22 (pad 9 thru_hole circle (at 0 20.32) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
23 (pad 10 thru_hole circle (at 0 22.86) (size 1.5 1.5) (drill 1) (layers *.Cu *.Mask F.SilkS))
[all …]
/aosp_15_r20/external/executorch/backends/xnnpack/test/ops/
H A Dstatic_constant_pad.py22 a = torch.nn.functional.pad(
24 pad=pad_6,
28 b = torch.nn.functional.pad(
30 pad=pad_4,
34 c = torch.nn.functional.pad(
36 pad=pad_2,
40 d = torch.nn.functional.pad(
42 pad=pad_6,
46 e = torch.nn.functional.pad(
48 pad=pad_4,
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
H A Dpad_op_test.py15 """Tests for tensorflow.ops.nn_ops.Pad."""
41 return np.pad(inp, paddings, mode=mode, constant_values=constant_values)
43 return np.pad(inp, paddings, mode=mode)
95 tf_val = array_ops.pad(np_inputs, paddings, mode=mode,
113 def pad(x): function
114 return array_ops.pad(
121 jacob_t, jacob_n = gradient_checker_v2.compute_gradient(pad, [x])
142 array_ops.pad(array_ops.reshape(
152 array_ops.pad(array_ops.reshape(
162 array_ops.pad(array_ops.reshape(
[all …]
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/graphics/
H A DBitmapTest.java279 // Copy bytes to direct buffer, buffer is padded by fixed amount (pad bytes) either side in testCopyWithDirectByteBuffer()
281 final int pad = 1; in testCopyWithDirectByteBuffer() local
284 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectByteBuffer()
292 directBuffer.position(pad); in testCopyWithDirectByteBuffer()
295 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectByteBuffer()
302 directBuffer.position(pad); in testCopyWithDirectByteBuffer()
317 // Copy bytes to heap buffer, buffer is padded by fixed amount (pad bytes) either side in testCopyWithDirectShortBuffer()
319 final int pad = 1; in testCopyWithDirectShortBuffer() local
322 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectShortBuffer()
331 directBuffer.position(pad); in testCopyWithDirectShortBuffer()
[all …]
/aosp_15_r20/external/trusty/arm-trusted-firmware/plat/imx/common/sci/svc/pad/
Dpad_rpc_clnt.c8 * File containing client-side RPC functions for the PAD service. These
21 #include <sci/svc/pad/sci_pad_api.h>
31 sc_err_t sc_pad_set_mux(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_set_mux() argument
40 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_set_mux()
52 sc_err_t sc_pad_get_mux(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_get_mux() argument
62 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_get_mux()
83 sc_err_t sc_pad_set_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t ctrl) in sc_pad_set_gp() argument
92 RPC_U16(&msg, 4U) = (uint16_t)pad; in sc_pad_set_gp()
101 sc_err_t sc_pad_get_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t *ctrl) in sc_pad_get_gp() argument
109 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_get_gp()
[all …]
/aosp_15_r20/external/arm-trusted-firmware/plat/imx/common/sci/svc/pad/
H A Dpad_rpc_clnt.c8 * File containing client-side RPC functions for the PAD service. These
21 #include <sci/svc/pad/sci_pad_api.h>
31 sc_err_t sc_pad_set_mux(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_set_mux() argument
40 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_set_mux()
52 sc_err_t sc_pad_get_mux(sc_ipc_t ipc, sc_pad_t pad, in sc_pad_get_mux() argument
62 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_get_mux()
83 sc_err_t sc_pad_set_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t ctrl) in sc_pad_set_gp() argument
92 RPC_U16(&msg, 4U) = (uint16_t)pad; in sc_pad_set_gp()
101 sc_err_t sc_pad_get_gp(sc_ipc_t ipc, sc_pad_t pad, uint32_t *ctrl) in sc_pad_get_gp() argument
109 RPC_U16(&msg, 0U) = (uint16_t)pad; in sc_pad_get_gp()
[all …]
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/sysroot/usr/include/linux/
Dv4l2-subdev.h42 * struct v4l2_subdev_format - Pad-level media bus format
44 * @pad: pad number, as reported by the media API
49 __u32 pad; member
55 * struct v4l2_subdev_crop - Pad-level crop settings
57 * @pad: pad number, as reported by the media API
58 * @rect: pad crop rectangle boundaries
62 __u32 pad; member
69 * @pad: pad number, as reported by the media API
74 __u32 pad; member
82 * @pad: pad number, as reported by the media API
[all …]
/aosp_15_r20/external/coreboot/src/soc/intel/denverton_ns/include/soc/
H A Dgpio_dnv.h14 // maximal pad number for available groups
70 Structure contains fields that can be used to configure pad.
74 Pad Mode
75 Pad can be set as GPIO or one of its native functions.
77 InterruptConfig and Host Software Pad Ownership are unnecessary.
79 Refer to EDS for each native mode according to the pad.
83 Host Software Pad Ownership
84 Set pad to ACPI mode or GPIO Driver Mode.
97 Set Pad output value.
104 Set Pad to cause one of interrupts (IOxAPIC/SCI/SMI/NMI). This setting
[all …]
/aosp_15_r20/external/skia/src/core/
H A DSkBlurMask.cpp415 int pad = profileSize/2; in BlurRect() local
417 margin->set( pad, pad ); in BlurRect()
420 dst->bounds().setLTRB(SkScalarRoundToInt(src.fLeft - pad), in BlurRect()
421 SkScalarRoundToInt(src.fTop - pad), in BlurRect()
422 SkScalarRoundToInt(src.fRight + pad), in BlurRect()
423 SkScalarRoundToInt(src.fBottom + pad)); in BlurRect()
478 uint8_t *blur_scanline = dp + (y+pad)*dstWidth + pad; in BlurRect()
488 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
489 uint8_t *dst_scanline = dp + y*dstWidth + pad; in BlurRect()
493 for (int y = pad ; y < dstHeight-pad ; y++) { in BlurRect()
[all …]
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/doc/karma/
Ddirective.qbk69 [[`pad`] [A generator object, or a __karma_lazy_argument__ that
71 [[`A`, `Pad`] [Attribute types of the generators `a` and `pad`]]
97 [[`left_align(pad)[a]`] [Generate `a` left aligned in a column of
100 (default: 10), while using the generator `pad`
103 generators `a` and `pad` do not fail (except
106 [[`left_align(width, pad)[a]`] [Generate `a` left aligned in a column of
108 `pad` to emit the necessary padding. This
110 and padding generators `a` and `pad` do not
128 [[`center(pad)[a]`] [Generate `a` centered in a column of
131 (default: 10), while using the generator `pad`
[all …]
/aosp_15_r20/external/mesa3d/docs/
H A Dteflon.rst125 0 CONV 88 7 w: 8 b: 6 stride: 2 pad: SAME
126 1 DWCONV 7 33 w: 35 b: 34 stride: 1 pad: SAME
127 2 CONV 33 37 w: 38 b: 36 stride: 1 pad: SAME
128 3 DWCONV 37 39 w: 41 b: 40 stride: 2 pad: SAME
129 4 CONV 39 43 w: 44 b: 42 stride: 1 pad: SAME
130 5 DWCONV 43 45 w: 47 b: 46 stride: 1 pad: SAME
131 6 CONV 45 49 w: 50 b: 48 stride: 1 pad: SAME
132 7 DWCONV 49 51 w: 53 b: 52 stride: 2 pad: SAME
133 8 CONV 51 55 w: 56 b: 54 stride: 1 pad: SAME
134 9 DWCONV 55 57 w: 59 b: 58 stride: 1 pad: SAME
[all …]

12345678910>>...422