Lines Matching refs:unvalidatedConvert

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()
121 auto operandPerformance = NN_TRY(unvalidatedConvert(capabilities.operandPerformance)); in unvalidatedConvert()
134 GeneralResult<Capabilities::OperandPerformance> unvalidatedConvert( in unvalidatedConvert() function
137 .type = NN_TRY(unvalidatedConvert(operandPerformance.type)), in unvalidatedConvert()
138 .info = NN_TRY(unvalidatedConvert(operandPerformance.info)), in unvalidatedConvert()
142 GeneralResult<Operation> unvalidatedConvert(const hal::V1_2::Operation& operation) { in unvalidatedConvert() function
144 .type = NN_TRY(unvalidatedConvert(operation.type)), in unvalidatedConvert()
150 GeneralResult<Operand::SymmPerChannelQuantParams> unvalidatedConvert( in unvalidatedConvert() function
158 GeneralResult<Operand> unvalidatedConvert(const hal::V1_2::Operand& operand) { in unvalidatedConvert() function
160 .type = NN_TRY(unvalidatedConvert(operand.type)), in unvalidatedConvert()
164 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
165 .location = NN_TRY(unvalidatedConvert(operand.location)), in unvalidatedConvert()
166 .extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)), in unvalidatedConvert()
170 GeneralResult<Operand::ExtraParams> unvalidatedConvert( in unvalidatedConvert() function
177 return unvalidatedConvert(extraParams.channelQuant()); in unvalidatedConvert()
186 GeneralResult<Model> unvalidatedConvert(const hal::V1_2::Model& model) { in unvalidatedConvert() function
187 auto operations = NN_TRY(unvalidatedConvert(model.operations)); in unvalidatedConvert()
202 .operands = NN_TRY(unvalidatedConvert(model.operands)), in unvalidatedConvert()
210 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
211 .pools = NN_TRY(unvalidatedConvert(model.pools)), in unvalidatedConvert()
213 .extensionNameToPrefix = NN_TRY(unvalidatedConvert(model.extensionNameToPrefix)), in unvalidatedConvert()
217 GeneralResult<Model::ExtensionNameAndPrefix> unvalidatedConvert( in unvalidatedConvert() function
225 GeneralResult<OutputShape> unvalidatedConvert(const hal::V1_2::OutputShape& outputShape) { in unvalidatedConvert() function
232 GeneralResult<MeasureTiming> unvalidatedConvert(const hal::V1_2::MeasureTiming& measureTiming) { in unvalidatedConvert() function
236 GeneralResult<Timing> unvalidatedConvert(const hal::V1_2::Timing& timing) { in unvalidatedConvert() function
252 GeneralResult<Extension> unvalidatedConvert(const hal::V1_2::Extension& extension) { in unvalidatedConvert() function
255 .operandTypes = NN_TRY(unvalidatedConvert(extension.operandTypes)), in unvalidatedConvert()
259 GeneralResult<Extension::OperandTypeInformation> unvalidatedConvert( in unvalidatedConvert() function
268 GeneralResult<SharedHandle> unvalidatedConvert(const hidl_handle& hidlHandle) { in unvalidatedConvert() function
318 using utils::unvalidatedConvert;
320 nn::GeneralResult<V1_0::OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() function
321 return V1_0::utils::unvalidatedConvert(lifetime); in unvalidatedConvert()
324 nn::GeneralResult<V1_0::PerformanceInfo> unvalidatedConvert( in unvalidatedConvert() function
326 return V1_0::utils::unvalidatedConvert(performanceInfo); in unvalidatedConvert()
329 nn::GeneralResult<V1_0::DataLocation> unvalidatedConvert(const nn::DataLocation& location) { in unvalidatedConvert() function
330 return V1_0::utils::unvalidatedConvert(location); in unvalidatedConvert()
333 nn::GeneralResult<hidl_vec<uint8_t>> unvalidatedConvert( in unvalidatedConvert() function
335 return V1_0::utils::unvalidatedConvert(operandValues); in unvalidatedConvert()
338 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert() function
339 return V1_0::utils::unvalidatedConvert(memory); in unvalidatedConvert()
344 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>;
347 nn::GeneralResult<hidl_vec<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function
351 halObject[i] = NN_TRY(unvalidatedConvert(arguments[i])); in unvalidatedConvert()
363 ret.channelQuant(NN_TRY(unvalidatedConvert(channelQuant))); in makeExtraParams()
377 return unvalidatedConvert(canonical); in validatedConvert()
392 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() function
396 nn::GeneralResult<OperationType> unvalidatedConvert(const nn::OperationType& operationType) { in unvalidatedConvert() function
400 nn::GeneralResult<DeviceType> unvalidatedConvert(const nn::DeviceType& deviceType) { in unvalidatedConvert() function
414 nn::GeneralResult<Capabilities> unvalidatedConvert(const nn::Capabilities& capabilities) { in unvalidatedConvert() function
426 unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceScalar)), in unvalidatedConvert()
428 unvalidatedConvert(capabilities.relaxedFloat32toFloat16PerformanceTensor)), in unvalidatedConvert()
429 .operandPerformance = NN_TRY(unvalidatedConvert(operandPerformance)), in unvalidatedConvert()
433 nn::GeneralResult<Capabilities::OperandPerformance> unvalidatedConvert( in unvalidatedConvert() function
436 .type = NN_TRY(unvalidatedConvert(operandPerformance.type)), in unvalidatedConvert()
437 .info = NN_TRY(unvalidatedConvert(operandPerformance.info)), in unvalidatedConvert()
441 nn::GeneralResult<Operation> unvalidatedConvert(const nn::Operation& operation) { in unvalidatedConvert() function
443 .type = NN_TRY(unvalidatedConvert(operation.type)), in unvalidatedConvert()
449 nn::GeneralResult<SymmPerChannelQuantParams> unvalidatedConvert( in unvalidatedConvert() function
457 nn::GeneralResult<Operand> unvalidatedConvert(const nn::Operand& operand) { in unvalidatedConvert() function
459 .type = NN_TRY(unvalidatedConvert(operand.type)), in unvalidatedConvert()
464 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
465 .location = NN_TRY(unvalidatedConvert(operand.location)), in unvalidatedConvert()
466 .extraParams = NN_TRY(unvalidatedConvert(operand.extraParams)), in unvalidatedConvert()
470 nn::GeneralResult<Operand::ExtraParams> unvalidatedConvert( in unvalidatedConvert() function
475 nn::GeneralResult<Model> unvalidatedConvert(const nn::Model& model) { in unvalidatedConvert() function
481 auto operands = NN_TRY(unvalidatedConvert(model.main.operands)); in unvalidatedConvert()
493 .operations = NN_TRY(unvalidatedConvert(model.main.operations)), in unvalidatedConvert()
496 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
497 .pools = NN_TRY(unvalidatedConvert(model.pools)), in unvalidatedConvert()
499 .extensionNameToPrefix = NN_TRY(unvalidatedConvert(model.extensionNameToPrefix)), in unvalidatedConvert()
503 nn::GeneralResult<Model::ExtensionNameAndPrefix> unvalidatedConvert( in unvalidatedConvert() function
511 nn::GeneralResult<OutputShape> unvalidatedConvert(const nn::OutputShape& outputShape) { in unvalidatedConvert() function
516 nn::GeneralResult<MeasureTiming> unvalidatedConvert(const nn::MeasureTiming& measureTiming) { in unvalidatedConvert() function
520 nn::GeneralResult<Timing> unvalidatedConvert(const nn::Timing& timing) { in unvalidatedConvert() function
532 nn::GeneralResult<Extension> unvalidatedConvert(const nn::Extension& extension) { in unvalidatedConvert() function
535 .operandTypes = NN_TRY(unvalidatedConvert(extension.operandTypes)), in unvalidatedConvert()
539 nn::GeneralResult<Extension::OperandTypeInformation> unvalidatedConvert( in unvalidatedConvert() function
548 nn::GeneralResult<hidl_handle> unvalidatedConvert(const nn::SharedHandle& handle) { in unvalidatedConvert() function