Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DUtils.h71 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
72 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
102 if (const ::android::nn::ErrorStatus canonical = ::android::nn::convert(status).value_or( \
104 canonical == ::android::nn::ErrorStatus::NONE) { \
106 return NN_ERROR(canonical)
/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()
190 nn::GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& canonical) { in validatedConvert() argument
191 NN_TRY(compliantVersion(canonical)); in validatedConvert()
192 return unvalidatedConvert(canonical); in validatedConvert()
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DHandleError.h56 if (const ::android::nn::ErrorStatus canonical = ::android::nn::convert(status).value_or( \
58 canonical == ::android::nn::ErrorStatus::NONE) { \
60 return NN_ERROR(canonical)
DUtils.h52 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
53 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DConversions.cpp65 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
66 canonical.reserve(arguments.size()); in unvalidatedConvert()
68 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
70 return canonical; in unvalidatedConvert()
75 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
76 NN_TRY(hal::V1_2::utils::compliantVersion(canonical)); in validatedConvert()
77 return canonical; in validatedConvert()
83 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
84 canonical.reserve(arguments.size()); in validatedConvert()
86 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DUtils.h54 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
55 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DUtils.h63 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
64 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DUtils.h63 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() argument
64 const auto version = NN_TRY(nn::validate(canonical)); in compliantVersion()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DConversions.cpp78 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvertVec() local
79 canonical.reserve(arguments.size()); in unvalidatedConvertVec()
81 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvertVec()
83 return canonical; in unvalidatedConvertVec()
94 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
95 NN_TRY(aidl_hal::utils::compliantVersion(canonical)); in validatedConvert()
96 return canonical; in validatedConvert()
102 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
103 canonical.reserve(arguments.size()); in validatedConvert()
105 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DConversions.cpp80 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
81 canonical.reserve(arguments.size()); in unvalidatedConvert()
83 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
85 return canonical; in unvalidatedConvert()
90 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
91 NN_TRY(hal::V1_3::utils::compliantVersion(canonical)); in validatedConvert()
92 return canonical; in validatedConvert()
98 std::vector<UnvalidatedConvertOutput<Type>> canonical; in validatedConvert() local
99 canonical.reserve(arguments.size()); in validatedConvert()
101 canonical.push_back(NN_TRY(validatedConvert(argument))); in validatedConvert()
[all …]
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DConversions.cpp68 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() local
69 canonical.reserve(arguments.size()); in unvalidatedConvert()
71 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert()
73 return canonical; in unvalidatedConvert()
78 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() local
79 NN_TRY(hal::V1_0::utils::compliantVersion(canonical)); in validatedConvert()
80 return canonical; in validatedConvert()
403 nn::GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& canonical) { in validatedConvert() argument
404 NN_TRY(compliantVersion(canonical)); in validatedConvert()
405 return utils::unvalidatedConvert(canonical); in validatedConvert()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp98 std::vector<nn::SharedPreparedModel> canonical; in downcastAll() local
99 canonical.reserve(preparedModels.size()); in downcastAll()
101 canonical.push_back(NN_TRY(downcast(preparedModel))); in downcastAll()
103 return canonical; in downcastAll()
/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/hidl/src/
DDevice.cpp290 std::vector<nn::SharedPreparedModel> canonical; in downcastAll() local
291 canonical.reserve(preparedModels.size()); in downcastAll()
293 canonical.push_back(NN_TRY(downcast(preparedModel))); in downcastAll()
295 return canonical; in downcastAll()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dintroduction.adoc26 The canonical version of the Specification is available in the official
35 The canonical version of the Specification is available in the official
Ddevsandqueues.adoc199 Only the latest canonical versions of this Specification, of the
760 Only the latest canonical versions of this Specification, of the
/hardware/google/gfxstream/guest/mesa/
D.mailmap32 Alexandros Frantzis <alexandros.frantzis@collabora.com> <Alexandros.Frantzis@canonical.com>
55 Andreas Pokorny <andreas.pokorny@canonical.com> <andreas.pokorny@elektrobit.com>
155 Christopher James Halse Rogers <christopher.halse.rogers@canonical.com> Christopher James Halse Rog…
415 Maarten Lankhorst <maarten.lankhorst@ubuntu.com> <maarten.lankhorst@canonical.com>
572 Robert Hooker <sarvatt@ubuntu.com> <robert.hooker@canonical.com>
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/style/
Dvuid.adoc86 gitlab default branch (currently `main`) containing the canonical
Dmarkup.adoc988 the canonical GitHub repository.
Dextensions.adoc260 The canonical definition of the Vulkan APIs is kept in an XML file known as
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/xml/
DREADME.adoc21 This is the Vulkan XML API Registry. It is used to generate the canonical
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
Dboilerplate.adoc22 `vk.xml` XML API Registry, which is the canonical machine-readable
435 derived from the `video.xml` XML file, which is the canonical
DVK_EXT_image_drm_format_modifier.adoc48 The canonical list of _modifiers_ and vendor prefixes is found in
/hardware/interfaces/automotive/vehicle/2.0/
Dtypes.hal4337 * This enum provides the canonical mapping for sensor properties that have an integer value.
4396 * This enum provides the canonical mapping for sensor properties that have a floating-point value.