Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/kernels/
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 …]
Dmkl_fused_ops_test.cc94 int filter_size, int filter_count, in VerifyBiasAddTensorsClose() argument
102 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in VerifyBiasAddTensorsClose()
105 const int bias_size = filter_count; in VerifyBiasAddTensorsClose()
217 void VerifyConv2DWithBias(int filter_size, int filter_count, in VerifyConv2DWithBias() argument
236 filter_count, run_default, run_fused); in VerifyConv2DWithBias()
241 void VerifyConv2DWithBiasAndRelu(int filter_size, int filter_count, in VerifyConv2DWithBiasAndRelu() argument
261 filter_count, run_default, run_fused); in VerifyConv2DWithBiasAndRelu()
276 const int filter_count = 12; in TYPED_TEST_P() local
277 this->VerifyConv2DWithBias(filter_size, filter_count); in TYPED_TEST_P()
282 const int filter_count = 12; in TYPED_TEST_P() local
[all …]
Dconv_ops_using_gemm.cc91 int filter_width, int filter_count, int stride_rows, in operator ()() argument
132 for (int out_channel = 0; out_channel < filter_count; ++out_channel) { in operator ()()
176 filter_count) + in operator ()()
177 (filter_x * input_depth * filter_count) + in operator ()()
178 (in_channel * filter_count) + out_channel]; in operator ()()
183 output_data[(batch * output_height * output_width * filter_count) + in operator ()()
184 (out_y * output_width * filter_count) + in operator ()()
185 (out_x * filter_count) + out_channel] = total; in operator ()()
214 int filter_width, int filter_count, int stride_rows, in operator ()() argument
224 if ((filter_width <= 0) || (filter_height <= 0) || (filter_count <= 0)) { in operator ()()
[all …]
Dconv_ops_test.cc129 const int filter_count = 1; in HandwrittenConv() local
130 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in HandwrittenConv()
169 const int expected_height = image_height * filter_count; in HandwrittenConv()
171 expected_width, filter_count})); in HandwrittenConv()
182 int filter_size, int filter_count, in CompareFusedAndSeparate() argument
197 input_depth, filter_count})); in CompareFusedAndSeparate()
244 int filter_count, const string& pad_mode, in CompareFusedPadOnlyAndSeparate() argument
258 input_depth, filter_count})); in CompareFusedPadOnlyAndSeparate()
445 const int filter_count = 1; in HandwrittenConv() local
446 Tensor filter(DT_FLOAT, {filter_size, filter_size, depth, filter_count}); in HandwrittenConv()
[all …]
Dmkl_quantized_conv_ops_test.cc127 const int filter_count = 1; in TEST_F() local
138 {filter_size, filter_size, depth, filter_count}); in TEST_F()
186 filter_count})); in TEST_F()
222 const int filter_count = 1; in TEST_F() local
224 TensorShape({filter_size, filter_size, depth, filter_count}), in TEST_F()
248 expected_width, filter_count})); in TEST_F()
304 const int filter_count = 1; in TEST_F() local
306 TensorShape({filter_size, filter_size, depth, filter_count}), in TEST_F()
330 expected_width, filter_count})); in TEST_F()
360 const int filter_count = 1; in TEST_F() local
[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
47 input_depth, filter_count); in SpatialConvolution()
52 (input_dims.TotalSize() / input_depth) * filter_count; in SpatialConvolution()
63 int filter_count, int filter_height, in SpatialConvolutionBackwardInput() argument
76 input_depth, filter_count); in SpatialConvolutionBackwardInput()
91 int filter_count, int filter_height, in SpatialConvolutionBackwardKernel() argument
104 input_depth, filter_count); in SpatialConvolutionBackwardKernel()
256 int filter_count, int filter_height, int filter_width, in CuboidConvolution() argument
269 filter_height, filter_width, filter_planes, input_depth, filter_count); in CuboidConvolution()
274 (input_dims.TotalSize() / input_depth) * filter_count; in CuboidConvolution()
[all …]
Ddepthwise_conv_ops_test.cc70 const int filter_count = 1; in Run() local
71 Tensor filter(dtype, {filter_size, filter_size, depth, filter_count}); in Run()
Dconv_ops_fused_image_transform.cc263 int filter_count, int stride_rows, int stride_cols, in operator ()() argument
275 if ((filter_width <= 0) || (filter_height <= 0) || (filter_count <= 0)) { in operator ()()
278 << filter_count; in operator ()()
583 const int n = filter_count; in operator ()()
586 const int ldb = filter_count; in operator ()()
587 const int ldc = filter_count; in operator ()()
591 output_data + (start_patch_index * filter_count); in operator ()()
Dmkl_conv_ops_test.cc57 filter_count(fc), in Conv2DDimensions()
65 int filter_count; member
85 dims.input_depth, dims.filter_count}); in GetRandomFilterTensor()
91 dims.input_width, dims.filter_count}); in GetRandomOutputTensor()
103 dims.input_depth, dims.filter_count}); in GetFilterSizesTensor()
Deigen_spatial_convolutions_test.cc1383 int filter_count, int filter_cols, int filter_rows, in PackRhsHelper() argument
1556 int filter_count, int filter_cols, int filter_rows, in PackLhsHelper() argument
1562 eigen_assert(block_rows <= filter_count); in PackLhsHelper()
1572 Dimensions filter_dims(filter_count, filter_rows, filter_cols, input_depth); in PackLhsHelper()
1627 reshape_dims[0] = filter_count; in PackLhsHelper()
1637 contract_t contract_strides = {filter_count}; in PackLhsHelper()
1682 const Index max_row = filter_count; in PackLhsHelper()
1714 "filter: count=", filter_count, " dims=", filter_rows, "x", filter_cols, in PackLhsHelper()
/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/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()
Dsubchannel.h181 size_t filter_count; member
Dsubchannel.cc348 c->num_filters = args->filter_count; in grpc_subchannel_create()
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Dmultithreaded_conv.h90 int filter_height, int filter_width, int filter_count, 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/integer_ops/
Dpooling.h56 int filter_count = 0; in AveragePool() local
65 filter_count++; in AveragePool()
69 acc = acc > 0 ? (acc + filter_count / 2) / filter_count in AveragePool()
70 : (acc - filter_count / 2) / filter_count; in AveragePool()
/external/tensorflow/tensorflow/lite/kernels/
Ddepthwise_conv_test.cc179 const int filter_count = 1; in TEST_P() local
185 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
232 const int filter_count = 1; in TEST_P() local
238 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
372 const int filter_count = 1; in TEST_P() local
381 {depth, filter_size, filter_size, filter_count}, in TEST_P()
431 const int filter_count = 1; in TEST_P() local
440 {depth, filter_size, filter_size, filter_count}, in TEST_P()
Dconv_test.cc321 const int filter_count = 1; in TEST_P() local
329 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
387 const int filter_count = 1; in TEST_P() local
395 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
441 const int filter_count = 1; in TEST_P() local
449 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
497 const int filter_count = 1; in TEST_P() local
505 {TensorType_FLOAT32, {depth, filter_size, filter_size, filter_count}}, in TEST_P()
539 const int filter_count = 1; in TEST_P() local
549 {TensorType_FLOAT32, {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/libpcap/
Dpcap-dos.c92 static u_long filter_count = 0; variable
288 filter_count++; in pcap_read_one()
457 return (filter_count); in pcap_filter_packets()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dlayout_optimizer_test.cc68 int filter_count = 2; in SimpleConv2D() local
78 {filter_size, filter_size, input_depth, filter_count}); in SimpleConv2D()
107 int filter_count = 2; in SimpleConv2DBackpropInput() local
139 {filter_size, filter_size, input_depth, filter_count}); in SimpleConv2DBackpropInput()
144 {batch_size, output_height, output_width, filter_count}); in SimpleConv2DBackpropInput()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dreference_ops.h2304 float filter_count = 0; in AveragePool() local
2313 filter_count++; in AveragePool()
2316 const float average = total / filter_count; in AveragePool()
2359 int filter_count = 0; in AveragePool() local
2368 filter_count++; in AveragePool()
2371 acc = (acc + filter_count / 2) / filter_count; in AveragePool()
2412 int filter_count = 0; in L2Pool() local
2422 filter_count++; in L2Pool()
2425 const float l2pool_result = std::sqrt(sum_squares / filter_count); in L2Pool()
/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_nodes_test.cc317 int filter_count, int stride, const string& padding, in TestQuantizeConv2D() argument
330 DT_FLOAT, TensorShape({filter_size, filter_size, depth, filter_count})); in TestQuantizeConv2D()

12