Home
last modified time | relevance | path

Searched refs:output_strides (Results 1 – 13 of 13) sorted by relevance

/external/XNNPACK/test/
Dbinary-elementwise-operator-tester.h235 std::array<size_t, XNN_MAX_TENSOR_DIMS> output_strides; in TestQS8() local
240 output_strides[i - 1] = output_stride; in TestQS8()
262 …_ref[i * output_strides[0] + j * output_strides[1] + k * output_strides[2] + l * output_strides[3]… in TestQS8()
329 …i * output_strides[0] + j * output_strides[1] + k * output_strides[2] + l * output_strides[3] + m … in TestQS8()
373 std::array<size_t, XNN_MAX_TENSOR_DIMS> output_strides; in TestF16() local
378 output_strides[i - 1] = output_stride; in TestF16()
400 …_ref[i * output_strides[0] + j * output_strides[1] + k * output_strides[2] + l * output_strides[3]… in TestF16()
484 …i * output_strides[0] + j * output_strides[1] + k * output_strides[2] + l * output_strides[3] + m … in TestF16()
524 std::array<size_t, XNN_MAX_TENSOR_DIMS> output_strides; in TestF32() local
529 output_strides[i - 1] = output_stride; in TestF32()
[all …]
Dconstant-pad-operator-tester.h131 std::array<size_t, XNN_MAX_TENSOR_DIMS> output_strides; in TestX32() local
135 output_strides[i - 1] = output_stride; in TestX32()
157 (i + input_pre_paddings[0]) * output_strides[0] + in TestX32()
158 (j + input_pre_paddings[1]) * output_strides[1] + in TestX32()
159 (k + input_pre_paddings[2]) * output_strides[2] + in TestX32()
160 (l + input_pre_paddings[3]) * output_strides[3] + in TestX32()
161 (m + input_pre_paddings[4]) * output_strides[4] + in TestX32()
162 (n + input_pre_paddings[5]) * output_strides[5]; in TestX32()
205 i * output_strides[0] + j * output_strides[1] + k * output_strides[2] + in TestX32()
206 l * output_strides[3] + m * output_strides[4] + n * output_strides[5]; in TestX32()
/external/tensorflow/tensorflow/core/kernels/
Dedit_distance_op.cc162 std::vector<int64> output_strides(output_shape.dims()); in Compute() local
163 output_strides[output_shape.dims() - 1] = 1; in Compute()
165 output_strides[d] = output_strides[d + 1] * output_shape.dim_size(d + 1); in Compute()
187 output_strides.begin(), int64{0}); in Compute()
196 output_strides.begin(), int64{0}); in Compute()
204 output_strides.begin(), int64{0}); in Compute()
214 output_strides.begin(), int64{0}); in Compute()
226 output_strides.begin(), int64{0}); in Compute()
Dreshape_util.cc55 gtl::InlinedVector<int64, 8> output_strides(output_rank); in operator ()() local
57 output_strides[output_rank - 1] = 1; in operator ()()
59 output_strides[d] = in operator ()()
60 output_strides[d + 1] * output_shape.dim_size(d + 1); in operator ()()
70 output_indices(i, j) = id / output_strides[j]; in operator ()()
71 id %= output_strides[j]; in operator ()()
Dsparse_reduce_op.cc195 gtl::InlinedVector<int64, 8> output_strides(reduction.group_by_dims.size()); in Compute() local
196 if (!output_strides.empty()) { // Do this iff we don't reduce all. in Compute()
197 output_strides.back() = 1; in Compute()
198 for (int d = output_strides.size() - 2; d >= 0; --d) { in Compute()
199 output_strides[d] = in Compute()
200 output_strides[d + 1] * shape_vec(reduction.group_by_dims[d + 1]); in Compute()
222 const int64 idx = CoordinatesToFlatIndex(g.group(), output_strides); in Compute()
Dset_kernels.cc260 const auto output_strides = Strides(output_shape); in Compute() local
279 group_key.begin(), group_key.end(), output_strides.begin(), 0LL); in Compute()
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/
Dceva_tflm_lib.h103 const int* output_strides, const int* output_extents);
108 const int* strides2, const int* output_strides);
118 const int* strides1, const int* strides2, const int* output_strides,
122 const int* strides1, const int* strides2, const int* output_strides,
198 const int* strides1, const int* strides2, const int* output_strides,
202 const int* strides1, const int* strides2, const int* output_strides,
215 const int* strides2, const int* output_strides, const int* output_extents);
220 const int* strides1, const int* strides2, const int* output_strides);
/external/libaom/libaom/av1/encoder/
Dcnn.h161 const int *output_strides; member
Dcnn.c854 const int *out_stride = output_struct->output_strides; in av1_cnn_predict_c()
1120 const int output_strides[1] = { out_stride }; in av1_cnn_predict_img() local
1122 .output_strides = output_strides, in av1_cnn_predict_img()
1138 const int output_strides[1] = { out_stride }; in av1_cnn_predict_img_highbd() local
1140 .output_strides = output_strides, in av1_cnn_predict_img_highbd()
Dpartition_strategy.c99 .output_strides = output_dims, in av1_intra_mode_cnn_partition()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_evaluator.cc1188 const absl::Span<const int64> output_strides, in CopyDataToOutput() argument
1209 output_data[dst_index + i * output_strides[axis]] = value; in CopyDataToOutput()
1215 GenerateIndices(output_lengths, output_strides, fft_lengths, fft_strides, in CopyDataToOutput()
1245 const absl::Span<const int64> output_strides, in CopyDataToOutput() argument
1250 fft_strides, output_lengths, output_strides, in CopyDataToOutput()
1255 output_strides, output_literal); in CopyDataToOutput()
1413 const auto output_strides = ComputeStrides(output_lengths, output_literal); in HandleFft() local
1435 output_strides, &output_literal); in HandleFft()
1440 GenerateIndices(output_lengths, output_strides, input_lengths, in HandleFft()
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_slice_op.cc439 auto output_strides = CalculateTFStrides(size_dims); in ComputeMklSlice() local
441 MklDnnData<T>::CreateBlockedMemDesc(size_dims, output_strides); in ComputeMklSlice()
/external/libaom/libaom/test/
Dcnn_test.cc54 const int output_strides[1] = { out_stride }; in RunCNNTest() local
55 CNN_MULTI_OUT output_struct = { num_outputs, output_chs, output_strides, in RunCNNTest()