Home
last modified time | relevance | path

Searched refs:filter_data (Results 1 – 25 of 41) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/tests/
Dconvolution_variants_test.cc388 std::vector<float> filter_data(128); in XLA_TEST_F() local
389 std::fill(filter_data.begin(), filter_data.begin() + 64, 1.0); in XLA_TEST_F()
390 std::fill(filter_data.begin() + 64, filter_data.begin() + 128, 2.0); in XLA_TEST_F()
391 const Array4D<float> filter_array(2, 1, 8, 8, filter_data); in XLA_TEST_F()
408 std::vector<float> filter_data(1 * 1 * 1 * 1); in XLA_TEST_F() local
409 std::iota(filter_data.begin(), filter_data.end(), 1.0); in XLA_TEST_F()
410 const Array4D<float> filter_array(1, 1, 1, 1, filter_data); in XLA_TEST_F()
437 std::vector<float> filter_data(1 * 1 * ky * kx); in XLA_TEST_F() local
438 std::iota(filter_data.begin(), filter_data.end(), 1.0); in XLA_TEST_F()
439 const Array4D<float> filter_array(1, 1, ky, kx, filter_data); in XLA_TEST_F()
[all …]
Dconvolution_test.cc135 Array4D<T> filter_data(1, 1, 1, 2); in RunTest() local
136 filter_data.FillWithYX(Array2D<T>({ in RunTest()
142 std::move(*Literal::CreateFromArray(filter_data))}, in RunTest()
169 Array4D<T> filter_data(1, 1, 2, 2); in RunTest() local
170 filter_data.FillWithYX(Array2D<T>({ in RunTest()
176 std::move(*Literal::CreateFromArray(filter_data))}, in RunTest()
203 Array4D<T> filter_data(1, 1, 2, 2); in RunTest() local
204 filter_data.FillWithYX(Array2D<T>({ in RunTest()
211 std::move(*Literal::CreateFromArray(filter_data))}, in RunTest()
237 Array4D<T> filter_data(1, 1, 3, 3); in RunTest() local
[all …]
/external/autotest/frontend/tko/
Drpc_interface.py13 def get_test_views(**filter_data): argument
15 models.TestView.list_objects(filter_data))
18 def get_num_test_views(**filter_data): argument
19 return models.TestView.query_count(filter_data)
23 extra_select_fields=None, **filter_data): argument
47 query = models.TestView.objects.get_query_set_with_joins(filter_data)
49 query = models.TestView.query_objects(filter_data, initial_query=query,
55 query = models.TestView.apply_presentation(query, filter_data)
64 def get_num_groups(group_by, **filter_data): argument
68 query = models.TestView.objects.get_query_set_with_joins(filter_data)
[all …]
Dmodels.py528 def get_query_set_with_joins(self, filter_data): argument
571 test_attributes = filter_data.pop('test_attribute_fields', [])
575 test_labels = filter_data.pop('test_label_fields', [])
578 machine_labels = filter_data.pop('machine_label_fields', [])
581 iteration_keys = filter_data.pop('iteration_result_fields', [])
584 job_keyvals = filter_data.pop('job_keyval_fields', [])
587 iteration_attributes = filter_data.pop('iteration_attribute_fields', [])
595 extra_where = filter_data.get('extra_where', '')
600 include_labels = filter_data.pop('include_labels', [])
601 exclude_labels = filter_data.pop('exclude_labels', [])
[all …]
/external/autotest/frontend/afe/
Drpc_interface.py299 def get_labels(exclude_filters=(), **filter_data): argument
305 labels = models.Label.query_objects(filter_data)
312 static_labels = models.StaticLabel.query_objects(filter_data)
631 valid_only=True, include_current_job=False, **filter_data): argument
645 valid_only, filter_data)
707 valid_only=True, **filter_data): argument
718 valid_only, filter_data)
724 def get_tests(**filter_data): argument
726 models.Test.list_objects(filter_data))
776 def get_profilers(**filter_data): argument
[all …]
Dmodel_logic.py379 filter_data = {foreign_key_field.name + '__pk__in':
381 for related_object in related_model.objects.filter(**filter_data):
700 def _extract_special_params(cls, filter_data): argument
706 regular_filters = dict(filter_data)
715 def apply_presentation(cls, query, filter_data): argument
721 special_params, _ = cls._extract_special_params(filter_data)
738 def query_objects(cls, filter_data, valid_only=True, initial_query=None, argument
754 filter_data)
781 query = cls.apply_presentation(query, filter_data)
787 def query_count(cls, filter_data, initial_query=None): argument
[all …]
Drpc_utils.py186 valid_only, filter_data): argument
201 return models.Host.query_objects(filter_data, initial_query=hosts)
901 **filter_data): argument
912 filter_data[start_time_key] = start_time_value
914 filter_data[end_time_key] = end_time_value
915 return filter_data
1223 filter_data={},
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/reference/
Ddepthwiseconv_float.h26 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument
63 float filter_value = filter_data[Offset( in DepthwiseConv()
87 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument
94 DepthwiseConv(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv()
103 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument
107 DepthwiseConv<Ac>(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv()
Ddepthwiseconv_uint8.h30 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument
69 int32 filter_val = filter_data[Offset(filter_dims, oc, in DepthwiseConv()
96 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument
108 DepthwiseConv(input_data, input_dims, input_offset, filter_data, filter_dims, in DepthwiseConv()
119 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument
127 DepthwiseConv<Ac>(input_data, input_dims, input_offset, filter_data, in DepthwiseConv()
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/optimized/
Dmultithreaded_conv.h118 const T* filter_data, int filter_height, int filter_width, in operator()
134 ConstEigenMatrix filter(filter_data, input_depth, filter_count); in operator()
147 ConstEigenMatrix filter(filter_data, k, filter_count); in operator()
155 ConstEigenTensor filter(filter_data, filter_height, filter_width, in operator()
165 const float* filter_data, const Dims<4>& filter_dims, in Conv() argument
183 input_depth, filter_data, filter_height, filter_width, in Conv()
Dcblas_conv.h35 const float* filter_data, const Dims<4>& filter_dims, in Conv() argument
70 const float* b = filter_data; in Conv()
Ddepthwiseconv_float.h767 const float* filter_data,
787 const float* filter_base_ptr = filter_data;
840 const float* filter_data, int out_x_buffer_start, int out_x_buffer_end,
869 const float* filter_base_ptr = filter_data;
911 const float* filter_data, const Dims<4>& filter_dims,
1021 filter_data + filter_y * filter_dims.strides[2],
1073 const float* filter_data, const Dims<4>& filter_dims,
1080 DepthwiseConv(input_data, input_dims, filter_data, filter_dims, bias_data,
1089 const float* filter_data, const Dims<4>& filter_dims,
1093 DepthwiseConv<Ac>(input_data, input_dims, filter_data, filter_dims, bias_data,
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dconvolution_thunk.cc68 se::DeviceMemoryBase filter_data = in ExecuteOnStream() local
80 filter_data, output_data, scratch, window_, dim_nums_, algorithm_config, in ExecuteOnStream()
92 return filter_data.opaque(); in ExecuteOnStream()
/external/tensorflow/tensorflow/core/kernels/
Dconv_ops_test.cc177 Tensor filter_data(DT_FLOAT, TensorShape({filter_size, filter_size, in CompareFusedAndSeparate() local
179 test::FillIota<float>(&filter_data, 1.0f); in CompareFusedAndSeparate()
181 Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CompareFusedAndSeparate()
231 Tensor filter_data(DT_FLOAT, TensorShape({filter_size, filter_size, in CompareFusedPadOnlyAndSeparate() local
233 test::FillIota<float>(&filter_data, 1.0f); in CompareFusedPadOnlyAndSeparate()
235 Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CompareFusedPadOnlyAndSeparate()
Dconv_ops_using_gemm.cc90 int input_depth, const T2* filter_data, int filter_height, in operator ()() argument
175 filter_data[(filter_y * filter_width * input_depth * in operator ()()
213 int input_depth, const T2* filter_data, int filter_height, in operator ()() argument
248 gemm_functor(context, m, n, k, input_data, lda, filter_data, ldb, in operator ()()
261 gemm_functor(context, m, n, k, input_data, lda, filter_data, ldb, in operator ()()
416 gemm_functor(context, m, n, k, im2col_buffer, lda, filter_data, ldb, in operator ()()
Dquantized_conv_ops.cc56 int input_depth, int input_offset, const T2* filter_data, in operator ()() argument
156 filter_data[(filter_y * filter_width * input_depth * in operator ()()
202 int input_depth, int input_offset, const T2* filter_data, in operator ()() argument
223 input_width, input_depth, input_offset, filter_data, in operator ()()
392 filter_data, chunk_output_data, m, n, k, in operator ()()
401 const uint8* filter_data_as_uint8 = &(filter_data->value); in operator ()()
441 input_offset, lda, filter_data, filter_offset, ldb, in operator ()()
/external/libevent/test/
Dregress_bufferevent.c1238 struct bufferevent_filter_data_stuck *filter_data = arg; in bufferevent_filter_data_stuck_readcb() local
1242 filter_data->total_read += read_size; in bufferevent_filter_data_stuck_readcb()
1253 struct bufferevent_filter_data_stuck *filter_data = ctx; in bufferevent_filter_data_stuck_inputcb() local
1259 char *header = calloc(filter_data->header_size, 1); in bufferevent_filter_data_stuck_inputcb()
1260 evbuffer_add(dst, header, filter_data->header_size); in bufferevent_filter_data_stuck_inputcb()
1262 header_size = filter_data->header_size; in bufferevent_filter_data_stuck_inputcb()
1281 struct bufferevent_filter_data_stuck filter_data; in test_bufferevent_filter_data_stuck() local
1291 memset(&filter_data, 0, sizeof(filter_data)); in test_bufferevent_filter_data_stuck()
1292 filter_data.header_size = 20; in test_bufferevent_filter_data_stuck()
1306 &filter_data)); in test_bufferevent_filter_data_stuck()
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.h248 const DeviceMemory<float>& filter_data,
259 const DeviceMemory<double>& filter_data,
267 const DeviceMemory<Eigen::half>& filter_data,
279 const DeviceMemory<double>& filter_data,
293 const DeviceMemory<float>& filter_data,
308 const DeviceMemory<Eigen::half>& filter_data,
325 const DeviceMemory<int8>& filter_data,
376 const DeviceMemory<float>& filter_data,
388 const DeviceMemory<Eigen::half>& filter_data,
649 const DeviceMemory<T>& filter_data,
[all …]
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transferer_test.cc160 Tensor filter_data(DT_FLOAT, TensorShape({1, 1, 1, 1})); in CreateConvGraphDef() local
161 test::FillIota<float>(&filter_data, 1.0f); in CreateConvGraphDef()
163 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CreateConvGraphDef()
179 Tensor filter_data(DT_FLOAT, TensorShape({1, 1, 1, 1})); in CreatePoolGraphDef() local
180 test::FillIota<float>(&filter_data, 1.0f); in CreatePoolGraphDef()
182 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CreatePoolGraphDef()
/external/mesa3d/src/egl/main/
Deglarray.c153 _EGLArrayForEach filter, void *filter_data) in _eglFilterArray() argument
162 if (filter(array->Elements[i], filter_data)) { in _eglFilterArray()
/external/tensorflow/tensorflow/core/kernels/neon/
Ddepthwiseconv_float.h429 const float* filter_data,
449 const float* filter_base_ptr = filter_data;
502 const float* filter_data, int out_x_buffer_start, int out_x_buffer_end,
511 const float* filter_base_ptr = filter_data;
554 const float* filter_data, const Dims<4>& filter_dims,
655 filter_data + filter_y * filter_dims.strides[2],
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dconv.cc366 const float* filter_data; in EvalFloat() local
368 filter_data = GetTensorData<float>(hwcn_weights); in EvalFloat()
370 filter_data = GetTensorData<float>(filter); in EvalFloat()
373 GetTensorData<float>(input), GetTensorDims(input), filter_data, in EvalFloat()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h1050 const DeviceMemory<double>& filter_data,
1067 const DeviceMemory<float>& filter_data,
1085 const DeviceMemory<Eigen::half>& filter_data,
1105 const DeviceMemory<int8>& filter_data,
1159 const DeviceMemory<float>& filter_data,
1172 const DeviceMemory<double>& filter_data,
1183 const DeviceMemory<Eigen::half>& filter_data,
1260 const DeviceMemory<float>& filter_data,
1278 const DeviceMemory<Eigen::half>& filter_data,
Dstream.h270 const DeviceMemory<int8> &filter_data,
281 const DeviceMemory<float> &filter_data,
310 const DeviceMemory<int8> &filter_data,
322 const DeviceMemory<Eigen::half> &filter_data,
335 const DeviceMemory<float> &filter_data,
347 const DeviceMemory<Eigen::half> &filter_data,
356 const DeviceMemory<float> &filter_data,
365 const DeviceMemory<float> &filter_data,
376 const DeviceMemory<Eigen::half> &filter_data,
387 const DeviceMemory<double> &filter_data,
[all …]
Dstream.cc419 const DeviceMemory<int8> &filter_data, in ThenFusedConvolveWithScratch() argument
428 PARAM(filter_data), PARAM(convolution_descriptor), in ThenFusedConvolveWithScratch()
437 filter_descriptor, filter_data, convolution_descriptor, in ThenFusedConvolveWithScratch()
452 const DeviceMemory<Eigen::half> &filter_data, in ThenFusedConvolveWithScratch() argument
462 PARAM(filter_data), PARAM(convolution_descriptor), in ThenFusedConvolveWithScratch()
471 filter_descriptor, filter_data, convolution_descriptor, in ThenFusedConvolveWithScratch()
486 const DeviceMemory<float> &filter_data, in ThenFusedConvolveWithScratch() argument
495 PARAM(filter_data), PARAM(convolution_descriptor), in ThenFusedConvolveWithScratch()
504 filter_descriptor, filter_data, convolution_descriptor, in ThenFusedConvolveWithScratch()
519 const DeviceMemory<Eigen::half> &filter_data, in ThenConvolveWithScratch() argument
[all …]

12