Searched refs:operandValue (Results 1 – 5 of 5) sorted by relevance
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateModel.cpp | 613 Operand operandValue = model->operands[newOperation.outputs[outputNum]]; in mutateOperandAddWriterTest() local 614 operandValue.numberOfConsumers = 0; in mutateOperandAddWriterTest() 615 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest() 616 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest() 618 ASSERT_EQ(operandValue.lifetime, OperandLifeTime::TEMPORARY_VARIABLE); in mutateOperandAddWriterTest() 621 hidl_vec_push_back(&model->operands, operandValue); in mutateOperandAddWriterTest() 779 Operand operandValue = model->operands[outputOperandIndex]; in mutateOperationRemoveWriteTest() local 780 operandValue.numberOfConsumers = 0; in mutateOperationRemoveWriteTest() 781 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest() 782 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest() [all …]
|
/hardware/interfaces/neuralnetworks/1.1/vts/functional/ |
D | ValidateModel.cpp | 643 Operand operandValue = in mutateOperandAddWriterTest() local 645 operandValue.numberOfConsumers = 0; in mutateOperandAddWriterTest() 646 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest() 647 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest() 649 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest() 653 hidl_vec_push_back(&model->operands, operandValue); in mutateOperandAddWriterTest() 817 Operand operandValue = model->operands[outputOperandIndex]; in mutateOperationRemoveWriteTest() local 818 operandValue.numberOfConsumers = 0; in mutateOperationRemoveWriteTest() 819 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest() 820 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest() [all …]
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateModel.cpp | 711 Operand operandValue = in mutateOperandAddWriterTest() local 713 operandValue.numberOfConsumers = 0; in mutateOperandAddWriterTest() 714 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperandAddWriterTest() 715 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest() 717 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest() 721 hidl_vec_push_back(&model->operands, operandValue); in mutateOperandAddWriterTest() 958 Operand operandValue = model->operands[outputOperandIndex]; in mutateOperationRemoveWriteTest() local 959 operandValue.numberOfConsumers = 0; in mutateOperationRemoveWriteTest() 960 if (operandValue.lifetime == OperandLifeTime::MODEL_OUTPUT) { in mutateOperationRemoveWriteTest() 961 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest() [all …]
|
/hardware/interfaces/neuralnetworks/1.3/vts/functional/ |
D | ValidateModel.cpp | 739 Operand operandValue = in mutateOperandAddWriterTest() local 741 operandValue.numberOfConsumers = 0; in mutateOperandAddWriterTest() 742 if (operandValue.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateOperandAddWriterTest() 743 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest() 745 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest() 749 hidl_vec_push_back(&model->main.operands, operandValue); in mutateOperandAddWriterTest() 1026 Operand operandValue = model->main.operands[outputOperandIndex]; in mutateOperationRemoveWriteTest() local 1027 operandValue.numberOfConsumers = 0; in mutateOperationRemoveWriteTest() 1028 if (operandValue.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateOperationRemoveWriteTest() 1029 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | ValidateModel.cpp | 749 Operand operandValue = in mutateOperandAddWriterTest() local 751 if (operandValue.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateOperandAddWriterTest() 752 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperandAddWriterTest() 754 ASSERT_EQ(operandValue.lifetime, in mutateOperandAddWriterTest() 758 model->main.operands.push_back(operandValue); in mutateOperandAddWriterTest() 1036 Operand operandValue = model->main.operands[outputOperandIndex]; in mutateOperationRemoveWriteTest() local 1037 if (operandValue.lifetime == OperandLifeTime::SUBGRAPH_OUTPUT) { in mutateOperationRemoveWriteTest() 1038 operandValue.lifetime = OperandLifeTime::TEMPORARY_VARIABLE; in mutateOperationRemoveWriteTest() 1040 ASSERT_EQ(operandValue.lifetime, in mutateOperationRemoveWriteTest() 1044 model->main.operands.push_back(operandValue); in mutateOperationRemoveWriteTest()
|