/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Conversions.h | 58 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType); 59 GeneralResult<OperationType> unvalidatedConvert(const aidl_hal::OperationType& operationType); 60 GeneralResult<DeviceType> unvalidatedConvert(const aidl_hal::DeviceType& deviceType); 61 GeneralResult<Priority> unvalidatedConvert(const aidl_hal::Priority& priority); 62 GeneralResult<Capabilities> unvalidatedConvert(const aidl_hal::Capabilities& capabilities); 63 GeneralResult<Capabilities::OperandPerformance> unvalidatedConvert( 65 GeneralResult<Capabilities::PerformanceInfo> unvalidatedConvert( 67 GeneralResult<DataLocation> unvalidatedConvert(const aidl_hal::DataLocation& location); 68 GeneralResult<Operand> unvalidatedConvert(const aidl_hal::Operand& operand); 69 GeneralResult<Operand::ExtraParams> unvalidatedConvert( [all …]
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Conversions.h | 27 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_0::OperandType& operandType); 28 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_0::OperationType& operationType); 29 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime); 30 GeneralResult<DeviceStatus> unvalidatedConvert(const hal::V1_0::DeviceStatus& deviceStatus); 31 GeneralResult<Capabilities::PerformanceInfo> unvalidatedConvert( 33 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_0::Capabilities& capabilities); 34 GeneralResult<DataLocation> unvalidatedConvert(const hal::V1_0::DataLocation& location); 35 GeneralResult<Operand> unvalidatedConvert(const hal::V1_0::Operand& operand); 36 GeneralResult<Operation> unvalidatedConvert(const hal::V1_0::Operation& operation); 37 GeneralResult<Model::OperandValues> unvalidatedConvert( [all …]
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Conversions.cpp | 47 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>; 50 GeneralResult<std::vector<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function 55 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert() 62 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() 69 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_1::OperationType& operationType) { in unvalidatedConvert() function 73 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_1::Capabilities& capabilities) { in unvalidatedConvert() function 75 NN_TRY(unvalidatedConvert(capabilities.quantized8Performance)); in unvalidatedConvert() 76 const auto float32Performance = NN_TRY(unvalidatedConvert(capabilities.float32Performance)); in unvalidatedConvert() 78 NN_TRY(unvalidatedConvert(capabilities.relaxedFloat32toFloat16Performance)); in unvalidatedConvert() 90 GeneralResult<Operation> unvalidatedConvert(const hal::V1_1::Operation& operation) { in unvalidatedConvert() function [all …]
|
/hardware/interfaces/neuralnetworks/1.0/utils/src/ |
D | Conversions.cpp | 57 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>; 60 GeneralResult<std::vector<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function 65 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert() 72 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() 79 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_0::OperandType& operandType) { in unvalidatedConvert() function 83 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_0::OperationType& operationType) { in unvalidatedConvert() function 87 GeneralResult<Operand::LifeTime> unvalidatedConvert(const hal::V1_0::OperandLifeTime& lifetime) { in unvalidatedConvert() function 91 GeneralResult<DeviceStatus> unvalidatedConvert(const hal::V1_0::DeviceStatus& deviceStatus) { in unvalidatedConvert() function 95 GeneralResult<Capabilities::PerformanceInfo> unvalidatedConvert( in unvalidatedConvert() function 103 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_0::Capabilities& capabilities) { in unvalidatedConvert() function [all …]
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Conversions.h | 27 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType); 28 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_2::OperationType& operationType); 29 GeneralResult<DeviceType> unvalidatedConvert(const hal::V1_2::DeviceType& deviceType); 30 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_2::Capabilities& capabilities); 31 GeneralResult<Capabilities::OperandPerformance> unvalidatedConvert( 33 GeneralResult<Operation> unvalidatedConvert(const hal::V1_2::Operation& operation); 34 GeneralResult<Operand::SymmPerChannelQuantParams> unvalidatedConvert( 36 GeneralResult<Operand> unvalidatedConvert(const hal::V1_2::Operand& operand); 37 GeneralResult<Operand::ExtraParams> unvalidatedConvert( 39 GeneralResult<Model> unvalidatedConvert(const hal::V1_2::Model& model); [all …]
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Conversions.cpp | 61 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>; 64 GeneralResult<std::vector<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function 69 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert() 76 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() 94 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_2::OperandType& operandType) { in unvalidatedConvert() function 98 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_2::OperationType& operationType) { in unvalidatedConvert() function 102 GeneralResult<DeviceType> unvalidatedConvert(const hal::V1_2::DeviceType& deviceType) { in unvalidatedConvert() function 106 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_2::Capabilities& capabilities) { in unvalidatedConvert() function 118 NN_TRY(unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceScalar)); in unvalidatedConvert() 120 NN_TRY(unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceTensor)); in unvalidatedConvert() [all …]
|
D | ExecutionBurstServer.cpp | 252 NN_TRY(makeExecutionFailure(nn::unvalidatedConvert(requestWithoutPools))); in execute()
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Conversions.cpp | 76 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>; 79 GeneralResult<std::vector<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function 84 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvert() 91 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() 109 GeneralResult<OperandType> unvalidatedConvert(const hal::V1_3::OperandType& operandType) { in unvalidatedConvert() function 113 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_3::OperationType& operationType) { in unvalidatedConvert() function 117 GeneralResult<Priority> unvalidatedConvert(const hal::V1_3::Priority& priority) { in unvalidatedConvert() function 121 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_3::Capabilities& capabilities) { in unvalidatedConvert() function 133 auto operandPerformance = NN_TRY(unvalidatedConvert(capabilities.operandPerformance)); in unvalidatedConvert() 140 unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceScalar)), in unvalidatedConvert() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Conversions.cpp | 74 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>; 82 canonical.push_back(NN_TRY(nn::unvalidatedConvert(argument))); in unvalidatedConvertVec() 88 GeneralResult<std::vector<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function 95 auto canonical = NN_TRY(nn::unvalidatedConvert(halObject)); in validatedConvert() 148 GeneralResult<OperandType> unvalidatedConvert(const aidl_hal::OperandType& operandType) { in unvalidatedConvert() function 157 GeneralResult<OperationType> unvalidatedConvert(const aidl_hal::OperationType& operationType) { in unvalidatedConvert() function 167 GeneralResult<DeviceType> unvalidatedConvert(const aidl_hal::DeviceType& deviceType) { in unvalidatedConvert() function 171 GeneralResult<Priority> unvalidatedConvert(const aidl_hal::Priority& priority) { in unvalidatedConvert() function 175 GeneralResult<Capabilities> unvalidatedConvert(const aidl_hal::Capabilities& capabilities) { in unvalidatedConvert() function 186 auto operandPerformance = NN_TRY(unvalidatedConvert(capabilities.operandPerformance)); in unvalidatedConvert() [all …]
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Conversions.h | 27 GeneralResult<OperationType> unvalidatedConvert(const hal::V1_1::OperationType& operationType); 28 GeneralResult<Capabilities> unvalidatedConvert(const hal::V1_1::Capabilities& capabilities); 29 GeneralResult<Operation> unvalidatedConvert(const hal::V1_1::Operation& operation); 30 GeneralResult<Model> unvalidatedConvert(const hal::V1_1::Model& model); 31 GeneralResult<ExecutionPreference> unvalidatedConvert( 43 nn::GeneralResult<OperationType> unvalidatedConvert(const nn::OperationType& operationType); 44 nn::GeneralResult<Capabilities> unvalidatedConvert(const nn::Capabilities& capabilities); 45 nn::GeneralResult<Operation> unvalidatedConvert(const nn::Operation& operation); 46 nn::GeneralResult<Model> unvalidatedConvert(const nn::Model& model); 47 nn::GeneralResult<ExecutionPreference> unvalidatedConvert(
|
/hardware/interfaces/neuralnetworks/utils/ |
D | README.md | 48 `unvalidatedConvert` functions operate on types that are either used in a HIDL method call directly 50 over `unvalidatedConvert`.
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | ValidateModel.cpp | 1319 nn::unvalidatedConvert(model.main.operations).value()) in validateModel()
|