Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/1.1/utils/src/
DConversions.cpp52 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
53 canonical.reserve(arguments.size()); in unvalidatedConvert()
55 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
57 return canonical; in unvalidatedConvert()
62 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
63 NN_TRY(hal::V1_1::utils::compliantVersion(canonical)); in validatedConvert()
64 return canonical; in validatedConvert()
186 nn::GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& canonical) { in validatedConvert() argument
187 NN_TRY(compliantVersion(canonical)); in validatedConvert()
188 return unvalidatedConvert(canonical); in validatedConvert()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DHandleError.h88 if (const auto canonical = ::android::nn::convert(status).value_or( \
90 canonical == ::android::nn::ErrorStatus::NONE) { \
92 return NN_ERROR(canonical)
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp66 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
67 canonical.reserve(arguments.size()); in unvalidatedConvert()
69 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
71 return canonical; in unvalidatedConvert()
76 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
77 NN_TRY(hal::V1_2::utils::compliantVersion(canonical)); in validatedConvert()
78 return canonical; in validatedConvert()
84 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
85 canonical.reserve(arguments.size()); in validatedConvert()
87 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DUtils.h55 nn::GeneralResult<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
56 const auto version = NN_TRY(hal::utils::makeGeneralFailure(nn::validate(canonical))); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DUtils.h53 nn::GeneralResult<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
54 const auto version = NN_TRY(hal::utils::makeGeneralFailure(nn::validate(canonical))); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp62 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
63 canonical.reserve(arguments.size()); in unvalidatedConvert()
65 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
67 return canonical; in unvalidatedConvert()
72 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
73 NN_TRY(hal::V1_0::utils::compliantVersion(canonical)); in validatedConvert()
74 return canonical; in validatedConvert()
258 nn::GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& canonical) { in validatedConvert() argument
259 NN_TRY(compliantVersion(canonical)); in validatedConvert()
260 return utils::unvalidatedConvert(canonical); in validatedConvert()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DUtils.h64 nn::GeneralResult<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
65 const auto version = NN_TRY(hal::utils::makeGeneralFailure(nn::validate(canonical))); in compliantVersion()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp79 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvertVec() local
80 canonical.reserve(arguments.size()); in unvalidatedConvertVec()
82 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvertVec()
84 return canonical; in unvalidatedConvertVec()
95 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
96 NN_TRY(aidl_hal::utils::compliantVersion(canonical)); in validatedConvert()
97 return canonical; in validatedConvert()
103 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
104 canonical.reserve(arguments.size()); in validatedConvert()
106 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DUtils.h64 nn::GeneralResult<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
65 const auto version = NN_TRY(hal::utils::makeGeneralFailure(nn::validate(canonical))); in compliantVersion()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DUtils.h53 nn::GeneralResult<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
55 nn::validate(canonical))); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp81 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
82 canonical.reserve(arguments.size()); in unvalidatedConvert()
84 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
86 return canonical; in unvalidatedConvert()
91 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
92 NN_TRY(hal::V1_3::utils::compliantVersion(canonical)); in validatedConvert()
93 return canonical; in validatedConvert()
99 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
100 canonical.reserve(arguments.size()); in validatedConvert()
102 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/utils/
DREADME.md5 has fewer possible values than the "same" canonical enumeration, such as `OperationType`. The new
42 const nn::ErrorStatus canonical = nn::convert(versionedBefore).value();
43 const V1_0::ErrorStatus versionedAfter = V1_0::utils::convert(canonical).value();
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp300 std::vector<nn::SharedPreparedModel> canonical; in downcastAll() local
301 canonical.reserve(preparedModels.size()); in downcastAll()
303 canonical.push_back(NN_TRY(downcast(preparedModel))); in downcastAll()
305 return canonical; in downcastAll()
/hardware/interfaces/automotive/can/1.0/default/libc++fs/include/automotive/
Dfilesystem82 path canonical(const path& p);
83 path canonical(const path& p, error_code& ec);
1530 inline _LIBCPP_INLINE_VISIBILITY path canonical(const path& __p) {
1534 inline _LIBCPP_INLINE_VISIBILITY path canonical(const path& __p,
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal4344 * This enum provides the canonical mapping for sensor properties that have an integer value.
4403 * This enum provides the canonical mapping for sensor properties that have a floating-point value.