/external/tensorflow/tensorflow/compiler/xla/tests/ |
D | convolution_variants_test.cc | 388 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 …]
|
D | convolution_test.cc | 127 Array4D<T> filter_data(1, 1, 1, 2); in RunTest() local 128 filter_data.FillWithYX(Array2D<T>({ in RunTest() 134 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 161 Array4D<T> filter_data(1, 1, 2, 2); in RunTest() local 162 filter_data.FillWithYX(Array2D<T>({ in RunTest() 168 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 195 Array4D<T> filter_data(1, 1, 2, 2); in RunTest() local 196 filter_data.FillWithYX(Array2D<T>({ in RunTest() 203 LiteralUtil::CreateFromArray(filter_data)}, in RunTest() 229 Array4D<T> filter_data(1, 1, 3, 3); in RunTest() local [all …]
|
/external/autotest/frontend/tko/ |
D | rpc_interface.py | 13 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 …]
|
D | models.py | 528 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/ |
D | rpc_interface.py | 298 def get_labels(exclude_filters=(), **filter_data): argument 304 labels = models.Label.query_objects(filter_data) 311 static_labels = models.StaticLabel.query_objects(filter_data) 627 valid_only=True, include_current_job=False, **filter_data): argument 641 valid_only, filter_data) 703 valid_only=True, **filter_data): argument 714 valid_only, filter_data) 720 def get_tests(**filter_data): argument 722 models.Test.list_objects(filter_data)) 772 def get_profilers(**filter_data): argument [all …]
|
D | model_logic.py | 379 filter_data = {foreign_key_field.name + '__pk__in': 381 for related_object in related_model.objects.filter(**filter_data): 705 def _extract_special_params(cls, filter_data): argument 711 regular_filters = dict(filter_data) 720 def apply_presentation(cls, query, filter_data): argument 726 special_params, _ = cls._extract_special_params(filter_data) 743 def query_objects(cls, filter_data, valid_only=True, initial_query=None, argument 759 filter_data) 786 query = cls.apply_presentation(query, filter_data) 792 def query_count(cls, filter_data, initial_query=None): argument [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | eigen_benchmark.h | 53 Scalar* filter_data = in SpatialConvolution() local 59 device_.memset(filter_data, 123, BufferSize(filter_dims)); in SpatialConvolution() 62 Filter filter(filter_data, filter_dims); in SpatialConvolution() 73 device_.deallocate(filter_data); in SpatialConvolution() 91 Scalar* filter_data = in SpatialConvolutionBackwardInput() local 98 device_.memset(filter_data, 123, BufferSize(filter_dims)); in SpatialConvolutionBackwardInput() 101 Filter filter(filter_data, filter_dims); in SpatialConvolutionBackwardInput() 113 device_.deallocate(filter_data); in SpatialConvolutionBackwardInput() 189 Scalar* filter_data = in CuboidConvolution() local 195 device_.memset(filter_data, 123, BufferSize(filter_dims)); in CuboidConvolution() [all …]
|
D | mkl_fused_ops_test.cc | 42 std::function<void(const Tensor& input_data, const Tensor& filter_data, 132 void RunConv2DWithBias(const Tensor& input_data, const Tensor& filter_data, in RunConv2DWithBias() argument 140 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)), in RunConv2DWithBias() 151 const Tensor& filter_data, in RunConv2DWithBiasAndRelu() argument 159 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)), in RunConv2DWithBiasAndRelu() 222 [this](const Tensor& input_data, const Tensor& filter_data, in VerifyConv2DWithBias() 224 RunConv2DWithBias(input_data, filter_data, bias_data, out); in VerifyConv2DWithBias() 228 [this](const Tensor& input_data, const Tensor& filter_data, in VerifyConv2DWithBias() argument 230 RunMklFusedConv2DOp(input_data, filter_data, {bias_data}, {"BiasAdd"}, in VerifyConv2DWithBias() 247 [this](const Tensor& input_data, const Tensor& filter_data, in VerifyConv2DWithBiasAndRelu() argument [all …]
|
D | conv_ops_test.cc | 196 Tensor filter_data(DT_FLOAT, TensorShape({filter_size, filter_size, in CompareFusedAndSeparate() local 198 test::FillIota<float>(&filter_data, 1.0f); in CompareFusedAndSeparate() 200 Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CompareFusedAndSeparate() 257 Tensor filter_data(DT_FLOAT, TensorShape({filter_size, filter_size, in CompareFusedPadOnlyAndSeparate() local 259 test::FillIota<float>(&filter_data, 1.0f); in CompareFusedPadOnlyAndSeparate() 261 Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CompareFusedPadOnlyAndSeparate() 539 std::function<void(const Tensor& input_data, const Tensor& filter_data, 543 const Tensor& input_data, const Tensor& filter_data, 609 void RunConv2DWithBias(const Tensor& input_data, const Tensor& filter_data, in RunConv2DWithBias() argument 617 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)), in RunConv2DWithBias() [all …]
|
D | conv_ops_using_gemm.cc | 90 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 ()()
|
D | quantized_conv_ops.cc | 56 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 ()()
|
D | mkl_conv_grad_input_ops.cc | 98 void Execute(const T* diff_src_data, const T* filter_data, in Execute() argument 103 static_cast<T*>(const_cast<T*>(filter_data))); in Execute() 439 T* filter_data = nullptr; in Compute() local 444 filter_data = static_cast<T*>(filter.GetOpMem().get_data_handle()); in Compute() 446 filter_data = in Compute() 461 conv_bwd_input->Execute(diff_src_data, filter_data, diff_dst_data); in Compute()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | depthwiseconv_quantized_test.cc | 108 const RuntimeShape& filter_shape, const uint8* filter_data, in DispatchDepthwiseConv() argument 141 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 165 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 199 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 216 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 235 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 244 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 273 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 279 params, input_shape, input_data, filter_shape, filter_data, in DispatchDepthwiseConv() 291 const std::uint8_t* filter_data, const RuntimeShape& filter_shape, in TestOneDepthwiseConvWithGivenOutputShift() argument [all …]
|
D | depthwiseconv_float_test.cc | 35 const float* filter_data, const RuntimeShape& bias_shape, in TestOneDepthwiseConv() argument 41 filter_data, bias_shape, bias_data, output_shape, in TestOneDepthwiseConv() 44 filter_data, bias_shape, bias_data, output_shape, in TestOneDepthwiseConv() 118 std::vector<float> filter_data(filter_buffer_size); in TryTestOneDepthwiseConv() local 125 FillRandom(&filter_data, -filter_amplitude, filter_amplitude); in TryTestOneDepthwiseConv() 139 filter_shape_inference, filter_data.data(), in TryTestOneDepthwiseConv()
|
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/ |
D | multithreaded_conv.h | 89 int input_width, int input_depth, const T* filter_data, in operator() 105 ConstEigenMatrix filter(filter_data, input_depth, filter_count); in operator() 118 ConstEigenMatrix filter(filter_data, k, filter_count); in operator() 126 ConstEigenTensor filter(filter_data, filter_height, filter_width, in operator() 138 const float* filter_data, const RuntimeShape& bias_shape, in Conv() argument 164 input_width, input_depth, filter_data, filter_height, in Conv()
|
D | legacy_optimized_ops.h | 139 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 161 DimsToShape(filter_dims), filter_data, DimsToShape(bias_dims), in DepthwiseConv() 166 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 173 DepthwiseConv(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv() 182 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 189 DepthwiseConv(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv() 198 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 202 DepthwiseConv<Ac>(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv() 208 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 238 DimsToShape(filter_dims), filter_data, DimsToShape(bias_dims), in DepthwiseConv() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | legacy_reference_ops.h | 40 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 62 DimsToShape(filter_dims), filter_data, DimsToShape(bias_dims), in DepthwiseConv() 67 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 74 DepthwiseConv(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv() 83 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 90 DepthwiseConv(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv() 99 const float* filter_data, const Dims<4>& filter_dims, in DepthwiseConv() argument 103 DepthwiseConv<Ac>(input_data, input_dims, filter_data, filter_dims, bias_data, in DepthwiseConv() 109 int32 input_offset, const uint8* filter_data, in DepthwiseConv() argument 139 DimsToShape(filter_dims), filter_data, DimsToShape(bias_dims), in DepthwiseConv() [all …]
|
D | depthwiseconv_uint8.h | 96 const uint8* filter_data, in Run() 151 int32 filter_val = filter_data[Offset( in Run() 181 const uint8* filter_data, const RuntimeShape& bias_shape, in DepthwiseConv() argument 187 filter_data, bias_shape, in DepthwiseConv()
|
D | fully_connected.h | 68 const uint8* filter_data, const RuntimeShape& bias_shape, in FullyConnected() argument 99 int32 filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected() 117 const uint8* filter_data, const RuntimeShape& bias_shape, in FullyConnected() argument 150 int16 filter_val = filter_data[out_c * accum_depth + d] + filter_offset; in FullyConnected()
|
D | depthwiseconv_float.h | 28 const float* filter_data, const RuntimeShape& bias_shape, in DepthwiseConv() argument 76 float filter_value = filter_data[Offset( in DepthwiseConv()
|
/external/libevent/test/ |
D | regress_bufferevent.c | 1238 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/lite/kernels/internal/reference/integer_ops/ |
D | fully_connected.h | 26 const int8_t* filter_data, const RuntimeShape& bias_shape, in FullyConnected() argument 51 int32 filter_val = filter_data[out_c * accum_depth + d]; in FullyConnected()
|
D | conv.h | 28 const int8* filter_data, const RuntimeShape& bias_shape, in ConvPerChannel() argument 85 filter_data[Offset(filter_shape, out_channel, filter_y, in ConvPerChannel()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | graph_transferer_test.cc | 160 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/ |
D | eglarray.c | 154 _EGLArrayForEach filter, void *filter_data) in _eglFilterArray() argument 163 if (filter(array->Elements[i], filter_data)) { in _eglFilterArray()
|