Home
last modified time | relevance | path

Searched refs:FormatConverter (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/
Dformat_converter.h30 class FormatConverter {
43 FormatConverter(const std::vector<int>& shape,
53 FormatConverter(const std::vector<int>& shape,
109 bool FormatConverter<Eigen::half>::IsZero(const Eigen::half val);
111 extern template class FormatConverter<int32_t>;
112 extern template class FormatConverter<int8_t>;
113 extern template class FormatConverter<float>;
114 extern template class FormatConverter<Eigen::half>;
Dformat_converter.cc53 FormatConverter<T>::FormatConverter( in FormatConverter() function in tflite::optimize::sparsity::FormatConverter
83 TfLiteStatus FormatConverter<T>::DenseToSparse(const T* src_data) { in DenseToSparse()
216 FormatConverter<T>::FormatConverter(const std::vector<int>& shape, in FormatConverter() function in tflite::optimize::sparsity::FormatConverter
259 void FormatConverter<T>::Populate(const T* src_data, std::vector<int> indices, in Populate()
306 TfLiteStatus FormatConverter<T>::SparseToDense(const T* src_data) { in SparseToDense()
319 TfLiteStatus FormatConverter<T>::SparseToDense(const T* src_data, in SparseToDense()
344 bool FormatConverter<Eigen::half>::IsZero(const Eigen::half val) { in IsZero()
350 bool FormatConverter<T>::IsZero(const T val) { in IsZero()
354 template class FormatConverter<int32_t>; variable
355 template class FormatConverter<int8_t>; variable
[all …]
Dformat_converter_test.cc31 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
60 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
91 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
122 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
155 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
184 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
215 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
246 FormatConverter<int> converter(dense_shape, traversal_order, format); in TEST()
279 FormatConverter<int> converter(dense_shape, traversal_order, format);
315 FormatConverter<int> converter(dense_shape, traversal_order, format);
[all …]
/external/v4l2_codec2/common/include/v4l2_codec2/common/
DFormatConverter.h45 class FormatConverter {
47 ~FormatConverter() = default;
49 FormatConverter(const FormatConverter&) = delete;
50 FormatConverter& operator=(const FormatConverter&) = delete;
54 static std::unique_ptr<FormatConverter> Create(VideoPixelFormat outFormat,
92 FormatConverter() = default;
/external/v4l2_codec2/common/
DFormatConverter.cpp95 std::unique_ptr<FormatConverter> FormatConverter::Create(VideoPixelFormat outFormat, in Create()
104 std::unique_ptr<FormatConverter> converter(new FormatConverter); in Create()
112 c2_status_t FormatConverter::initialize(VideoPixelFormat outFormat, const ui::Size& visibleSize, in initialize()
161 C2ConstGraphicBlock FormatConverter::convertBlock(uint64_t frameIndex, in convertBlock()
306 c2_status_t FormatConverter::returnBlock(uint64_t frameIndex) { in returnBlock()
DAndroid.bp21 "FormatConverter.cpp",
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DV4L2EncodeComponent.h29 class FormatConverter; variable
154 std::unique_ptr<FormatConverter> mInputFormatConverter;
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Ddense_to_sparse.cc119 tflite::optimize::sparsity::FormatConverter<float> format_converter( in CalculateBlockSparsity()
129 tflite::optimize::sparsity::FormatConverter<Eigen::half> format_converter( in CalculateBlockSparsity()
140 tflite::optimize::sparsity::FormatConverter<int8_t> format_converter( in CalculateBlockSparsity()
244 tflite::optimize::sparsity::FormatConverter<T> format_converter( in BuildSparsityParameterAttribute()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Ddensify.h39 tflite::optimize::sparsity::FormatConverter<T> converter(vector_shape, in Densify()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/sparse_ops/
Dfully_connected.h35 tflite::optimize::sparsity::FormatConverter<float> converter( in FullyConnectedSparseWeight()
/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/python/
Dformat_converter_extension.cc30 using FormatConverterFp32 = FormatConverter<float>;
/external/pdfium/testing/image_diff/
Dimage_diff_png.cpp482 typedef void (*FormatConverter)(const uint8_t* in, typedef
501 FormatConverter converter, in DoLibpngWrite()
566 FormatConverter converter = nullptr; in EncodeWithCompressionLevel()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.h224 tflite::optimize::sparsity::FormatConverter<int8_t> converter( in AddConstSparseInput()
296 tflite::optimize::sparsity::FormatConverter<T> converter(
/external/v4l2_codec2/components/
DV4L2EncodeComponent.cpp659 FormatConverter::Create(mEncoder->inputFormat(), mEncoder->visibleSize(), in initializeEncoder()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dxnnpack_delegate.cc3183 tflite::optimize::sparsity::FormatConverter<float> converter( in PrepareOpsToDelegate()
3195 tflite::optimize::sparsity::FormatConverter<Eigen::half> converter( in PrepareOpsToDelegate()