Home
last modified time | relevance | path

Searched refs:create_tensor (Results 1 – 25 of 142) sorted by relevance

123456

/aosp_15_r20/external/ComputeLibrary/tests/validation/CL/
H A DLSTMLayerQuantized.cpp93 …auto input_to_input_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_SUITE()
94 …auto input_to_forget_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_SUITE()
95 …auto input_to_cell_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_SUITE()
96 …auto input_to_output_weights = create_tensor<CLTensor>(input_weights_shape, DataType::QASYMM8,… in TEST_SUITE()
97 …auto recurrent_to_input_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_SUITE()
98 …auto recurrent_to_forget_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_SUITE()
99 …auto recurrent_to_cell_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_SUITE()
100 …auto recurrent_to_output_weights = create_tensor<CLTensor>(recurrent_weights_shape, DataType::QASY… in TEST_SUITE()
101 auto input_gate_bias = create_tensor<CLTensor>(bias_shape, DataType::S32); in TEST_SUITE()
102 auto forget_gate_bias = create_tensor<CLTensor>(bias_shape, DataType::S32); in TEST_SUITE()
[all …]
H A DIndirectConvolutionLayer.cpp70 auto src_nhwc = create_tensor<CLTensor>(src_shape_nhwc, dt, 1, QuantizationInfo(), data_layout); in TEST_SUITE()
71 auto wei_nhwc = create_tensor<CLTensor>(wei_shape_nhwc, dt, 1, QuantizationInfo(), data_layout); in TEST_SUITE()
72 auto dst_nhwc = create_tensor<CLTensor>(dst_shape_nhwc, dt, 1, QuantizationInfo(), data_layout); in TEST_SUITE()
122 auto src_nhwc = create_tensor<CLTensor>(src_shape_nhwc, dt, 1, QuantizationInfo(), data_layout); in TEST_CASE()
123 auto wei_nhwc = create_tensor<CLTensor>(wei_shape_nhwc, dt, 1, QuantizationInfo(), data_layout); in TEST_CASE()
124 auto dst_nhwc = create_tensor<CLTensor>(dst_shape_nhwc, dt, 1, QuantizationInfo(), data_layout); in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/tests/validation/NEON/
H A DLSTMLayerQuantized.cpp100 …auto input_to_input_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_SUITE()
101 …auto input_to_forget_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_SUITE()
102 …auto input_to_cell_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_SUITE()
103 …auto input_to_output_weights = create_tensor<Tensor>(input_weights_shape, DataType::QASYMM8, 1… in TEST_SUITE()
104 …auto recurrent_to_input_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_SUITE()
105 …auto recurrent_to_forget_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_SUITE()
106 …auto recurrent_to_cell_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_SUITE()
107 …auto recurrent_to_output_weights = create_tensor<Tensor>(recurrent_weights_shape, DataType::QASYMM… in TEST_SUITE()
108 auto input_gate_bias = create_tensor<Tensor>(bias_shape, DataType::S32); in TEST_SUITE()
109 auto forget_gate_bias = create_tensor<Tensor>(bias_shape, DataType::S32); in TEST_SUITE()
[all …]
H A DGEMMLowp.cpp60 Tensor a = create_tensor<Tensor>(shape_a, DataType::QASYMM8); in DATA_TEST_CASE()
61 Tensor b = create_tensor<Tensor>(shape_b, DataType::QASYMM8); in DATA_TEST_CASE()
62 Tensor c = create_tensor<Tensor>(shape_c, DataType::S32); in DATA_TEST_CASE()
134 auto a = create_tensor<Tensor>(a_info); in TEST_CASE()
135 auto b = create_tensor<Tensor>(b_info); in TEST_CASE()
136 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
157 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
194 auto a = create_tensor<Tensor>(a_info); in TEST_CASE()
195 auto b = create_tensor<Tensor>(b_info); in TEST_CASE()
196 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
H A DFullyConnectedLayer.cpp117 auto src = create_tensor<Tensor>(src_info); in TEST_SUITE()
118 auto weight = create_tensor<Tensor>(weight_info); in TEST_SUITE()
119 auto bias = create_tensor<Tensor>(bias_info); in TEST_SUITE()
132 auto dst = create_tensor<Tensor>(dst_info); in TEST_SUITE()
169 auto src = create_tensor<Tensor>(src_info); in TEST_CASE()
170 auto weight = create_tensor<Tensor>(weight_info); in TEST_CASE()
171 auto bias = create_tensor<Tensor>(bias_info); in TEST_CASE()
172 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
207 auto src = create_tensor<Tensor>(src_info); in TEST_CASE()
208 auto weight = create_tensor<Tensor>(weight_info); in TEST_CASE()
[all …]
H A DConvolutionLayer.cpp182 auto a = create_tensor<Tensor>(src_info); in TEST_CASE()
183 auto b = create_tensor<Tensor>(b_info); in TEST_CASE()
184 auto c = create_tensor<Tensor>(w_info); in TEST_CASE()
196 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
237 auto src = create_tensor<Tensor>(src_info); in TEST_CASE()
238 auto w = create_tensor<Tensor>(w_info); in TEST_CASE()
239 auto b = create_tensor<Tensor>(b_info); in TEST_CASE()
240 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
880 auto src = create_tensor<Tensor>(src_info); in TEST_CASE()
881 auto weight = create_tensor<Tensor>(weight_info); in TEST_CASE()
[all …]
H A DGEMM.cpp128 auto lhs = create_tensor<Tensor>(lhs_info); in TEST_SUITE()
129 auto rhs = create_tensor<Tensor>(rhs_info); in TEST_SUITE()
130 auto c = create_tensor<Tensor>(c_info); in TEST_SUITE()
143 auto dst = create_tensor<Tensor>(dst_info); in TEST_SUITE()
180 auto lhs = create_tensor<Tensor>(lhs_info); in TEST_CASE()
181 auto rhs = create_tensor<Tensor>(rhs_info); in TEST_CASE()
182 auto c = create_tensor<Tensor>(c_info); in TEST_CASE()
183 auto dst = create_tensor<Tensor>(dst_info); in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/tests/validation/fixtures/
H A DLSTMLayerFixture.h87 TensorType input = create_tensor<TensorType>(input_shape, data_type); in compute_target()
88 … TensorType input_to_forget_w = create_tensor<TensorType>(input_weights_shape, data_type); in compute_target()
89 … TensorType input_to_cell_w = create_tensor<TensorType>(input_weights_shape, data_type); in compute_target()
90 … TensorType input_to_output_w = create_tensor<TensorType>(input_weights_shape, data_type); in compute_target()
91 … TensorType recurrent_to_forget_w = create_tensor<TensorType>(recurrent_weights_shape, data_type); in compute_target()
92 … TensorType recurrent_to_cell_w = create_tensor<TensorType>(recurrent_weights_shape, data_type); in compute_target()
93 … TensorType recurrent_to_output_w = create_tensor<TensorType>(recurrent_weights_shape, data_type); in compute_target()
94 TensorType forget_gate_bias = create_tensor<TensorType>(cell_bias_shape, data_type); in compute_target()
95 TensorType cell_bias = create_tensor<TensorType>(cell_bias_shape, data_type); in compute_target()
96 TensorType output_gate_bias = create_tensor<TensorType>(cell_bias_shape, data_type); in compute_target()
[all …]
H A DBatchNormalizationLayerFusionFixture.h93 …TensorType src = create_tensor<TensorType>(src_shape, _data_type, 1, QuantizationInfo(), _dat… in compute_target()
94 …TensorType conv_w = create_tensor<TensorType>(w_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
95 …TensorType conv_b = create_tensor<TensorType>(b_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
96 …TensorType bn_mean = create_tensor<TensorType>(b_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
97 …TensorType bn_var = create_tensor<TensorType>(b_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
98 …TensorType bn_beta = create_tensor<TensorType>(b_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
99 …TensorType bn_gamma = create_tensor<TensorType>(b_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
100 …TensorType fused_w = create_tensor<TensorType>(w_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
101 …TensorType fused_b = create_tensor<TensorType>(b_shape, _data_type, 1, QuantizationInfo(), _data_… in compute_target()
102 …TensorType dst = create_tensor<TensorType>(dst_shape, _data_type, 1, QuantizationInfo(), _dat… in compute_target()
H A DGEMMLowpFixture.h102 TensorType a = create_tensor<TensorType>(shape_a, data_type_a, 1);
103 …TensorType b = create_tensor<TensorType>(shape_b, data_type_b, 1); // gemm output before outp…
104 TensorType output = create_tensor<TensorType>(shape_output, data_type_output, 1);
120 bias = create_tensor<TensorType>(bias_shape, DataType::S32, 1);
367 TensorType a = create_tensor<TensorType>(shape, DataType::S32, 1); in compute_target()
368 TensorType b = create_tensor<TensorType>(shape_bias, DataType::S32, 1); in compute_target()
369 TensorType c = create_tensor<TensorType>(shape, DataType::QASYMM8, 1); in compute_target()
469 TensorType a = create_tensor<TensorType>(shape, DataType::S32, 1); in compute_target()
470 TensorType b = create_tensor<TensorType>(shape_bias, DataType::S32, 1); in compute_target()
471 TensorType c = create_tensor<TensorType>(shape, DataType::QASYMM8_SIGNED, 1); in compute_target()
[all …]
H A DFuseBatchNormalizationFixture.h77 …TensorType w = create_tensor<TensorType>(shape_w, data_type, 1, QuantizationInfo(), data_lay… in compute_target()
78 TensorType b = create_tensor<TensorType>(shape_v, data_type); in compute_target()
79 TensorType mean = create_tensor<TensorType>(shape_v, data_type); in compute_target()
80 TensorType var = create_tensor<TensorType>(shape_v, data_type); in compute_target()
81 …TensorType w_fused = create_tensor<TensorType>(shape_w, data_type, 1, QuantizationInfo(), data_lay… in compute_target()
82 TensorType b_fused = create_tensor<TensorType>(shape_v, data_type); in compute_target()
83 TensorType beta = create_tensor<TensorType>(shape_v, data_type); in compute_target()
84 TensorType gamma = create_tensor<TensorType>(shape_v, data_type); in compute_target()
H A DGEMMFixture.h90 TensorType a = create_tensor<TensorType>(shape_a, data_type, 1); in compute_target()
91 TensorType b = create_tensor<TensorType>(shape_b, data_type, 1); in compute_target()
92 TensorType c = create_tensor<TensorType>(shape_c, data_type, 1); in compute_target()
93 TensorType dst = create_tensor<TensorType>(output_shape, data_type, 1); in compute_target()
267 TensorType lhs = create_tensor<TensorType>(lhs_shape, data_type, 1); in compute_target()
268 TensorType rhs = create_tensor<TensorType>(rhs_shape, data_type, 1); in compute_target()
269 TensorType bias = create_tensor<TensorType>(bias_shape, data_type, 1); in compute_target()
390 TensorType lhs = create_tensor<TensorType>(lhs_shape, data_type, 1); in compute_target()
391 TensorType rhs = create_tensor<TensorType>(rhs_shape, data_type, 1); in compute_target()
392 TensorType bias = create_tensor<TensorType>(bias_shape, data_type, 1); in compute_target()
[all …]
H A DWinogradConvolutionLayerFixture.h120 …TensorType src = create_tensor<TensorType>(input_shape, data_type, 1, QuantizationInfo(), data… in compute_target()
121 …TensorType weights = create_tensor<TensorType>(weights_shape, data_type, 1, QuantizationInfo(), da… in compute_target()
122 …TensorType bias = create_tensor<TensorType>(bias_shape, data_type, 1, QuantizationInfo(), data_… in compute_target()
123 …TensorType dst = create_tensor<TensorType>(output_shape, data_type, 1, QuantizationInfo(), dat… in compute_target()
304 …TensorType src = create_tensor<TensorType>(input_shape, data_type, 1, QuantizationInfo(), data_lay… in compute_target()
305 TensorType dst = create_tensor<TensorType>(output_shape, data_type, 1, QuantizationInfo()); in compute_target()
419 …TensorType src = create_tensor<TensorType>(input_shape, data_type, 1, QuantizationInfo(), data_lay… in compute_target()
420 TensorType dst = create_tensor<TensorType>(output_shape, data_type, 1, QuantizationInfo()); in compute_target()
527 TensorType src = create_tensor<TensorType>(input_shape, data_type); in compute_target()
528 …TensorType bias = create_tensor<TensorType>(output_shape[get_data_layout_dimension_index(winograd_… in compute_target()
[all …]
H A DRNNLayerFixture.h68 TensorType input = create_tensor<TensorType>(input_shape, data_type); in compute_target()
69 TensorType weights = create_tensor<TensorType>(weights_shape, data_type); in compute_target()
70 … TensorType recurrent_weights = create_tensor<TensorType>(recurrent_weights_shape, data_type); in compute_target()
71 TensorType bias = create_tensor<TensorType>(bias_shape, data_type); in compute_target()
72 TensorType hidden_state = create_tensor<TensorType>(output_shape, data_type); in compute_target()
73 TensorType output = create_tensor<TensorType>(output_shape, data_type); in compute_target()
H A DBatchNormalizationLayerFixture.h101 … TensorType src = create_tensor<TensorType>(shape0, dt, 1, QuantizationInfo(), data_layout); in compute_target()
102 … TensorType dst = create_tensor<TensorType>(shape0, dt, 1, QuantizationInfo(), data_layout); in compute_target()
103 TensorType mean = create_tensor<TensorType>(shape1, dt, 1); in compute_target()
104 TensorType var = create_tensor<TensorType>(shape1, dt, 1); in compute_target()
105 TensorType beta = create_tensor<TensorType>(shape1, dt, 1); in compute_target()
106 TensorType gamma = create_tensor<TensorType>(shape1, dt, 1); in compute_target()
H A DDepthwiseConvolutionLayerFixture.h107 …_src = create_tensor<TensorType>(input_shape, _input_data_type, 1, _input_qua… in configure_target()
108 …_weights = create_tensor<TensorType>(weights_shape, _weights_data_type, 1, _weigh… in configure_target()
112 …_biases = create_tensor<TensorType>(_biases_shape, _bias_data_type, 1, _input_qu… in configure_target()
116 …_target = create_tensor<TensorType>(output_shape, _input_data_type, 1, _output_quantization_… in configure_target()
341 …_src = create_tensor<TensorType>(input_shape, _data_type, 1, QuantizationInfo(), _data_layout); in configure_target()
342 …_weights = create_tensor<TensorType>(weights_shape, _data_type, 1, QuantizationInfo(), _data_layou… in configure_target()
343 …_biases = create_tensor<TensorType>(_biases_shape, _data_type, 1, QuantizationInfo(), _data_layou… in configure_target()
344 …_target = create_tensor<TensorType>(TensorShape(), _data_type, 1, QuantizationInfo(), _data_layou… in configure_target()
497 …_src = create_tensor<TensorType>(input_shape, _data_type, 1, QuantizationInfo… in configure_target()
498 …_weights = create_tensor<TensorType>(weights_shape, _data_type, 1, QuantizationIn… in configure_target()
[all …]
H A DConvolutionLayerFixture.h241 …TensorType src = create_tensor<TensorType>(input_shape, _data_type, 1, _quantization_info, _da…
242 …TensorType weights = create_tensor<TensorType>(reshaped_weights_shape, _weights_data_type, 1, _wei…
243 …TensorType bias = create_tensor<TensorType>(bias_shape, _bias_data_type, 1, _quantization_info,…
244 …TensorType dst = create_tensor<TensorType>(output_shape, _output_data_type, 1, _quantization_i…
628 auto src = create_tensor<TensorClass>(src_tensor_info); in configure_and_execute_kernel()
629 auto weights_original = create_tensor<TensorClass>(weight_tensor_info); in configure_and_execute_kernel()
631 auto weights_transformed = create_tensor<TensorClass>(new_tensor_info); in configure_and_execute_kernel()
632 auto bias = create_tensor<TensorClass>(bias_tensor_info); in configure_and_execute_kernel()
638 this->_target = create_tensor<TensorClass>(dst_tensor_info); in configure_and_execute_kernel()
669 auto src = create_tensor<TensorClass>(src_tensor_info); in configure_and_execute_kernel()
[all …]
H A DFFTFixture.h84 TensorType src = create_tensor<TensorType>(shape, data_type, 2); in compute_target()
85 TensorType dst = create_tensor<TensorType>(shape, data_type, 2); in compute_target()
200 …TensorType src = create_tensor<TensorType>(input_shape, _data_type, 1, QuantizationInfo(), _da… in compute_target()
201 …TensorType weights = create_tensor<TensorType>(weights_shape, _data_type, 1, QuantizationInfo(), _… in compute_target()
202 …TensorType bias = create_tensor<TensorType>(bias_shape, _data_type, 1, QuantizationInfo(), _dat… in compute_target()
203 …TensorType dst = create_tensor<TensorType>(output_shape, _data_type, 1, QuantizationInfo(), _d… in compute_target()
H A DLogicalFixture.h92 TensorType src0 = create_tensor<TensorType>(shape0, _data_type); in compute_target()
93 TensorType src1 = create_tensor<TensorType>(shape1, _data_type); in compute_target()
94 …TensorType dst = create_tensor<TensorType>(TensorShape::broadcast_shape(shape0, shape1), _data_ty… in compute_target()
148 TensorType src = create_tensor<TensorType>(shape, data_type); in compute_target()
149 TensorType dst = create_tensor<TensorType>(shape, data_type); in compute_target()
H A DAddMulAddFixture.h81 TensorType input1 = create_tensor<TensorType>(shape, data_type, 1, _input1_qinfo); in compute_target()
82 TensorType input2 = create_tensor<TensorType>(shape, data_type, 1, _input2_qinfo); in compute_target()
83 TensorType bn_mul = create_tensor<TensorType>(b_shape, data_type, 1, _bn_mul_qinfo); in compute_target()
84 TensorType bn_add = create_tensor<TensorType>(b_shape, data_type, 1, _bn_add_qinfo); in compute_target()
85 TensorType add_output = create_tensor<TensorType>(shape, data_type, 1, _add_output_qinfo); in compute_target()
86 … TensorType final_output = create_tensor<TensorType>(shape, data_type, 1, _final_output_qinfo); in compute_target()
H A DSelectFixture.h91 TensorType c_t = create_tensor<TensorType>(condition_shape, DataType::U8); in compute_target()
92 TensorType x_t = create_tensor<TensorType>(shape, data_type); in compute_target()
93 TensorType y_t = create_tensor<TensorType>(shape, data_type); in compute_target()
94 TensorType dst_t = create_tensor<TensorType>(shape, data_type); in compute_target()
/aosp_15_r20/external/ComputeLibrary/tests/validation/fixtures/UNIT/
H A DMemoryManagerFixture.h78 TensorType w1 = create_tensor<TensorType>(TensorShape(128U, 128U), DataType::F32, 1); in compute_target()
79 TensorType b1 = create_tensor<TensorType>(TensorShape(128U), DataType::F32, 1); in compute_target()
80 TensorType w2 = create_tensor<TensorType>(TensorShape(128U, 24U), DataType::F32, 1); in compute_target()
81 TensorType b2 = create_tensor<TensorType>(TensorShape(24U), DataType::F32, 1); in compute_target()
82 TensorType src = create_tensor<TensorType>(TensorShape(128U), DataType::F32, 1); in compute_target()
83 TensorType fc1 = create_tensor<TensorType>(TensorShape(128U), DataType::F32, 1); in compute_target()
84 TensorType dst = create_tensor<TensorType>(TensorShape(24U), DataType::F32, 1); in compute_target()
182 TensorType w1 = create_tensor<TensorType>(TensorShape(128U, 128U), DataType::F32, 1); in compute_target()
183 TensorType b1 = create_tensor<TensorType>(TensorShape(128U), DataType::F32, 1); in compute_target()
184 TensorType w2 = create_tensor<TensorType>(TensorShape(128U, 24U), DataType::F32, 1); in compute_target()
[all …]
/aosp_15_r20/external/ComputeLibrary/tests/validation/NEON/UNIT/
H A DRuntimeContext.cpp72 Tensor src = create_tensor<Tensor>(TensorShape(32, 32), DataType::F32, 1); in TEST_SUITE()
73 Tensor dst = create_tensor<Tensor>(TensorShape(32, 32), DataType::F32, 1); in TEST_SUITE()
111 Tensor src_t0 = create_tensor<Tensor>(tensor_shape, DataType::F32, 1); in TEST_CASE()
112 Tensor dst_t0 = create_tensor<Tensor>(tensor_shape, DataType::F32, 1); in TEST_CASE()
113 Tensor src_t1 = create_tensor<Tensor>(tensor_shape, DataType::F32, 1); in TEST_CASE()
114 Tensor dst_t1 = create_tensor<Tensor>(tensor_shape, DataType::F32, 1); in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/tests/validation/CPP/
H A DTopKV.cpp88 Tensor predictions = create_tensor<Tensor>(TensorShape(10, 20), DataType::F32); in TEST_CASE()
89 Tensor targets = create_tensor<Tensor>(TensorShape(20), DataType::U32); in TEST_CASE()
141 …Tensor predictions = create_tensor<Tensor>(TensorShape(10, 20), DataType::QASYMM8, 1, Quantization… in TEST_CASE()
142 Tensor targets = create_tensor<Tensor>(TensorShape(20), DataType::U32); in TEST_CASE()
194 …Tensor predictions = create_tensor<Tensor>(TensorShape(10, 20), DataType::QASYMM8_SIGNED, 1, Quant… in TEST_CASE()
195 Tensor targets = create_tensor<Tensor>(TensorShape(20), DataType::U32); in TEST_CASE()
/aosp_15_r20/external/ComputeLibrary/tests/validation/CL/UNIT/
H A DMultithreaded.cpp64 s0[i] = create_tensor<CLTensor>(tensor_shape, DataType::F32, 1); in TEST_SUITE()
65 s1[i] = create_tensor<CLTensor>(tensor_shape, DataType::F32, 1); in TEST_SUITE()
66 st[i] = create_tensor<CLTensor>(tensor_shape, DataType::F32, 1); in TEST_SUITE()
67 dt[i] = create_tensor<CLTensor>(tensor_shape, DataType::F32, 1); in TEST_SUITE()

123456