Lines Matching refs:unvalidatedConvert
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()
142 unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceTensor)), in unvalidatedConvert()
144 .ifPerformance = NN_TRY(unvalidatedConvert(capabilities.ifPerformance)), in unvalidatedConvert()
145 .whilePerformance = NN_TRY(unvalidatedConvert(capabilities.whilePerformance)), in unvalidatedConvert()
149 GeneralResult<Capabilities::OperandPerformance> unvalidatedConvert( in unvalidatedConvert() function
152 .type = NN_TRY(unvalidatedConvert(operandPerformance.type)), in unvalidatedConvert()
153 .info = NN_TRY(unvalidatedConvert(operandPerformance.info)), in unvalidatedConvert()
157 GeneralResult<Operation> unvalidatedConvert(const hal::V1_3::Operation& operation) { in unvalidatedConvert() function
159 .type = NN_TRY(unvalidatedConvert(operation.type)), in unvalidatedConvert()
165 GeneralResult<Operand::LifeTime> unvalidatedConvert( in unvalidatedConvert() function
170 GeneralResult<Operand> unvalidatedConvert(const hal::V1_3::Operand& operand) { in unvalidatedConvert() function
172 .type = NN_TRY(unvalidatedConvert(operand.type)), in unvalidatedConvert()
176 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
177 .location = NN_TRY(unvalidatedConvert(operand.location)), in unvalidatedConvert()
178 .extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)), in unvalidatedConvert()
182 GeneralResult<Model> unvalidatedConvert(const hal::V1_3::Model& model) { in unvalidatedConvert() function
184 .main = NN_TRY(unvalidatedConvert(model.main)), in unvalidatedConvert()
185 .referenced = NN_TRY(unvalidatedConvert(model.referenced)), in unvalidatedConvert()
186 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
187 .pools = NN_TRY(unvalidatedConvert(model.pools)), in unvalidatedConvert()
189 .extensionNameToPrefix = NN_TRY(unvalidatedConvert(model.extensionNameToPrefix)), in unvalidatedConvert()
193 GeneralResult<Model::Subgraph> unvalidatedConvert(const hal::V1_3::Subgraph& subgraph) { in unvalidatedConvert() function
194 auto operations = NN_TRY(unvalidatedConvert(subgraph.operations)); in unvalidatedConvert()
210 .operands = NN_TRY(unvalidatedConvert(subgraph.operands)), in unvalidatedConvert()
217 GeneralResult<BufferDesc> unvalidatedConvert(const hal::V1_3::BufferDesc& bufferDesc) { in unvalidatedConvert() function
221 GeneralResult<BufferRole> unvalidatedConvert(const hal::V1_3::BufferRole& bufferRole) { in unvalidatedConvert() function
229 GeneralResult<Request> unvalidatedConvert(const hal::V1_3::Request& request) { in unvalidatedConvert() function
231 .inputs = NN_TRY(unvalidatedConvert(request.inputs)), in unvalidatedConvert()
232 .outputs = NN_TRY(unvalidatedConvert(request.outputs)), in unvalidatedConvert()
233 .pools = NN_TRY(unvalidatedConvert(request.pools)), in unvalidatedConvert()
237 GeneralResult<Request::MemoryPool> unvalidatedConvert( in unvalidatedConvert() function
251 GeneralResult<OptionalTimePoint> unvalidatedConvert( in unvalidatedConvert() function
289 GeneralResult<OptionalDuration> unvalidatedConvert( in unvalidatedConvert() function
303 GeneralResult<ErrorStatus> unvalidatedConvert(const hal::V1_3::ErrorStatus& status) { in unvalidatedConvert() function
367 using utils::unvalidatedConvert;
369 nn::GeneralResult<V1_0::PerformanceInfo> unvalidatedConvert( in unvalidatedConvert() function
371 return V1_0::utils::unvalidatedConvert(performanceInfo); in unvalidatedConvert()
374 nn::GeneralResult<V1_0::DataLocation> unvalidatedConvert(const nn::DataLocation& dataLocation) { in unvalidatedConvert() function
375 return V1_0::utils::unvalidatedConvert(dataLocation); in unvalidatedConvert()
378 nn::GeneralResult<hidl_vec<uint8_t>> unvalidatedConvert( in unvalidatedConvert() function
380 return V1_0::utils::unvalidatedConvert(operandValues); in unvalidatedConvert()
383 nn::GeneralResult<hidl_handle> unvalidatedConvert(const nn::SharedHandle& handle) { in unvalidatedConvert() function
384 return V1_2::utils::unvalidatedConvert(handle); in unvalidatedConvert()
387 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert() function
388 return V1_0::utils::unvalidatedConvert(memory); in unvalidatedConvert()
391 nn::GeneralResult<V1_0::RequestArgument> unvalidatedConvert(const nn::Request::Argument& argument) { in unvalidatedConvert() function
392 return V1_0::utils::unvalidatedConvert(argument); in unvalidatedConvert()
395 nn::GeneralResult<V1_2::Operand::ExtraParams> unvalidatedConvert( in unvalidatedConvert() function
397 return V1_2::utils::unvalidatedConvert(extraParams); in unvalidatedConvert()
400 nn::GeneralResult<V1_2::Model::ExtensionNameAndPrefix> unvalidatedConvert( in unvalidatedConvert() function
402 return V1_2::utils::unvalidatedConvert(extensionNameAndPrefix); in unvalidatedConvert()
407 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>;
410 nn::GeneralResult<hidl_vec<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function
414 halObject[i] = NN_TRY(unvalidatedConvert(arguments[i])); in unvalidatedConvert()
421 ret.hidlMemory(NN_TRY(unvalidatedConvert(memory))); in makeMemoryPool()
435 using utils::unvalidatedConvert;
440 return unvalidatedConvert(canonical); in validatedConvert()
455 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() function
459 nn::GeneralResult<OperationType> unvalidatedConvert(const nn::OperationType& operationType) { in unvalidatedConvert() function
463 nn::GeneralResult<Priority> unvalidatedConvert(const nn::Priority& priority) { in unvalidatedConvert() function
467 nn::GeneralResult<Capabilities> unvalidatedConvert(const nn::Capabilities& capabilities) { in unvalidatedConvert() function
479 unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceScalar)), in unvalidatedConvert()
481 unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceTensor)), in unvalidatedConvert()
482 .operandPerformance = NN_TRY(unvalidatedConvert(operandPerformance)), in unvalidatedConvert()
483 .ifPerformance = NN_TRY(unvalidatedConvert(capabilities.ifPerformance)), in unvalidatedConvert()
484 .whilePerformance = NN_TRY(unvalidatedConvert(capabilities.whilePerformance)), in unvalidatedConvert()
488 nn::GeneralResult<Capabilities::OperandPerformance> unvalidatedConvert( in unvalidatedConvert() function
491 .type = NN_TRY(unvalidatedConvert(operandPerformance.type)), in unvalidatedConvert()
492 .info = NN_TRY(unvalidatedConvert(operandPerformance.info)), in unvalidatedConvert()
496 nn::GeneralResult<Operation> unvalidatedConvert(const nn::Operation& operation) { in unvalidatedConvert() function
498 .type = NN_TRY(unvalidatedConvert(operation.type)), in unvalidatedConvert()
504 nn::GeneralResult<OperandLifeTime> unvalidatedConvert( in unvalidatedConvert() function
513 nn::GeneralResult<Operand> unvalidatedConvert(const nn::Operand& operand) { in unvalidatedConvert() function
515 .type = NN_TRY(unvalidatedConvert(operand.type)), in unvalidatedConvert()
520 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
521 .location = NN_TRY(unvalidatedConvert(operand.location)), in unvalidatedConvert()
522 .extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)), in unvalidatedConvert()
526 nn::GeneralResult<Model> unvalidatedConvert(const nn::Model& model) { in unvalidatedConvert() function
533 .main = NN_TRY(unvalidatedConvert(model.main)), in unvalidatedConvert()
534 .referenced = NN_TRY(unvalidatedConvert(model.referenced)), in unvalidatedConvert()
535 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
536 .pools = NN_TRY(unvalidatedConvert(model.pools)), in unvalidatedConvert()
538 .extensionNameToPrefix = NN_TRY(unvalidatedConvert(model.extensionNameToPrefix)), in unvalidatedConvert()
542 nn::GeneralResult<Subgraph> unvalidatedConvert(const nn::Model::Subgraph& subgraph) { in unvalidatedConvert() function
543 auto operands = NN_TRY(unvalidatedConvert(subgraph.operands)); in unvalidatedConvert()
555 .operations = NN_TRY(unvalidatedConvert(subgraph.operations)), in unvalidatedConvert()
561 nn::GeneralResult<BufferDesc> unvalidatedConvert(const nn::BufferDesc& bufferDesc) { in unvalidatedConvert() function
565 nn::GeneralResult<BufferRole> unvalidatedConvert(const nn::BufferRole& bufferRole) { in unvalidatedConvert() function
573 nn::GeneralResult<Request> unvalidatedConvert(const nn::Request& request) { in unvalidatedConvert() function
580 .inputs = NN_TRY(unvalidatedConvert(request.inputs)), in unvalidatedConvert()
581 .outputs = NN_TRY(unvalidatedConvert(request.outputs)), in unvalidatedConvert()
582 .pools = NN_TRY(unvalidatedConvert(request.pools)), in unvalidatedConvert()
586 nn::GeneralResult<Request::MemoryPool> unvalidatedConvert( in unvalidatedConvert() function
591 nn::GeneralResult<OptionalTimePoint> unvalidatedConvert( in unvalidatedConvert() function
625 nn::GeneralResult<OptionalTimeoutDuration> unvalidatedConvert( in unvalidatedConvert() function
635 nn::GeneralResult<ErrorStatus> unvalidatedConvert(const nn::ErrorStatus& errorStatus) { in unvalidatedConvert() function