Lines Matching refs:unvalidatedConvert
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
105 NN_TRY(unvalidatedConvert(capabilities.quantized8Performance)); in unvalidatedConvert()
106 const auto float32Performance = NN_TRY(unvalidatedConvert(capabilities.float32Performance)); in unvalidatedConvert()
118 GeneralResult<DataLocation> unvalidatedConvert(const hal::V1_0::DataLocation& location) { in unvalidatedConvert() function
126 GeneralResult<Operand> unvalidatedConvert(const hal::V1_0::Operand& operand) { in unvalidatedConvert() function
128 .type = NN_TRY(unvalidatedConvert(operand.type)), in unvalidatedConvert()
132 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
133 .location = NN_TRY(unvalidatedConvert(operand.location)), in unvalidatedConvert()
137 GeneralResult<Operation> unvalidatedConvert(const hal::V1_0::Operation& operation) { in unvalidatedConvert() function
139 .type = NN_TRY(unvalidatedConvert(operation.type)), in unvalidatedConvert()
145 GeneralResult<Model::OperandValues> unvalidatedConvert(const hidl_vec<uint8_t>& operandValues) { in unvalidatedConvert() function
149 GeneralResult<SharedMemory> unvalidatedConvert(const hidl_memory& memory) { in unvalidatedConvert() function
153 GeneralResult<Model> unvalidatedConvert(const hal::V1_0::Model& model) { in unvalidatedConvert() function
154 auto operations = NN_TRY(unvalidatedConvert(model.operations)); in unvalidatedConvert()
169 .operands = NN_TRY(unvalidatedConvert(model.operands)), in unvalidatedConvert()
177 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
178 .pools = NN_TRY(unvalidatedConvert(model.pools)), in unvalidatedConvert()
182 GeneralResult<Request::Argument> unvalidatedConvert(const hal::V1_0::RequestArgument& argument) { in unvalidatedConvert() function
187 .location = NN_TRY(unvalidatedConvert(argument.location)), in unvalidatedConvert()
192 GeneralResult<Request> unvalidatedConvert(const hal::V1_0::Request& request) { in unvalidatedConvert() function
193 auto memories = NN_TRY(unvalidatedConvert(request.pools)); in unvalidatedConvert()
199 .inputs = NN_TRY(unvalidatedConvert(request.inputs)), in unvalidatedConvert()
200 .outputs = NN_TRY(unvalidatedConvert(request.outputs)), in unvalidatedConvert()
205 GeneralResult<ErrorStatus> unvalidatedConvert(const hal::V1_0::ErrorStatus& status) { in unvalidatedConvert() function
245 std::decay_t<decltype(unvalidatedConvert(std::declval<Input>()).value())>;
248 nn::GeneralResult<hidl_vec<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() function
252 halObject[i] = NN_TRY(utils::unvalidatedConvert(arguments[i])); in unvalidatedConvert()
260 return utils::unvalidatedConvert(canonical); in validatedConvert()
265 nn::GeneralResult<OperandType> unvalidatedConvert(const nn::OperandType& operandType) { in unvalidatedConvert() function
269 nn::GeneralResult<OperationType> unvalidatedConvert(const nn::OperationType& operationType) { in unvalidatedConvert() function
273 nn::GeneralResult<OperandLifeTime> unvalidatedConvert(const nn::Operand::LifeTime& lifetime) { in unvalidatedConvert() function
281 nn::GeneralResult<DeviceStatus> unvalidatedConvert(const nn::DeviceStatus& deviceStatus) { in unvalidatedConvert() function
285 nn::GeneralResult<PerformanceInfo> unvalidatedConvert( in unvalidatedConvert() function
293 nn::GeneralResult<Capabilities> unvalidatedConvert(const nn::Capabilities& capabilities) { in unvalidatedConvert() function
295 .float32Performance = NN_TRY(unvalidatedConvert( in unvalidatedConvert()
297 .quantized8Performance = NN_TRY(unvalidatedConvert( in unvalidatedConvert()
302 nn::GeneralResult<DataLocation> unvalidatedConvert(const nn::DataLocation& location) { in unvalidatedConvert() function
310 nn::GeneralResult<Operand> unvalidatedConvert(const nn::Operand& operand) { in unvalidatedConvert() function
312 .type = NN_TRY(unvalidatedConvert(operand.type)), in unvalidatedConvert()
317 .lifetime = NN_TRY(unvalidatedConvert(operand.lifetime)), in unvalidatedConvert()
318 .location = NN_TRY(unvalidatedConvert(operand.location)), in unvalidatedConvert()
322 nn::GeneralResult<Operation> unvalidatedConvert(const nn::Operation& operation) { in unvalidatedConvert() function
324 .type = NN_TRY(unvalidatedConvert(operation.type)), in unvalidatedConvert()
330 nn::GeneralResult<hidl_vec<uint8_t>> unvalidatedConvert( in unvalidatedConvert() function
335 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::SharedMemory& memory) { in unvalidatedConvert() function
339 nn::GeneralResult<Model> unvalidatedConvert(const nn::Model& model) { in unvalidatedConvert() function
345 auto operands = NN_TRY(unvalidatedConvert(model.main.operands)); in unvalidatedConvert()
357 .operations = NN_TRY(unvalidatedConvert(model.main.operations)), in unvalidatedConvert()
360 .operandValues = NN_TRY(unvalidatedConvert(model.operandValues)), in unvalidatedConvert()
361 .pools = NN_TRY(unvalidatedConvert(model.pools)), in unvalidatedConvert()
365 nn::GeneralResult<RequestArgument> unvalidatedConvert( in unvalidatedConvert() function
374 .location = NN_TRY(unvalidatedConvert(requestArgument.location)), in unvalidatedConvert()
379 nn::GeneralResult<hidl_memory> unvalidatedConvert(const nn::Request::MemoryPool& memoryPool) { in unvalidatedConvert() function
380 return unvalidatedConvert(std::get<nn::SharedMemory>(memoryPool)); in unvalidatedConvert()
383 nn::GeneralResult<Request> unvalidatedConvert(const nn::Request& request) { in unvalidatedConvert() function
390 .inputs = NN_TRY(unvalidatedConvert(request.inputs)), in unvalidatedConvert()
391 .outputs = NN_TRY(unvalidatedConvert(request.outputs)), in unvalidatedConvert()
392 .pools = NN_TRY(unvalidatedConvert(request.pools)), in unvalidatedConvert()
396 nn::GeneralResult<ErrorStatus> unvalidatedConvert(const nn::ErrorStatus& status) { in unvalidatedConvert() function