Home
last modified time | relevance | path

Searched refs:filter_count (Results 1 – 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_test.cc132 const int filter_count = 1; in HandwrittenConv() local
133 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in HandwrittenConv()
172 const int expected_height = image_height * filter_count; in HandwrittenConv()
174 expected_width, filter_count})); in HandwrittenConv()
185 int filter_size, int filter_count, in CompareFusedAndSeparate() argument
200 input_depth, filter_count})); in CompareFusedAndSeparate()
247 int filter_count, const string& pad_mode, in CompareFusedPadOnlyAndSeparate() argument
261 input_depth, filter_count})); in CompareFusedPadOnlyAndSeparate()
448 const int filter_count = 1; in HandwrittenConv() local
449 Tensor filter(DT_FLOAT, {filter_size, filter_size, depth, filter_count}); in HandwrittenConv()
[all …]
Dquantized_conv_ops_test.cc81 const int filter_count = 1; in TEST_F() local
85 {filter_size, filter_size, depth, filter_count}); in TEST_F()
120 const int expected_height = image_height * filter_count; in TEST_F()
123 filter_count})); in TEST_F()
157 const int filter_count = 1; in TEST_F() local
159 TensorShape({filter_size, filter_size, depth, filter_count}), in TEST_F()
168 const int expected_height = image_height * filter_count; in TEST_F()
170 expected_width, filter_count})); in TEST_F()
200 const int filter_count = 1; in TEST_F() local
202 TensorShape({filter_size, filter_size, depth, filter_count}), in TEST_F()
[all …]
Dconv_ops_using_gemm.cc93 int filter_width, int filter_count, int stride_rows, in operator ()() argument
134 for (int out_channel = 0; out_channel < filter_count; ++out_channel) { in operator ()()
178 filter_count) + in operator ()()
179 (filter_x * input_depth * filter_count) + in operator ()()
180 (in_channel * filter_count) + out_channel]; in operator ()()
185 output_data[(batch * output_height * output_width * filter_count) + in operator ()()
186 (out_y * output_width * filter_count) + in operator ()()
187 (out_x * filter_count) + out_channel] = total; in operator ()()
216 int filter_width, int filter_count, int stride_rows, in operator ()() argument
226 if ((filter_width <= 0) || (filter_height <= 0) || (filter_count <= 0)) { in operator ()()
[all …]
Dquantized_conv_ops.cc57 int filter_height, int filter_width, int filter_count, in operator ()() argument
109 for (int out_channel = 0; out_channel < filter_count; ++out_channel) { in operator ()()
157 filter_count) + in operator ()()
158 (filter_x * input_depth * filter_count) + in operator ()()
159 (in_channel * filter_count) + out_channel]; in operator ()()
176 output_data[(batch * output_height * output_width * filter_count) + in operator ()()
177 (out_y * output_width * filter_count) + in operator ()()
178 (out_x * filter_count) + out_channel] = clamped_output; in operator ()()
203 int filter_height, int filter_width, int filter_count, in operator ()() argument
224 filter_height, filter_width, filter_count, filter_offset, in operator ()()
[all …]
Deigen_benchmark_cpu_test.cc35 int filter_count, int filter_height, int filter_width) { in SpatialConvolution() argument
45 input_depth, filter_count); in SpatialConvolution()
50 (input_dims.TotalSize() / input_depth) * filter_count; in SpatialConvolution()
62 int filter_count, int filter_height, in SpatialConvolutionBackwardInput() argument
73 input_depth, filter_count); in SpatialConvolutionBackwardInput()
89 int filter_count, int filter_height, in SpatialConvolutionBackwardKernel() argument
100 input_depth, filter_count); in SpatialConvolutionBackwardKernel()
252 int filter_count, int filter_height, int filter_width, in CuboidConvolution() argument
263 filter_height, filter_width, filter_planes, input_depth, filter_count); in CuboidConvolution()
268 (input_dims.TotalSize() / input_depth) * filter_count; in CuboidConvolution()
[all …]
Ddepthwise_conv_ops_test.cc72 const int filter_count = 1; in Run() local
73 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in Run()
Dconv_ops_fused_image_transform.cc264 int filter_count, int stride_rows, int stride_cols, in operator ()() argument
276 if ((filter_width <= 0) || (filter_height <= 0) || (filter_count <= 0)) { in operator ()()
279 << filter_count; in operator ()()
584 const int n = filter_count; in operator ()()
587 const int ldb = filter_count; in operator ()()
588 const int ldc = filter_count; in operator ()()
592 output_data + (start_patch_index * filter_count); in operator ()()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_stack.cc48 size_t filter_count) { in grpc_channel_stack_size() argument
51 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * in grpc_channel_stack_size()
59 for (i = 0; i < filter_count; i++) { in grpc_channel_stack_size()
91 const grpc_channel_filter** filters, size_t filter_count, in grpc_channel_stack_init() argument
96 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * sizeof(grpc_call_element)); in grpc_channel_stack_init()
102 stack->count = filter_count; in grpc_channel_stack_init()
107 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * in grpc_channel_stack_init()
112 for (i = 0; i < filter_count; i++) { in grpc_channel_stack_init()
117 args.is_last = i == (filter_count - 1); in grpc_channel_stack_init()
135 grpc_channel_stack_size(filters, filter_count)); in grpc_channel_stack_init()
Dchannel_stack.h204 size_t filter_count);
208 const grpc_channel_filter** filters, size_t filter_count,
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannel_stack.cc48 size_t filter_count) { in grpc_channel_stack_size() argument
51 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * in grpc_channel_stack_size()
59 for (i = 0; i < filter_count; i++) { in grpc_channel_stack_size()
91 const grpc_channel_filter** filters, size_t filter_count, in grpc_channel_stack_init() argument
96 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * sizeof(grpc_call_element)); in grpc_channel_stack_init()
102 stack->count = filter_count; in grpc_channel_stack_init()
107 GPR_ROUND_UP_TO_ALIGNMENT_SIZE(filter_count * in grpc_channel_stack_init()
112 for (i = 0; i < filter_count; i++) { in grpc_channel_stack_init()
117 args.is_last = i == (filter_count - 1); in grpc_channel_stack_init()
135 grpc_channel_stack_size(filters, filter_count)); in grpc_channel_stack_init()
Dchannel_stack.h212 size_t filter_count);
216 const grpc_channel_filter** filters, size_t filter_count,
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dsubchannel_index.cc52 k->args.filter_count = args->filter_count; in create_key()
53 if (k->args.filter_count > 0) { in create_key()
55 gpr_malloc(sizeof(*k->args.filters) * k->args.filter_count)); in create_key()
57 args->filters, sizeof(*k->args.filters) * k->args.filter_count); in create_key()
78 int c = GPR_ICMP(a->args.filter_count, b->args.filter_count); in grpc_subchannel_key_compare()
80 if (a->args.filter_count > 0) { in grpc_subchannel_key_compare()
82 a->args.filter_count * sizeof(*a->args.filters)); in grpc_subchannel_key_compare()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dpooling.h57 int filter_count = 0; in AveragePool() local
66 filter_count++; in AveragePool()
70 acc = acc > 0 ? (acc + filter_count / 2) / filter_count in AveragePool()
71 : (acc - filter_count / 2) / filter_count; in AveragePool()
173 int filter_count = 0; in AveragePool() local
182 filter_count++; in AveragePool()
186 acc = acc > 0 ? (acc + filter_count / 2) / filter_count in AveragePool()
187 : (acc - filter_count / 2) / filter_count; in AveragePool()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantized_conv_ops_test.cc116 const int filter_count = 1; in RunQuantizedDepthwiseConv2DOp() local
118 TensorShape({filter_size, filter_size, depth, filter_count}), in RunQuantizedDepthwiseConv2DOp()
209 const int filter_count = 1; in TEST_F() local
220 {filter_size, filter_size, depth, filter_count}); in TEST_F()
268 filter_count})); in TEST_F()
334 const int filter_count = 1; in TEST_F() local
345 {filter_size, filter_size, depth, filter_count}); in TEST_F()
373 filter_count})); in TEST_F()
407 const int filter_count = 1; in TEST_F() local
409 TensorShape({filter_size, filter_size, depth, filter_count}), in TEST_F()
[all …]
Dmkl_quantized_conv_ops_perchannel_test.cc126 const int filter_count = 2; in TEST_F() local
137 DT_FLOAT, {filter_height, filter_width, filter_channel, filter_count}); in TEST_F()
209 filter_count})); in TEST_F()
Dmkl_conv_ops_test.cc56 filter_count(fc), in Conv2DDimensions()
64 int filter_count; member
84 dims.input_depth, dims.filter_count}); in GetRandomFilterTensor()
90 dims.input_width, dims.filter_count}); in GetRandomOutputTensor()
102 dims.input_depth, dims.filter_count}); in GetFilterSizesTensor()
Dmkl_fused_ops_test.cc118 int filter_size, int filter_count, in VerifyBiasAddTensorsClose() argument
126 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in VerifyBiasAddTensorsClose()
129 const int bias_size = filter_count; in VerifyBiasAddTensorsClose()
147 int filter_size, int filter_count, int bias_size, in VerifyFusedTensorsClose() argument
156 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in VerifyFusedTensorsClose()
343 void VerifyFusedConv2D(int filter_size, int filter_count, in VerifyFusedConv2D() argument
370 const int bias_size = filter_count; in VerifyFusedConv2D()
373 filter_count, bias_size, fused_ops, run_default, run_fused, padding); in VerifyFusedConv2D()
665 void VerifyFusedDepthwiseConv2D(int filter_size, int filter_count, in VerifyFusedDepthwiseConv2D() argument
691 filter_count, bias_size, fused_ops, run_default, run_fused); in VerifyFusedDepthwiseConv2D()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dmultithreaded_conv.h90 int filter_width, int filter_count, int stride_rows, in operator()
102 EigenMatrix output(output_data, input_batches * conv_width, filter_count); in operator()
105 ConstEigenMatrix filter(filter_data, input_depth, filter_count); in operator()
116 EigenMatrix output(output_data, input_batches, filter_count); in operator()
118 ConstEigenMatrix filter(filter_data, k, filter_count); in operator()
123 output_width, filter_count); in operator()
127 input_depth, filter_count); in operator()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dpooling.h57 float filter_count = 0; in AveragePool() local
66 filter_count++; in AveragePool()
69 const float average = total / filter_count; in AveragePool()
113 int filter_count = 0; in AveragePool() local
122 filter_count++; in AveragePool()
125 acc = (acc + filter_count / 2) / filter_count; in AveragePool()
166 int filter_count = 0; in L2Pool() local
176 filter_count++; in L2Pool()
179 const float l2pool_result = std::sqrt(sum_squares / filter_count); in L2Pool()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/integer_ops/
Dpooling.h193 const int filter_count = in AveragePool() local
249 ? (acc[channel + i] + filter_count / 2) / filter_count in AveragePool()
250 : (acc[channel + i] - filter_count / 2) / filter_count; in AveragePool()
260 ? (acc[channel] + filter_count / 2) / filter_count in AveragePool()
261 : (acc[channel] - filter_count / 2) / filter_count; in AveragePool()
/external/tensorflow/tensorflow/lite/kernels/
Dconv_test.cc514 const int filter_count = 1; in TEST_P() local
522 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
589 const int filter_count = 1; in TEST_P() local
602 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
659 const int filter_count = 1; in TEST_P() local
667 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
713 const int filter_count = 1; in TEST_P() local
721 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
769 const int filter_count = 1; in TEST_P() local
777 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
[all …]
Ddepthwise_conv_test.cc374 const int filter_count = 1; in SimpleDilatedTestPaddingValid() local
380 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in SimpleDilatedTestPaddingValid()
436 const int filter_count = 1; in SimpleDilatedTestPaddingSame() local
442 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in SimpleDilatedTestPaddingSame()
805 const int filter_count = 1; in TEST_P() local
814 {depth, filter_size, filter_size, filter_count}, in TEST_P()
864 const int filter_count = 1; in TEST_P() local
873 {depth, filter_size, filter_size, filter_count}, in TEST_P()
905 const int filter_count = 1; in TEST_P() local
914 {depth, filter_size, filter_size, filter_count}, in TEST_P()
[all …]
/external/squashfs-tools/squashfs-tools/
Dxz_wrapper.c44 static int filter_count = 1; variable
88 filter_count++; in xz_options()
241 if(dictionary_size == block_size && filter_count == 1) in xz_dump_options()
306 filter_count = 1; in xz_extract_options()
310 filter_count ++; in xz_extract_options()
385 int i, j, filters = datablock ? filter_count : 1; in xz_init()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_test.cc91 int filter_count = 2; in SimpleConv2D() local
101 {filter_size, filter_size, input_depth, filter_count}); in SimpleConv2D()
120 int filter_count = 2; in SimpleConv2DBackpropInput() local
134 {filter_size, filter_size, input_depth, filter_count}); in SimpleConv2DBackpropInput()
141 DIMS(batch_size, output_height, output_width, filter_count)); in SimpleConv2DBackpropInput()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dconv_test.cc345 const int filter_count = 1; in TEST() local
354 {depth, filter_size, filter_size, filter_count}, in TEST()

12