Home
last modified time | relevance | path

Searched refs:outputs (Results 1 – 25 of 54) sorted by relevance

123

/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.cpp270 static bool verifyOperationOutputs(const std::vector<hexagon_nn_output>& outputs) { in verifyOperationOutputs() argument
271 for (const hexagon_nn_output& output : outputs) { in verifyOperationOutputs()
281 const std::vector<hexagon_nn_output>& outputs) { in addOperationInternal() argument
284 HEXAGON_SOFT_ASSERT(verifyOperationOutputs(outputs), in addOperationInternal()
288 inputs.size(), outputs.data(), in addOperationInternal()
289 outputs.size()) == 0 in addOperationInternal()
295 std::vector<hexagon_nn_output> outputs; in getHexagonOutputs() local
298 outputs.push_back(make_hexagon_nn_output(operand.dimensions, getSize(operand.type))); in getHexagonOutputs()
300 outputs.push_back(make_hexagon_nn_output({1, 1, 1, 1}, sizeof(float))); in getHexagonOutputs()
301 outputs.push_back(make_hexagon_nn_output({1, 1, 1, 1}, sizeof(float))); in getHexagonOutputs()
[all …]
DHexagonModel.h115 const std::vector<uint32_t>& outputs);
119 const std::vector<uint32_t>& outputs);
123 const std::vector<uint32_t>& outputs);
127 const std::vector<uint32_t>& outputs);
131 const std::vector<uint32_t>& outputs);
141 const std::vector<hexagon_nn_output>& outputs);
DHexagonController.cpp128 uint32_t num_inputs, const hexagon_nn_output* outputs, in append_node() argument
130 CONTROLLER_CHECK(append_node, id, node_id, operation, padding, inputs, num_inputs, outputs, in append_node()
141 uint32_t n_inputs, hexagon_nn_tensordef* outputs, uint32_t n_outputs) { in execute_new() argument
142 CONTROLLER_CHECK(execute_new, id, inputs, n_inputs, outputs, n_outputs); in execute_new()
DHexagonController.h71 uint32_t num_inputs, const hexagon_nn_output* outputs, uint32_t num_outputs);
77 hexagon_nn_tensordef* outputs, uint32_t n_outputs);
/hardware/libhardware_legacy/audio/
Daudio_policy.conf28 outputs {
47 outputs {
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateModel.cpp190 size += sizeForBinder(operation.outputs); in sizeForBinder()
280 for (uint32_t output : operationObj.outputs) { in mutateExecutionOrderTest()
597 for (size_t badOutputNum = 0; badOutputNum < model.operations[operation].outputs.size(); in mutateOperandAddWriterTest()
599 const uint32_t outputOperandIndex = model.operations[operation].outputs[badOutputNum]; in mutateOperandAddWriterTest()
612 for (size_t outputNum = 0; outputNum < newOperation.outputs.size(); ++outputNum) { in mutateOperandAddWriterTest()
615 Operand operandValue = model->operands[newOperation.outputs[outputNum]]; in mutateOperandAddWriterTest()
622 newOperation.outputs[outputNum] = in mutateOperandAddWriterTest()
757 for (size_t output = 0; output < model.operations[operation].outputs.size(); ++output) { in mutateOperationOutputOperandIndexTest()
762 model->operations[operation].outputs[output] = invalidOperand; in mutateOperationOutputOperandIndexTest()
772 for (size_t outputNum = 0; outputNum < model.operations[operation].outputs.size(); in mutateOperationRemoveWriteTest()
[all …]
DBasicTests.cpp141 {.type = OperationType::ADD, .inputs = {0, 4, 2}, .outputs = {3}}, in TEST_P()
142 {.type = OperationType::ADD, .inputs = {1, 3, 2}, .outputs = {4}}, in TEST_P()
143 {.type = OperationType::ADD, .inputs = {4, 0, 2}, .outputs = {5}}, in TEST_P()
DUtils.cpp123 hidl_vec<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest() local
140 outputs[i] = {.hasNoValue = false, .location = loc, .dimensions = {}}; in createRequest()
166 return {.inputs = std::move(inputs), .outputs = std::move(outputs), .pools = std::move(pools)}; in createRequest()
173 for (const auto& output : request.outputs) { in getOutputBuffers()
DGeneratedTestHarness.cpp79 .outputs = op.outputs}; in createModel()
148 const std::vector<TestBuffer> outputs = context.getOutputBuffers(request); in Execute() local
151 checkResults(testModel, outputs); in Execute()
DValidateRequest.cpp83 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest()
86 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DBasicTests.cpp148 {.type = OperationType::ADD, .inputs = {0, 4, 2}, .outputs = {3}}, in TEST_P()
149 {.type = OperationType::ADD, .inputs = {1, 3, 2}, .outputs = {4}}, in TEST_P()
150 {.type = OperationType::ADD, .inputs = {4, 0, 2}, .outputs = {5}}, in TEST_P()
DValidateModel.cpp209 size += sizeForBinder(operation.outputs); in sizeForBinder()
300 for (uint32_t output : operationObj.outputs) { in mutateExecutionOrderTest()
625 for (size_t badOutputNum = 0; badOutputNum < model.operations[operation].outputs.size(); in mutateOperandAddWriterTest()
627 const uint32_t outputOperandIndex = model.operations[operation].outputs[badOutputNum]; in mutateOperandAddWriterTest()
641 for (size_t outputNum = 0; outputNum < newOperation.outputs.size(); in mutateOperandAddWriterTest()
646 model->operands[newOperation.outputs[outputNum]]; in mutateOperandAddWriterTest()
654 newOperation.outputs[outputNum] = in mutateOperandAddWriterTest()
792 for (size_t output = 0; output < model.operations[operation].outputs.size(); ++output) { in mutateOperationOutputOperandIndexTest()
798 model->operations[operation].outputs[output] = invalidOperand; in mutateOperationOutputOperandIndexTest()
808 for (size_t outputNum = 0; outputNum < model.operations[operation].outputs.size(); in mutateOperationRemoveWriteTest()
[all …]
DGeneratedTestHarness.cpp86 .outputs = op.outputs}; in createModel()
156 const std::vector<TestBuffer> outputs = context.getOutputBuffers(request); in Execute() local
159 checkResults(testModel, outputs); in Execute()
DValidateRequest.cpp67 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest()
70 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DMemoryDomainTests.cpp142 .outputs = {outputIndex}}); in createConvModel()
182 .outputs = {3}}}, in createSingleAddModel()
967 .outputs = {sharedMemoryArg}, in TEST_P()
972 .outputs = {sharedMemoryArg}, in TEST_P()
977 .outputs = {deviceMemoryArg}, in TEST_P()
982 .outputs = {deviceMemoryArg}, in TEST_P()
1004 .outputs = {sharedMemoryArg}, in TEST_P()
1009 .outputs = {deviceMemoryArg}, in TEST_P()
1035 .outputs = {sharedMemoryArg2, sharedMemoryArg3}, in TEST_P()
1042 .outputs = {sharedMemoryArg3, deviceMemoryArg}, in TEST_P()
[all …]
DValidateModel.cpp244 size += sizeForBinder(operation.outputs); in sizeForBinder()
357 for (uint32_t output : operationObj.outputs) { in mutateExecutionOrderTest()
721 badOutputNum < model.main.operations[operation].outputs.size(); ++badOutputNum) { in mutateOperandAddWriterTest()
723 model.main.operations[operation].outputs[badOutputNum]; in mutateOperandAddWriterTest()
737 for (size_t outputNum = 0; outputNum < newOperation.outputs.size(); in mutateOperandAddWriterTest()
742 model->main.operands[newOperation.outputs[outputNum]]; in mutateOperandAddWriterTest()
750 newOperation.outputs[outputNum] = in mutateOperandAddWriterTest()
872 if (operand == operation.outputs[0] && in mutateOperationOperandTypeSkip()
892 if (operand == operation.outputs[0] && in mutateOperationOperandTypeSkip()
999 for (size_t output = 0; output < model.main.operations[operation].outputs.size(); in mutateOperationOutputOperandIndexTest()
[all …]
DBasicTests.cpp163 {.type = OperationType::ADD, .inputs = {0, 4, 2}, .outputs = {3}}, in TEST_P()
164 {.type = OperationType::ADD, .inputs = {1, 3, 2}, .outputs = {4}}, in TEST_P()
165 {.type = OperationType::ADD, .inputs = {4, 0, 2}, .outputs = {5}}, in TEST_P()
DGeneratedTestHarness.cpp248 .outputs = op.outputs}; in createSubgraph()
325 auto& length = request->outputs[outputIndex].location.length; in makeOutputInsufficientSize()
402 hidl_vec<RequestArgument> outputs(testModel.main.outputIndexes.size()); in createRequest() local
414 outputs[i] = {.hasNoValue = false, .location = loc, .dimensions = {}}; in createRequest()
432 outputs[i] = {.hasNoValue = false, .location = loc, .dimensions = {}}; in createRequest()
467 .inputs = std::move(inputs), .outputs = std::move(outputs), .pools = std::move(pools)}; in createRequest()
475 for (uint32_t i = 0; i < request.outputs.size(); i++) { in getOutputBuffers()
476 const auto& outputLoc = request.outputs[i].location; in getOutputBuffers()
782 const std::vector<TestBuffer> outputs = context.getOutputBuffers(testModel, request); in EvaluatePreparedModel() local
785 checkResults(testModel, outputs); in EvaluatePreparedModel()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateModel.cpp237 size += sizeForBinder(operation.outputs); in sizeForBinder()
339 for (uint32_t output : operationObj.outputs) { in mutateExecutionOrderTest()
693 for (size_t badOutputNum = 0; badOutputNum < model.operations[operation].outputs.size(); in mutateOperandAddWriterTest()
695 const uint32_t outputOperandIndex = model.operations[operation].outputs[badOutputNum]; in mutateOperandAddWriterTest()
709 for (size_t outputNum = 0; outputNum < newOperation.outputs.size(); in mutateOperandAddWriterTest()
714 model->operands[newOperation.outputs[outputNum]]; in mutateOperandAddWriterTest()
722 newOperation.outputs[outputNum] = in mutateOperandAddWriterTest()
849 if (operand == operation.outputs[0] && in mutateOperationOperandTypeSkip()
933 for (size_t output = 0; output < model.operations[operation].outputs.size(); ++output) { in mutateOperationOutputOperandIndexTest()
939 model->operations[operation].outputs[output] = invalidOperand; in mutateOperationOutputOperandIndexTest()
[all …]
DBasicTests.cpp222 {.type = OperationType::ADD, .inputs = {0, 4, 2}, .outputs = {3}}, in TEST_P()
223 {.type = OperationType::ADD, .inputs = {1, 3, 2}, .outputs = {4}}, in TEST_P()
224 {.type = OperationType::ADD, .inputs = {4, 0, 2}, .outputs = {5}}, in TEST_P()
DGeneratedTestHarness.cpp119 .outputs = op.outputs}; in createModel()
171 auto& length = request->outputs[outputIndex].location.length; in makeOutputInsufficientSize()
331 const std::vector<TestBuffer> outputs = context.getOutputBuffers(request); in EvaluatePreparedModel() local
334 checkResults(testModel, outputs); in EvaluatePreparedModel()
DValidateRequest.cpp144 for (size_t output = 0; output < request.outputs.size(); ++output) { in removeOutputTest()
147 [output](Request* request) { hidl_vec_removeAt(&request->outputs, output); }); in removeOutputTest()
/hardware/qcom/neuralnetworks/hvxservice/1.0/hexagon_nn_controller/
Dhexagon_nn_controller.h88 const hexagon_nn_input* inputs, unsigned int num_inputs, const hexagon_nn_output* outputs,
100 hexagon_nn_tensordef* outputs,
/hardware/libhardware/modules/usbcamera/
DCamera.cpp290 int outputs = 0; in isValidStreamSetLocked() local
302 outputs++; in isValidStreamSetLocked()
305 __func__, mId, outputs, inputs); in isValidStreamSetLocked()
306 if (outputs < 1) { in isValidStreamSetLocked()
/hardware/libhardware/modules/camera/3_0/
DCamera.cpp240 int outputs = 0; in isValidStreamSet() local
256 outputs++; in isValidStreamSet()
259 __func__, mId, outputs, inputs); in isValidStreamSet()
260 if (outputs < 1) { in isValidStreamSet()

123