Home
last modified time | relevance | path

Searched refs:kSame (Results 1 – 25 of 42) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/client/
Dpadding_test.cc48 const auto padding = ComputePadding(10, 7, 1, Padding::kSame); in TEST_F()
54 const auto padding = ComputePadding(10, 6, 1, Padding::kSame); in TEST_F()
60 const auto padding = ComputePadding(10, 7, 3, Padding::kSame); in TEST_F()
66 const auto padding = ComputePadding(10, 6, 4, Padding::kSame); in TEST_F()
72 const auto padding = ComputePadding(10, 1, 1, Padding::kSame); in TEST_F()
78 const auto padding = ComputePadding(10, 20, 1, Padding::kSame); in TEST_F()
85 const auto padding = ComputePadding(4, 1, 2, Padding::kSame); in TEST_F()
Dpadding.h34 kSame, enumerator
Dpadding.cc53 case Padding::kSame: in MakePadding()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_window_test.cc132 /*window_strides=*/{}, Padding::kSame); in TEST_P()
149 Padding::kSame); in TEST_P()
158 Padding padding = Padding::kSame; in XLA_TEST_P()
173 Padding padding = Padding::kSame; in TEST_P()
187 Padding padding = Padding::kSame; in TEST_P()
204 Padding padding = Padding::kSame; in TEST_P()
223 Padding padding = Padding::kSame; in TEST_P()
246 Padding padding = Padding::kSame; in TEST_P()
271 Padding padding = Padding::kSame; in TEST_P()
291 Padding padding = Padding::kSame; in TEST_P()
[all …]
Dselect_and_scatter_test.cc95 Padding::kSame,
111 Padding::kSame,
162 Padding::kSame,
167 Padding::kSame,
171 {6, 4, 4}, {3, 4, 4}, Padding::kSame, {3, 1, 1}, {2, 1, 1}},
173 {6, 256, 128}, {3, 256, 128}, Padding::kSame, {3, 1, 1}, {2, 1, 1}},
200 {1, 5, 5}, {1, 5, 5}, Padding::kSame, {3, 1, 1}, {3, 1, 1}},
202 {7, 8, 256}, {4, 8, 256}, Padding::kSame, {2, 1, 1}, {2, 1, 1}}));
270 /*window_strides=*/{1, 1}, Padding::kSame, source, in XLA_TEST_F()
308 /*window_strides=*/{2, 2}, Padding::kSame, source, in XLA_TEST_F()
[all …]
/external/skqp/bench/
DSortBench.cpp54 kRand, kRandN, kFore, kBack, kSame enumerator
185 DEF_BENCH( return NewSkQSort(kSame); )
186 DEF_BENCH( return NewSkHeap(kSame); )
187 DEF_BENCH( return NewQSort(kSame); )
188 DEF_BENCH( return NewStdSort(kSame); )
/external/skia/bench/
DSortBench.cpp54 kRand, kRandN, kFore, kBack, kSame enumerator
185 DEF_BENCH( return NewSkQSort(kSame); )
186 DEF_BENCH( return NewSkHeap(kSame); )
187 DEF_BENCH( return NewQSort(kSame); )
188 DEF_BENCH( return NewStdSort(kSame); )
/external/pdfium/core/fxge/skia/
Dfx_skia_device_unittest.cpp21 enum class Clip { kNo, kSame, kDifferentPath, kDifferentMatrix }; enumerator
79 if (state.m_clip == State::Clip::kSame) in CommonTest()
150 State::Clip::kSame, State::Graphic::kPath, 0xFF112233}); in TEST()
168 State::Clip::kSame, State::Graphic::kText, 0xFF445566}); in TEST()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dpooling_test.cc86 MaxPool(input, kernel_size, stride, Padding::kSame, data_format); in XLA_TEST_F()
99 MaxPool(input, kernel_size, stride, Padding::kSame, data_format); in XLA_TEST_F()
129 auto padding = MakeGeneralPadding(input, kernel_size, stride, Padding::kSame, in XLA_TEST_F()
145 auto padding = MakeGeneralPadding(input, kernel_size, stride, Padding::kSame, in XLA_TEST_F()
Dconv_grad_size_util.cc43 case Padding::kSame: in GetWindowedOutputSize()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dlrn_ops.cc58 /* window_strides = */ {1, 1, 1, 1}, xla::Padding::kSame); in Compile()
145 /* window_strides = */ {1, 1, 1, 1}, xla::Padding::kSame); in Compile()
162 /* window_strides = */ {1, 1, 1, 1}, xla::Padding::kSame); in Compile()
Dpooling_ops.cc66 padding_ = (padding == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in PoolingOp()
330 (padding_ == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in Compile()
422 (padding_ == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in Compile()
598 (padding_ == VALID) ? xla::Padding::kValid : xla::Padding::kSame; in Compile()
/external/tensorflow/tensorflow/lite/kernels/internal/
Ddepthwiseconv_float_test.cc105 UniformRandomInt(0, 1) ? PaddingType::kSame : PaddingType::kValid; in TryTestOneDepthwiseConv()
128 op_params.padding_type = PaddingType::kSame; in TryTestOneDepthwiseConv()
Ddepthwiseconv_quantized_test.cc572 UniformRandomInt(0, 1) ? PaddingType::kSame : PaddingType::kValid; in TryTestOneDepthwiseConv()
595 UniformRandomInt(0, 1) ? PaddingType::kSame : PaddingType::kValid; in TryTestOneDepthwiseConv3x3Filter()
603 if (padding_type == PaddingType::kSame && stride == 2) { in TryTestOneDepthwiseConv3x3Filter()
610 if (padding_type == PaddingType::kSame && in TryTestOneDepthwiseConv3x3Filter()
650 test_param.test_pad ? PaddingType::kSame : PaddingType::kValid; in TryTestOneNeonDot3x3()
Dtest_util.cc45 } else if (padding_type == PaddingType::kSame) { in ComputeConvSizes()
/external/tensorflow/tensorflow/compiler/xla/
Dreference_util_test.cc218 ReferenceUtil::ConvArray3D(input, weights, 1, Padding::kSame); in TEST_F()
258 ReferenceUtil::ConvArray4D(input, weights, {1, 1}, Padding::kSame); in TEST_F()
349 input, weight, {1, 1}, Padding::kSame, dimension_numbers); in TEST_F()
/external/tensorflow/tensorflow/lite/kernels/
Ddepthwise_conv.cc208 op_params.padding_type = PaddingType::kSame; in EvalFloat()
245 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
273 op_params.padding_type = PaddingType::kSame; in EvalQuantizedPerChannel()
Dconv.cc97 return PaddingType::kSame; in RuntimePaddingType()
446 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
473 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
641 op_params.padding_type = PaddingType::kSame; in EvalHybrid()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/
Ddepthwise_conv.cc104 op_params.padding_type = PaddingType::kSame; in EvalFloat()
132 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes_test.cc186 EXPECT_EQ(::tflite::Padding_SAME, Padding::Serialize(PaddingType::kSame)); in TEST()
187 EXPECT_EQ(PaddingType::kSame, Padding::Deserialize(::tflite::Padding_SAME)); in TEST()
Dtypes.cc190 case PaddingType::kSame: in Serialize()
202 return PaddingType::kSame; in Deserialize()
Dexport_test.cc43 op->padding.type = PaddingType::kSame; in AddOperatorsByName()
124 op->padding.type = PaddingType::kSame; in BuildQuantizableTestModel()
402 op->padding.type = PaddingType::kSame; in AddConvOp()
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/portable_optimized/
Ddepthwise_conv.cc295 op_params.padding_type = PaddingType::kSame; in EvalFloat()
323 op_params.padding_type = PaddingType::kSame; in EvalQuantized()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dlegacy_optimized_ops.h149 op_params.padding_type = PaddingType::kSame; in DepthwiseConv()
220 op_params.padding_type = PaddingType::kSame; in DepthwiseConv()
468 op_params.padding_type = PaddingType::kSame; in DilatedIm2col()
488 op_params.padding_type = PaddingType::kSame; in Im2col()
519 op_params.padding_type = PaddingType::kSame; in Conv()
544 op_params.padding_type = PaddingType::kSame; in HybridConv()
617 op_params.padding_type = PaddingType::kSame; in Conv()
790 op_params.padding_type = PaddingType::kSame; in TransposeConv()
809 op_params.padding_type = PaddingType::kSame; in TransposeIm2col()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Didentify_dilated_conv.cc127 conv_op->padding.type = PaddingType::kSame; in ResolveDilatedConv()

12