Home
last modified time | relevance | path

Searched refs:padding (Results 1 – 25 of 2511) sorted by relevance

12345678910>>...101

/external/tensorflow/tensorflow/compiler/xla/client/
Dpadding_test.cc29 int64 window_stride, Padding padding) { in ComputePadding() argument
31 padding)[0]; in ComputePadding()
36 const auto padding = ComputePadding(10, 5, 1, Padding::kValid); in TEST_F() local
37 EXPECT_EQ(padding.first, 0); in TEST_F()
38 EXPECT_EQ(padding.second, 0); in TEST_F()
42 const auto padding = ComputePadding(10, 5, 3, Padding::kValid); in TEST_F() local
43 EXPECT_EQ(padding.first, 0); in TEST_F()
44 EXPECT_EQ(padding.second, 0); in TEST_F()
48 const auto padding = ComputePadding(10, 7, 1, Padding::kSame); in TEST_F() local
49 EXPECT_EQ(padding.first, 3); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Ddepthwise_conv_op_test.py74 def _DepthwiseConv2dNumpy(x1, x2, strides, padding, data_format, dilations): argument
114 if padding == "SAME":
124 padding = [(0, 0),
128 elif padding == "VALID":
129 padding = [(0, 0)] * 4
130 x1 = np.pad(x1, padding, "constant")
148 def Config(input_size, filter_size, out_size, stride=1, padding="SAME", argument
150 return input_size, filter_size, out_size, stride, padding, dilations
159 padding="VALID"),
164 Config([5, 41, 35, 2], [4, 7, 2, 2], [5, 32, 23, 4], padding="VALID",
[all …]
Dpool_test.py39 padding, argument
66 if padding == "SAME":
71 elif padding == "VALID":
76 raise ValueError("Unsupported padding type: %r" % (padding,))
103 padding, # pylint: disable=redefined-builtin argument
140 padding=padding,
159 for padding in ["SAME", "VALID"]:
164 padding=padding,
171 for padding in ["SAME", "VALID"]:
175 if padding != "SAME":
[all …]
Dconv_ops_test.py184 strides, padding, data_format, dtype, use_gpu): argument
209 if isinstance(padding, (list, tuple)):
210 padding = [(0, 0)] + padding + [(0, 0)]
215 if isinstance(padding, (list, tuple)):
216 padding = test_util.NHWCToNCHW(padding)
222 padding=padding,
231 padding): argument
254 t1, t2, strides=strides, padding=padding, data_format=data_format)
267 stride, dilation, padding, data_format, argument
288 padding=padding,
[all …]
Dpooling_ops_3d_test.py48 def _VerifyOneTest(self, pool_func, input_sizes, window, strides, padding, argument
80 padding=padding,
90 padding, expected): argument
92 self._VerifyOneTest(pool_func, input_sizes, window, strides, padding,
102 padding="VALID",
112 padding="SAME",
122 padding="SAME",
132 padding="VALID",
142 padding="SAME",
152 padding="SAME",
[all …]
Dpooling_ops_test.py118 def _VerifyOneType(self, pool_func, input_sizes, ksize, strides, padding, argument
168 if isinstance(padding, list):
169 padding = test_util.NHWCToNCHW(padding)
177 padding=padding,
184 padding=padding,
201 def _VerifyOneTest(self, pool_func, input_sizes, ksize, strides, padding, argument
225 if (self._isMaxPool(pool_func) and isinstance(padding, list)):
230 self._VerifyOneType(pool_func, input_sizes, ksize, strides, padding,
235 self._VerifyOneType(pool_func, input_sizes, ksize, strides, padding,
240 self._VerifyOneType(pool_func, input_sizes, ksize, strides, padding,
[all …]
Datrous_convolution_test.py132 for padding in ["SAME", "VALID"]:
140 padding=padding,
147 for padding in ["SAME", "VALID"]:
159 padding=padding,
166 for padding in ["SAME", "VALID"]:
174 padding=padding,
184 for padding in ["SAME", "VALID"]:
188 padding=padding,
196 padding=padding,
209 for padding in ["SAME", "VALID"]:
[all …]
Dmorphological_ops_test.py33 def _VerifyValues(self, image, kernel, strides, rates, padding, out, use_gpu): argument
54 padding=padding,
70 padding="VALID",
86 padding="SAME",
102 padding="SAME",
118 padding="SAME",
134 padding="VALID",
154 padding="SAME",
171 padding="VALID",
186 padding, use_gpu): argument
[all …]
/external/llvm-project/clang/test/Analysis/
Dpadding_message.cpp4 Excessive padding in 'struct IntSandwich' (6 padding bytes, where 2 is optimal). \
17 Excessive padding in 'struct TurDuckHen' (6 padding bytes, where 2 is optimal). \
32 Excessive padding in 'struct SmallIntSandwich' (4 padding bytes, where 0 is optimal). \
60 Excessive padding in 'struct HoldsAUnion' (6 padding bytes, where 2 is optimal). \
81 Excessive padding in 'struct StructSandwich' (6 padding bytes, where 2 is optimal). \
94 Excessive padding in 'TypedefSandwich' (6 padding bytes, where 2 is optimal). \
107 Excessive padding in 'struct StructAttrAlign' (10 padding bytes, where 2 is optimal). \
120 Excessive padding in 'struct OverlyAlignedChar' (8185 padding bytes, where 4089 is optimal). \
135 Excessive padding in 'struct HoldsOverlyAlignedChar' (8190 padding bytes, where 4094 is optimal). \
149 Excessive padding in 'struct X' (6 padding bytes, where 2 is optimal). \ in internalStructFunc()
[all …]
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dpooling.py49 padding='valid', data_format='channels_last', argument
56 padding=padding,
64 padding='valid', data_format='channels_last', argument
94 padding=padding,
120 padding='valid', data_format='channels_last', argument
127 padding=padding,
135 padding='valid', data_format='channels_last', argument
165 padding=padding,
195 padding='valid', data_format='channels_last', argument
201 padding=padding, data_format=data_format, name=name, **kwargs)
[all …]
/external/python/cryptography/tests/hazmat/primitives/
Dtest_rsa.py22 padding, rsa, utils as asym_utils
109 padding.PSS(
110 mgf=padding.MGF1(hash_alg),
111 salt_length=padding.PSS.MAX_LENGTH
230 padding.OAEP(
231 mgf=padding.MGF1(algorithm=hashes.SHA256()),
245 padding.OAEP(
246 mgf=padding.MGF1(algorithm=hashes.SHA512()),
262 padding.OAEP(
263 mgf=padding.MGF1(algorithm=hashes.SHA256()),
[all …]
/external/doclava/res/assets/templates/assets/
Dstyle.css2 padding-left: 6px;
29 padding-top: 2px;
30 padding-bottom: 2px;
31 padding-left: 7px;
32 padding-right: 7px;
43 padding: 0;
50 padding-top: 3px;
51 padding-bottom: 0;
52 padding-left: 7px;
53 padding-right: 7px;
[all …]
/external/XNNPACK/test/
Dconvolution-nchw.cc288 .padding(1)
303 .padding(1)
319 .padding(1)
335 .padding(1)
349 .padding(1)
363 .padding(1)
378 .padding(1)
395 .padding(1) in TEST()
411 .padding(1) in TEST()
428 .padding(1) in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dpooling_ops_3d_test.py34 def _AvgPoolGrad(inputs, outputs, output_gradients, ksize, strides, padding): argument
41 padding=padding)
46 def _VerifyValues(self, pool_func, input_sizes, window, strides, padding, argument
71 padding=padding)
84 padding="VALID",
94 padding="SAME",
104 padding="SAME",
114 padding="VALID",
124 padding="SAME",
134 padding="SAME",
[all …]
Dpooling_ops_test.py74 def _VerifyOneTest(self, pool_func, input_sizes, ksize, strides, padding, argument
103 padding=padding,
110 def _VerifyValues(self, pool_func, input_sizes, ksize, strides, padding, argument
124 self._VerifyOneTest(pool_func, input_sizes, ksize, strides, padding,
133 padding="VALID",
142 padding="SAME",
159 padding="SAME",
168 padding="VALID",
175 padding="VALID",
188 padding="SAME",
[all …]
Ddepthwise_conv_op_test.py35 def ReferenceDepthwiseConv2D(input_tensor, filter_tensor, strides, padding, argument
53 strides, padding,
155 padding, argument
205 padding=padding)
213 t1, t2, strides=[1, stride, stride, 1], padding=padding)
225 padding) in enumerate(ConfigsToTest()):
227 filter_size, "stride:", stride, "padding:", padding)
232 input_size, filter_size, stride, padding, data_type)
236 padding) in enumerate(ConfigsToTest()):
238 "*", filter_size, "stride:", stride, "padding:", padding)
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLEvpCipherAES.java28 OpenSSLEvpCipherAES(Mode mode, Padding padding) { in OpenSSLEvpCipherAES() argument
29 super(mode, padding); in OpenSSLEvpCipherAES()
45 void checkSupportedPadding(Padding padding) throws NoSuchPaddingException { in checkSupportedPadding() argument
46 switch (padding) { in checkSupportedPadding()
52 "Unsupported padding " + padding.toString()); in checkSupportedPadding()
72 AES(Mode mode, Padding padding) { in AES() argument
73 super(mode, padding); in AES()
77 CBC(Padding padding) { in CBC() argument
78 super(Mode.CBC, padding); in CBC()
101 ECB(Padding padding) { in ECB() argument
[all …]
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLEvpCipherAES.java32 OpenSSLEvpCipherAES(Mode mode, Padding padding) { in OpenSSLEvpCipherAES() argument
33 super(mode, padding); in OpenSSLEvpCipherAES()
49 void checkSupportedPadding(Padding padding) throws NoSuchPaddingException { in checkSupportedPadding() argument
50 switch (padding) { in checkSupportedPadding()
56 "Unsupported padding " + padding.toString()); in checkSupportedPadding()
79 AES(Mode mode, Padding padding) { in AES() argument
80 super(mode, padding); in AES()
87 CBC(Padding padding) { in CBC() argument
88 super(Mode.CBC, padding); in CBC()
123 ECB(Padding padding) { in ECB() argument
[all …]
/external/tensorflow/tensorflow/python/keras/utils/
Dconv_utils.py93 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument
108 assert padding in {'same', 'valid', 'full', 'causal'}
110 if padding in ['same', 'causal']:
112 elif padding == 'valid':
114 elif padding == 'full':
119 def conv_input_length(output_length, filter_size, padding, stride): argument
133 assert padding in {'same', 'valid', 'full'}
134 if padding == 'same':
136 elif padding == 'valid':
138 elif padding == 'full':
[all …]
/external/skqp/site/user/api/
Dundocumented.md20 <tr><th style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>Const</th>
21 <th style='text-align: center; border: 2px solid #dddddd; padding: 8px; '>Value</th>
22 <th style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>Description</th></tr>
24 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkClipOp_kDiffere…
25 <td style='text-align: center; border: 2px solid #dddddd; padding: 8px; '>0</td>
26 <td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>
30 …<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a name='SkClipOp_kInterse…
31 <td style='text-align: center; border: 2px solid #dddddd; padding: 8px; '>1</td>
32 <td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>
49 <pre style="padding: 1em 1em 1em 1em; width: 62.5em;background-color: #f0f0f0">
[all …]
/external/proguard/docs/
Dstyle.css24 padding: 10px;
41 padding: 4px;
52 padding: 8px;
57 padding: 8px;
82 padding: 10px;
93 padding: 10px;
102 padding: 0px;
110 padding: 0px;
120 padding: 0px;
121 padding-top: 8px;
[all …]
/external/ImageMagick/www/Magick++/
Dmagick.css6 padding: 0px;
29 padding: 1.33em 1.33em 1.33em 2.66em;
41 padding: .66em 1.33em .66em 1.33em;
49 padding: .66em 1.33em .66em 1.33em;
76 padding: 0;
94 padding-left: .75em;
95 padding-bottom: .75em;
96 padding-top: 0px;
97 padding-right: .75em;
105 padding-left: .66em;
[all …]
/external/kernel-headers/original/uapi/linux/
Dvirtio_crypto.h91 __le32 padding; member
98 __le32 padding; member
103 __u8 padding[32]; member
123 __u8 padding[8]; member
128 __u8 padding[40]; member
153 __le32 padding; member
158 __u8 padding[40]; member
175 __le32 padding; member
180 __u8 padding[32]; member
198 __u8 padding[16]; member
[all …]
/external/boringssl/src/third_party/wycheproof_testvectors/
Daes_cbc_pkcs5_test.txt203 # zero padding
212 # zero padding
221 # zero padding
230 # zero padding
239 # zero padding
248 # padding with 0xff
257 # padding with 0xff
266 # padding with 0xff
275 # padding with 0xff
284 # padding with 0xff
[all …]
/external/tensorflow/tensorflow/python/layers/
Dutils.py98 padding = value.lower()
99 if padding not in {'valid', 'same'}:
101 'Received: ' + str(padding))
102 return padding
105 def conv_output_length(input_length, filter_size, padding, stride, dilation=1): argument
120 assert padding in {'same', 'valid', 'full'}
122 if padding == 'same':
124 elif padding == 'valid':
126 elif padding == 'full':
131 def conv_input_length(output_length, filter_size, padding, stride): argument
[all …]

12345678910>>...101