/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Conversions.cpp | 52 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/ |
D | HandleError.h | 88 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/ |
D | Conversions.cpp | 66 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/ |
D | Utils.h | 55 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/ |
D | Utils.h | 53 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/ |
D | Conversions.cpp | 62 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/ |
D | Utils.h | 64 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/ |
D | Conversions.cpp | 79 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/ |
D | Utils.h | 64 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/ |
D | Utils.h | 53 nn::GeneralResult<void> compliantVersion(const Type& canonical) { in compliantVersion() argument 55 nn::validate(canonical))); in compliantVersion()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 81 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/ |
D | README.md | 5 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/ |
D | Device.cpp | 300 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/ |
D | filesystem | 82 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/ |
D | types.hal | 4344 * 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.
|