Home
last modified time | relevance | path

Searched refs:dst_data (Results 1 – 25 of 37) sorted by relevance

12

/external/ruy/example/
Dexample.cc24 float dst_data[4]; in ExampleMulFloat() local
34 dst.set_data(dst_data); in ExampleMulFloat()
49 float dst_data[4]; in ExampleMulFloatWithBiasAddAndClamp() local
59 dst.set_data(dst_data); in ExampleMulFloatWithBiasAddAndClamp()
76 std::uint8_t dst_data[4]; in ExampleMulUint8AsymmetricQuantized() local
88 dst.set_data(dst_data); in ExampleMulUint8AsymmetricQuantized()
107 std::int8_t dst_data[4]; in ExampleMulInt8PerChannelQuantized() local
117 dst.set_data(dst_data); in ExampleMulInt8PerChannelQuantized()
132 std::int32_t dst_data[4]; in ExampleMulInt8GetRawAccumulators() local
142 dst.set_data(dst_data); in ExampleMulInt8GetRawAccumulators()
/external/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_test.cc257 const MatrixParams<DstScalar>& dst_params, std::vector<DstScalar>* dst_data, in PerformGemmThenCompareResultsThenAgainWithClamping() argument
263 dst_data->data(), params, cpu_backend_context); in PerformGemmThenCompareResultsThenAgainWithClamping()
264 CheckErrorForAccumulation<AccumScalar>(accumulation_depth, *dst_data, in PerformGemmThenCompareResultsThenAgainWithClamping()
276 dst_data->data(), params_with_clamp, cpu_backend_context); in PerformGemmThenCompareResultsThenAgainWithClamping()
277 CheckErrorForAccumulation<AccumScalar>(accumulation_depth, *dst_data, in PerformGemmThenCompareResultsThenAgainWithClamping()
285 dst_data->data(), params_with_clamp, cpu_backend_context); in PerformGemmThenCompareResultsThenAgainWithClamping()
286 CheckErrorForAccumulation<AccumScalar>(accumulation_depth, *dst_data, in PerformGemmThenCompareResultsThenAgainWithClamping()
315 const MatrixParams<DstScalar>& dst_params, std::vector<DstScalar>* dst_data, in BisectReasonableMultiplierExponent() argument
332 dst_data->data(), params_copy, cpu_backend_context); in BisectReasonableMultiplierExponent()
333 double median_abs = MedianAbs(*dst_data); in BisectReasonableMultiplierExponent()
[all …]
Dcpu_backend_gemm_x86.h41 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data, in Run()
51 dst_params, dst_data, params, context); in Run()
59 dst_params, dst_data, in Run()
70 const MatrixParams<float>& dst_params, float* dst_data,
75 dst_params, dst_data, params, context);
Dcpu_backend_gemm.h118 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data, in Gemm() argument
146 dst_params, dst_data, in Gemm()
157 dst_params, dst_data, params, context)) { in Gemm()
164 dst_params, dst_data, params, context); in Gemm()
173 const MatrixParams<int32_t>& dst_params, int32_t* dst_data, in Gemm() argument
185 dst_params, dst_data, in Gemm()
Dcpu_backend_gemm_eigen.cc40 const MatrixParams<float>& dst_params, float* dst_data, in Run() argument
58 EigenMatrixMapColMajorMutable eigen_dst(dst_data, dst_params.rows, in Run()
71 params.bias, dst_params.rows * dst_params.cols, dst_data); in Run()
Dcpu_backend_gemm_gemmlowp.h83 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data,
93 dst_data, dst_params.rows, dst_params.cols);
140 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data,
153 dst_data, dst_params.rows, dst_params.cols);
183 Run(lhs_params, lhs_data, rhs_params, rhs_data, dst_params, dst_data,
Dcpu_backend_gemm_custom_gemv.h91 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data, in Run()
104 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data, in CustomGemvTask() argument
112 dst_data_(dst_data), in CustomGemvTask()
150 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data, in CustomGemv() argument
168 Impl::Run(lhs_params, lhs_data, rhs_params, rhs_data, dst_params, dst_data, in CustomGemv()
181 dst_data, params, row_start, row_end); in CustomGemv()
325 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data,
586 dst_data + row);
637 const MatrixParams<float>& dst_params, float* dst_data,
776 vst1q_f32(dst_data + row, reduced);
Dcpu_backend_gemm_eigen.h31 const MatrixParams<float>& dst_params, float* dst_data,
Dcpu_backend_gemm_ruy.h128 const MatrixParams<DstScalar>& dst_params, DstScalar* dst_data,
136 MakeRuyMatrix(dst_params, dst_data, &ruy_dst);
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc33 std::vector<uint8_t> dst_data(bytes); in CopyStringToBuffer() local
34 memcpy(dst_data.data(), tensor_buffer, bytes); in CopyStringToBuffer()
36 return builder->CreateVector(dst_data.data(), bytes); in CopyStringToBuffer()
54 const uint8_t* dst_data = reinterpret_cast<const uint8_t*>(src_data.data()); in CopyBuffer() local
56 return builder->CreateVector(dst_data, size); in CopyBuffer()
61 std::vector<std::string>* dst_data = in CopyStringFromBuffer() local
67 dst_data->push_back(this_str); in CopyStringFromBuffer()
79 std::vector<NativeT>* dst_data = &array->GetMutableBuffer<T>().data; in CopyBuffer() local
81 dst_data->push_back(*src_data); in CopyBuffer()
/external/webrtc/rtc_base/
Dbounded_inline_vector_impl.h61 void CopyElements(const T* src_data, int src_size, T* dst_data, int* dst_size) { in CopyElements() argument
63 std::memcpy(dst_data, src_data, src_size * sizeof(T)); in CopyElements()
65 std::uninitialized_copy_n(src_data, src_size, dst_data); in CopyElements()
73 void MoveElements(T* src_data, int src_size, T* dst_data, int* dst_size) { in MoveElements() argument
75 std::memcpy(dst_data, src_data, src_size * sizeof(T)); in MoveElements()
81 ::new (&dst_data[i]) T(std::move(src_data[i])); in MoveElements()
/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_properties_queries.cpp204 std::vector<cl_uint> dst_data(size); in run_test_query_properties() local
207 generate_random_data(kUInt, size, init_generator, dst_data.data()); in run_test_query_properties()
218 flags, dst_data, size_x, size_y); in run_test_query_properties()
238 0, 0, dst_data.data(), 0, NULL, NULL); in run_test_query_properties()
253 dst_data.size() * sizeof(cl_uint), in run_test_query_properties()
254 dst_data.data(), 0, NULL, NULL); in run_test_query_properties()
263 if (dst_data[i] != src_data[i]) in run_test_query_properties()
/external/tensorflow/tensorflow/c/experimental/stream_executor/
Dstream_executor_test.cc726 int dst_data = 2; in TEST_F() local
728 Stream& stream_ref = stream.ThenMemcpy(&dst_data, device_src, size); in TEST_F()
729 ASSERT_EQ(dst_data, 34); in TEST_F()
747 int dst_data = 0; in TEST_F() local
748 DeviceMemoryBase device_dst(&dst_data, size); in TEST_F()
750 ASSERT_EQ(dst_data, 18); in TEST_F()
767 int dst_data = 0; in TEST_F() local
768 DeviceMemoryBase device_dst(&dst_data, size); in TEST_F()
771 ASSERT_EQ(dst_data, 18); in TEST_F()
785 int dst_data = 2; in TEST_F() local
[all …]
/external/autotest/client/deps/glmark2/
Dglmark2.py14 dst_data = top_dir + '/data'
33 utils.run('cp -R %s %s' % (src_data, dst_data))
/external/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc606 uint8_t* dst_data = dst->data.data(); in XorHeaders() local
609 dst_data[0] ^= src_data[0]; in XorHeaders()
610 dst_data[1] ^= src_data[1]; in XorHeaders()
616 dst_data[2] ^= src_payload_length_network_order[0]; in XorHeaders()
617 dst_data[3] ^= src_payload_length_network_order[1]; in XorHeaders()
620 dst_data[4] ^= src_data[4]; in XorHeaders()
621 dst_data[5] ^= src_data[5]; in XorHeaders()
622 dst_data[6] ^= src_data[6]; in XorHeaders()
623 dst_data[7] ^= src_data[7]; in XorHeaders()
638 uint8_t* dst_data = dst->data.data(); in XorPayloads() local
[all …]
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_softmax_op.cc59 void Execute(const T* src_data, T* dst_data, in Execute() argument
64 context_.dst_mem->set_data_handle(static_cast<void*>(dst_data), in Execute()
69 context_.dst_mem->set_data_handle(static_cast<void*>(dst_data)); in Execute()
299 T* dst_data = reinterpret_cast<T*>(output_tensor->flat<T>().data()); in Compute() local
302 softmax_fwd->Execute(src_data, dst_data, fwd_cpu_stream); in Compute()
Dmkl_maxpooling_op.cc154 T* dst_data = output_tensor->flat<T>().data(); in Compute() local
160 pooling_fwd->Execute(src_data, dst_data, nullptr, fwd_cpu_stream); in Compute()
187 pooling_fwd->Execute(src_data, dst_data, ws_data, fwd_cpu_stream); in Compute()
Dmkl_pooling_ops_common.cc86 void MklPoolingFwdPrimitive<T>::Execute(const T* src_data, T* dst_data, in Execute() argument
92 context_.dst_mem->set_data_handle(static_cast<void*>(dst_data), *fwd_stream); in Execute()
102 context_.dst_mem->set_data_handle(static_cast<void*>(dst_data)); in Execute()
Dmkl_quantize_op.cc88 void Execute(void* src_data, void* dst_data, in Execute() argument
92 context_.dst_mem->set_data_handle(dst_data, *reorder_stream); in Execute()
95 context_.dst_mem->set_data_handle(dst_data); in Execute()
Dmkl_matmul_op_fused.cc206 T* dst_data = const_cast<T*>(dst_tensor->flat<T>().data()); in Compute() local
254 matmul_prim->Execute(src_data, weight_data, bias_data, dst_data, in Compute()
/external/webrtc/common_audio/
Daudio_converter_unittest.cc108 std::vector<float> dst_data(1, 0); in RunAudioConverterTest() local
116 dst_data.push_back(0); in RunAudioConverterTest()
123 ScopedBuffer dst_buffer = CreateBuffer(dst_data, dst_frames); in RunAudioConverterTest()
/external/ruy/ruy/
Dperchannel_buffers_reallocation_test.cc62 DstScalar dst_data[kMatrixSize * kMatrixSize] = {0}; in TestPerChannelBuffersReallocation() local
66 dst.set_data(dst_data); in TestPerChannelBuffersReallocation()
Dprepacked_cache_test.cc237 float dst_data[4]; in TestCachePolicies() local
247 dst.set_data(dst_data); in TestCachePolicies()
278 float dst_data[4]; in TEST() local
288 dst.set_data(dst_data); in TEST()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/tests/
Dlstm_utils_test.cc47 std::initializer_list<float> dst_data, int dst_dim_1, in PrepareBuffers() argument
58 PopulateBuffer(dst_buffer_, dst_data); in PrepareBuffers()
/external/libaom/libaom/av1/common/x86/
Djnt_convolve_avx2.c87 CONV_BUF_TYPE *dst_data = dst + i * dst_stride; in av1_dist_wtd_convolve_x_avx2() local
101 load_line2_avx2(&dst_data[j], &dst_data[j + dst_stride]); in av1_dist_wtd_convolve_x_avx2()
140 CONV_BUF_TYPE *dst_data = dst + i * dst_stride; in av1_dist_wtd_convolve_x_avx2() local
156 load_line2_avx2(&dst_data[j], &dst_data[j + dst_stride]); in av1_dist_wtd_convolve_x_avx2()

12