Home
last modified time | relevance | path

Searched refs:spatial_remap (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
H A Dweights_conversion.cc33 return i_aligned * o_aligned * weight_desc.spatial_remap.size(); in GetTotalElementsCountForLayout()
95 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
100 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
108 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
113 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
183 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
188 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
196 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
201 weights, dst_weight_desc.spatial_remap, in RearrangeWeights()
H A Dweights_conversion.h336 const std::vector<int>& spatial_remap, absl::Span<T> dst) { in RearrangeWeightsToOICustomSpatialI4O4() argument
345 const int kernel_index = spatial_remap[y * weights.shape.w + x]; in RearrangeWeightsToOICustomSpatialI4O4()
372 const std::vector<int>& spatial_remap, absl::Span<T> dst) { in RearrangeWeightsToOICustomSpatialI4O4() argument
383 spatial_remap[(z * weights.shape.h + y) * weights.shape.w + x]; in RearrangeWeightsToOICustomSpatialI4O4()
414 const std::vector<int>& spatial_remap, absl::Span<T> dst) { in RearrangeWeightsToOICustomSpatialO4I4() argument
423 const int kernel_index = spatial_remap[y * weights.shape.w + x]; in RearrangeWeightsToOICustomSpatialO4I4()
450 const std::vector<int>& spatial_remap, absl::Span<T> dst) { in RearrangeWeightsToOICustomSpatialO4I4() argument
461 spatial_remap[(z * weights.shape.h + y) * weights.shape.w + x]; in RearrangeWeightsToOICustomSpatialO4I4()
H A Dweights_layout.cc51 IsCustomSpatial() ? spatial_remap == t.spatial_remap : true; in operator ==()
H A Dweights_layout.h44 std::vector<int> spatial_remap; member
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
H A Dconv_weights_converter.cc53 std::vector<int32_t> remap(weights_desc_.spatial_remap.size()); in GetConverterToConvWeightsCode()
55 remap[i] = weights_desc_.spatial_remap[i]; in GetConverterToConvWeightsCode()
H A Dconvolution_transposed_3x3_thin.h52 desc.spatial_remap = GetSpatialWeightsRemap(); in GetWeightsDescription()
H A Dconvolution_transposed_4x4.h60 desc.spatial_remap = GetSpatialWeightsRemap(); in GetWeightsDescription()
H A Dconvolution_transposed_3x3.h58 desc.spatial_remap = GetSpatialWeightsRemap(); in GetWeightsDescription()
H A Dconv_weights_converter_test_util.cc271 weight_desc.spatial_remap = {10, 11, 14, 15, 8, 9, 12, 13, in ConverterToConvTransposedWeights4x4Test()