Home
last modified time | relevance | path

Searched refs:toSigned (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBuffer.cpp69 const auto aidlDimensions = NN_TRY(toSigned(dimensions)); in copyFrom()
DConversions.cpp824 auto dimensions = NN_TRY(toSigned(bufferDesc.dimensions)); in unvalidatedConvert()
884 auto dimensions = NN_TRY(toSigned(outputShape.dimensions)); in unvalidatedConvert()
954 auto dimensions = NN_TRY(toSigned(operand.dimensions)); in unvalidatedConvert()
978 auto inputs = NN_TRY(toSigned(operation.inputs)); in unvalidatedConvert()
979 auto outputs = NN_TRY(toSigned(operation.outputs)); in unvalidatedConvert()
990 auto inputIndexes = NN_TRY(toSigned(subgraph.inputIndexes)); in unvalidatedConvert()
991 auto outputIndexes = NN_TRY(toSigned(subgraph.outputIndexes)); in unvalidatedConvert()
1062 auto dimensions = NN_TRY(toSigned(requestArgument.dimensions)); in unvalidatedConvert()
1246 nn::GeneralResult<std::vector<int32_t>> toSigned(const std::vector<uint32_t>& vec) { in toSigned() function
DValidateHal.cpp130 combinedOperand->dimensions = aidl_hal::utils::toSigned(dimensions).value(); in validateMemoryDesc()
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DMemoryDomainTests.cpp581 auto badDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
600 auto badDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
741 testCopyFrom(buffer, memory, utils::toSigned(kTestOperand.dimensions).value(), in initializeDeviceMemory()
779 const auto goodDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
796 const auto goodDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
822 const auto goodDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
1208 utils::toSigned(kTestOperand.dimensions).value()); in TEST_P()
1212 auto badDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
DGeneratedTestHarness.cpp250 .dimensions = utils::toSigned(op.dimensions).value(), in createSubgraph()
263 .inputs = utils::toSigned(op.inputs).value(), in createSubgraph()
264 .outputs = utils::toSigned(op.outputs).value()}; in createSubgraph()
269 .inputIndexes = utils::toSigned(testSubgraph.inputIndexes).value(), in createSubgraph()
270 .outputIndexes = utils::toSigned(testSubgraph.outputIndexes).value()}; in createSubgraph()
DQualityOfServiceTests.cpp264 utils::toSigned(testModel.main.operands[testModel.main.outputIndexes[i]].dimensions) in runExecutionTest()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DConversions.h222 nn::GeneralResult<std::vector<int32_t>> toSigned(const std::vector<uint32_t>& vec);