mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 00:19:58 +01:00
PR #4272: Qualcomm AI Engine Direct - Fix android-arm64 CMake build bug
Imported from GitHub PR https://github.com/google-ai-edge/LiteRT/pull/4272 Summary: - Add typename to avoid cmake failure Test Result: ======================== Test Summary ======================== //litert/vendors/qualcomm/core/utils:utils_test [==========] 12 tests from 3 test suites ran. (0 ms total) [ PASSED ] 12 tests. YOU HAVE 2 DISABLED TESTS //litert/vendors/qualcomm/core/backends:qnn_backend_test [==========] 0 tests from 0 test suites ran. (0 ms total) [ PASSED ] 0 tests. YOU HAVE 4 DISABLED TESTS //litert/vendors/qualcomm/core/wrappers/tests:op_wrapper_test [==========] 7 tests from 1 test suite ran. (0 ms total) [ PASSED ] 7 tests. //litert/vendors/qualcomm/core/wrappers/tests:tensor_wrapper_test [==========] 18 tests from 1 test suite ran. (0 ms total) [ PASSED ] 18 tests. //litert/vendors/qualcomm/core/wrappers/tests:param_wrapper_test [==========] 16 tests from 2 test suites ran. (0 ms total) [ PASSED ] 16 tests. //litert/vendors/qualcomm/core/wrappers/tests:quantize_params_wrapper_test [==========] 13 tests from 3 test suites ran. (0 ms total) [ PASSED ] 13 tests. //litert/vendors/qualcomm/core:common_test [==========] 13 tests from 1 test suite ran. (0 ms total) [ PASSED ] 13 tests. //litert/vendors/qualcomm/core:tensor_pool_test [==========] 8 tests from 1 test suite ran. (0 ms total) [ PASSED ] 8 tests. //litert/vendors/qualcomm:qnn_manager_test [==========] 3 tests from 1 test suite ran. (259 ms total) [ PASSED ] 3 tests. //litert/c/options:litert_qualcomm_options_test [==========] 17 tests from 2 test suites ran. (0 ms total) [ PASSED ] 17 tests. //litert/c:litert_op_options_test //litert/tools/flags/vendors:qualcomm_flags_test [==========] 8 tests from 5 test suites ran. (0 ms total) [ PASSED ] 8 tests. //litert/vendors/qualcomm/compiler:qnn_compiler_plugin_test [==========] 232 tests from 4 test suites ran. (61193 ms total) [ PASSED ] 232 tests. Copybara import of the project: -- 57e7429920d1950d635b29c4f8a18ccd51ade496 by chuntl-qti <chuntl@qti.qualcomm.com>: Qualcomm AI Engine Direct - Fix android-arm64 CMake build bug Summary: - Add typename to avoid cmake failure Merging this change closes #4272 PiperOrigin-RevId: 826045177
This commit is contained in:
parent
a0921d9997
commit
8d5e1015aa
|
|
@ -104,7 +104,7 @@ class [[nodiscard]] Buffer {
|
|||
template <TfLiteType kType, class T>
|
||||
void Assign(Buffer b, std::vector<int> shape, const std::vector<T>& data,
|
||||
Quantization quantization) {
|
||||
using Storage = TfLiteTypeToType<kType>::Type;
|
||||
using Storage = typename TfLiteTypeToType<kType>::Type;
|
||||
std::unique_ptr<Storage[]> buffer_data(new Storage[data.size()]);
|
||||
std::copy(begin(data), end(data), buffer_data.get());
|
||||
Assign(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user