Searched refs:toSigned (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | Buffer.cpp | 70 const auto aidlDimensions = NN_TRY(toSigned(dimensions)); in copyFrom()
|
D | Conversions.cpp | 739 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/ |
D | MemoryDomainTests.cpp | 554 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()
|
D | GeneratedTestHarness.cpp | 207 .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()
|
D | QualityOfServiceTests.cpp | 264 utils::toSigned(testModel.main.operands[testModel.main.outputIndexes[i]].dimensions) in runExecutionTest()
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | Conversions.h | 188 nn::GeneralResult<std::vector<int32_t>> toSigned(const std::vector<uint32_t>& vec);
|