diff options
author | Scott Lobdell <slobdell@google.com> | 2022-01-21 07:03:32 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2022-01-21 07:15:05 +0000 |
commit | 593bdf5548ac6f13053424a655423c0677e7cb2d (patch) | |
tree | ebbbe99553ec26ed9088cf6cfef1aec2e5cc2ef0 /neuralnetworks/aidl/utils/src/Callbacks.cpp | |
parent | 78c23e4f5f9e8b61b8bace9a2b4cb691073ef906 (diff) | |
parent | a0f5ebdbd3992e7a78517d13f568d9cbcbb71564 (diff) |
Merge TP1A.211206.001
Change-Id: I8b3a43021a3328cf6afb4e7e157339d8e214ddbe
Diffstat (limited to 'neuralnetworks/aidl/utils/src/Callbacks.cpp')
-rw-r--r-- | neuralnetworks/aidl/utils/src/Callbacks.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/neuralnetworks/aidl/utils/src/Callbacks.cpp b/neuralnetworks/aidl/utils/src/Callbacks.cpp index a32147734c..8084970690 100644 --- a/neuralnetworks/aidl/utils/src/Callbacks.cpp +++ b/neuralnetworks/aidl/utils/src/Callbacks.cpp @@ -35,7 +35,8 @@ namespace { // Converts the results of IDevice::prepareModel* to the NN canonical format. On success, this // function returns with a non-null nn::SharedPreparedModel with a feature level of -// nn::Version::ANDROID_S. On failure, this function returns with the appropriate nn::GeneralError. +// nn::kVersionFeatureLevel5. On failure, this function returns with the appropriate +// nn::GeneralError. nn::GeneralResult<nn::SharedPreparedModel> prepareModelCallback( ErrorStatus status, const std::shared_ptr<IPreparedModel>& preparedModel) { HANDLE_STATUS_AIDL(status) << "model preparation failed with " << toString(status); |