Home
last modified time | relevance | path

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

/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBuffer.cpp70 const auto aidlDimensions = NN_TRY(toSigned(dimensions)); in copyFrom()
DConversions.cpp739 return BufferDesc{.dimensions = NN_TRY(toSigned(bufferDesc.dimensions))}; in unvalidatedConvert()
790 return OutputShape{.dimensions = NN_TRY(toSigned(outputShape.dimensions)), in unvalidatedConvert()
860 .dimensions = NN_TRY(toSigned(operand.dimensions)), in unvalidatedConvert()
879 .inputs = NN_TRY(toSigned(operation.inputs)), in unvalidatedConvert()
880 .outputs = NN_TRY(toSigned(operation.outputs)), in unvalidatedConvert()
888 .inputIndexes = NN_TRY(toSigned(subgraph.inputIndexes)), in unvalidatedConvert()
889 .outputIndexes = NN_TRY(toSigned(subgraph.outputIndexes)), in unvalidatedConvert()
939 .dimensions = NN_TRY(toSigned(requestArgument.dimensions)), in unvalidatedConvert()
1089 nn::GeneralResult<std::vector<int32_t>> toSigned(const std::vector<uint32_t>& vec) { in toSigned() function
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DMemoryDomainTests.cpp554 auto badDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
573 auto badDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
714 testCopyFrom(buffer, memory, utils::toSigned(kTestOperand.dimensions).value(), in initializeDeviceMemory()
752 const auto goodDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
769 const auto goodDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
795 const auto goodDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
1181 utils::toSigned(kTestOperand.dimensions).value()); in TEST_P()
1185 auto badDimensions = utils::toSigned(kTestOperand.dimensions).value(); in TEST_P()
DGeneratedTestHarness.cpp207 .dimensions = utils::toSigned(op.dimensions).value(), in createSubgraph()
220 .inputs = utils::toSigned(op.inputs).value(), in createSubgraph()
221 .outputs = utils::toSigned(op.outputs).value()}; in createSubgraph()
226 .inputIndexes = utils::toSigned(testSubgraph.inputIndexes).value(), in createSubgraph()
227 .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.h188 nn::GeneralResult<std::vector<int32_t>> toSigned(const std::vector<uint32_t>& vec);