Home
last modified time | relevance | path

Searched refs:ANeuralNetworksOperandType (Results 1 – 25 of 29) sorted by relevance

12

/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestValidateOperations.cpp76 ANeuralNetworksOperandType operandType;
1032 ANeuralNetworksOperandType axis = { in argMinMaxTest()
1038 ANeuralNetworksOperandType output = { in argMinMaxTest()
1091 ANeuralNetworksOperandType axis = { in expandDimsTest()
1114 ANeuralNetworksOperandType axis = { in gatherTest()
1140 ANeuralNetworksOperandType input = { in quantizeOpTest()
1220 ANeuralNetworksOperandType axis = { in splitTest()
1225 ANeuralNetworksOperandType count = { in splitTest()
1382 ANeuralNetworksOperandType input1 = in TEST()
1748 ANeuralNetworksOperandType padSize = in padOpTest()
[all …]
H A DTestValidateModel.cpp31 ANeuralNetworksOperandType operand_0{}; in TEST_F()
37 ANeuralNetworksOperandType operand_1{}; in TEST_F()
43 ANeuralNetworksOperandType operand_2{}; in TEST_F()
51 ANeuralNetworksOperandType operand_3{}; in TEST_F()
59 ANeuralNetworksOperandType operand_4{}; in TEST_F()
67 ANeuralNetworksOperandType operand_5{}; in TEST_F()
75 ANeuralNetworksOperandType operand_6{}; in TEST_F()
83 ANeuralNetworksOperandType operand_7{}; in TEST_F()
91 ANeuralNetworksOperandType operand_8{}; in TEST_F()
99 ANeuralNetworksOperandType operand_9{}; in TEST_F()
[all …]
H A DTestValidation.cpp401 ANeuralNetworksOperandType floatType{ in TEST_F()
532 ANeuralNetworksOperandType type = { in TEST_F()
544 ANeuralNetworksOperandType type = { in TEST_F()
568 ANeuralNetworksOperandType floatType{ in TEST_F()
577 ANeuralNetworksOperandType floatType{ in TEST_F()
607 ANeuralNetworksOperandType floatType{ in TEST_F()
692 ANeuralNetworksOperandType floatType{ in TEST_F()
953 ANeuralNetworksOperandType tensorType{ in TEST_F()
955 ANeuralNetworksOperandType scalarType{ in TEST_F()
1000 ANeuralNetworksOperandType tensorType{ in TEST_F()
[all …]
H A DTestOperandExtraParams.cpp45 ANeuralNetworksOperandType createOperand(int32_t dataType) { in createOperand()
119 ANeuralNetworksOperandType operandType = createOperand(dataType); in testAddingWithSymmPerChannelQuantParams()
240 ANeuralNetworksOperandType operandType = createOperand(dataType); in TEST_F()
248 ANeuralNetworksOperandType operandType = createOperand(dataType); in TEST_F()
H A DTestNeuralNetworksWrapper.h397 const ANeuralNetworksOperandType* type = nullptr) {
404 const ANeuralNetworksOperandType* type = nullptr) {
410 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
416 const ANeuralNetworksOperandType* type = nullptr) {
422 Result setOutput(uint32_t index, T* value, const ANeuralNetworksOperandType* type = nullptr) {
428 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
H A DTestFree.cpp35 ANeuralNetworksOperandType type = { in createUnfinishedModel()
H A DTestUnknownDimensions.cpp275 return static_cast<ANeuralNetworksOperandType*>(nullptr); in TestOne()
/aosp12/packages/modules/NeuralNetworks/runtime/
H A DModelArgumentInfo.h41 const Operand& operand, const ANeuralNetworksOperandType* type,
45 const Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex,
111 int updateDimensionInfo(const Operand& operand, const ANeuralNetworksOperandType* newType);
H A DModelArgumentInfo.cpp37 const Operand& operand, const ANeuralNetworksOperandType* type, void* data, uint32_t length, in createFromPointer()
80 const Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex, in createFromMemory()
114 const ANeuralNetworksOperandType* newType) { in updateDimensionInfo()
H A DExecutionBuilder.h62 int setInput(uint32_t index, const ANeuralNetworksOperandType* type, const void* buffer,
64 int setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type,
66 int setOutput(uint32_t index, const ANeuralNetworksOperandType* type, void* buffer,
68 int setOutputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type,
H A DNeuralNetworks.cpp576 static_assert(offsetof(ANeuralNetworksOperandType, type) == 0,
578 static_assert(offsetof(ANeuralNetworksOperandType, dimensionCount) == 4,
580 static_assert(offsetof(ANeuralNetworksOperandType, dimensions) == 8,
582 static_assert(offsetof(ANeuralNetworksOperandType, scale) == 8 + sizeof(void*),
584 static_assert(offsetof(ANeuralNetworksOperandType, zeroPoint) == 12 + sizeof(void*),
586 static_assert(sizeof(ANeuralNetworksOperandType) == 16 + sizeof(void*),
588 static_assert(alignof(ANeuralNetworksOperandType) == alignof(void*),
1090 const ANeuralNetworksOperandType* type) { in ANeuralNetworksModel_addOperand()
1328 const ANeuralNetworksOperandType* type, in ANeuralNetworksExecution_setInputFromMemory()
1343 const ANeuralNetworksOperandType* type, void* buffer, in ANeuralNetworksExecution_setOutput()
[all …]
H A DMemory.cpp51 bool validate(const CompilationBuilder*, IOType, uint32_t, const ANeuralNetworksOperandType*, in validate() argument
75 const ANeuralNetworksOperandType*, uint32_t offset, in validate() argument
102 const ANeuralNetworksOperandType* type, uint32_t offset, in validate()
H A DExecutionBuilder.cpp116 static bool checkDimensionInfo(const Operand& operand, const ANeuralNetworksOperandType* newType, in checkDimensionInfo()
177 int ExecutionBuilder::setInput(uint32_t index, const ANeuralNetworksOperandType* type, in setInput()
211 int ExecutionBuilder::setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setInputFromMemory()
259 int ExecutionBuilder::setOutput(uint32_t index, const ANeuralNetworksOperandType* type, in setOutput()
292 int ExecutionBuilder::setOutputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setOutputFromMemory()
H A DModelBuilder.h45 int addOperand(const ANeuralNetworksOperandType& type);
H A DMemory.h130 const ANeuralNetworksOperandType* type, uint32_t offset,
/aosp12/packages/modules/NeuralNetworks/runtime/include/
H A DNeuralNetworks.h972 const ANeuralNetworksOperandType* type)
1462 const ANeuralNetworksOperandType* type, const void* buffer,
1532 const ANeuralNetworksOperandType* type,
1597 const ANeuralNetworksOperandType* type, void* buffer,
1672 const ANeuralNetworksOperandType* type,
H A DNeuralNetworksTypes.h6267 typedef struct ANeuralNetworksOperandType { struct
6304 } ANeuralNetworksOperandType; typedef
H A DNeuralNetworksWrapper.h127 ANeuralNetworksOperandType operandType;
619 const ANeuralNetworksOperandType* type = nullptr) {
625 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
631 const ANeuralNetworksOperandType* type = nullptr) {
637 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
H A DNeuralNetworksWrapperExtensions.h52 ANeuralNetworksOperandType operandType;
/aosp12/packages/modules/NeuralNetworks/shim_and_sl/public/
H A DNeuralNetworksSupportLibraryImpl.h589 const ANeuralNetworksOperandType* type,
600 const ANeuralNetworksOperandType* type,
629 const ANeuralNetworksOperandType* type, void* buffer,
640 const ANeuralNetworksOperandType* type,
775 const ANeuralNetworksOperandType* type);
/aosp12/packages/modules/NeuralNetworks/shim_and_sl/include/
H A DSupportLibraryWrapper.h514 const ANeuralNetworksOperandType* type = nullptr) {
521 const ANeuralNetworksOperandType* type = nullptr) {
527 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
533 const ANeuralNetworksOperandType* type = nullptr) {
539 Result setOutput(uint32_t index, T* value, const ANeuralNetworksOperandType* type = nullptr) {
545 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
/aosp12/packages/modules/NeuralNetworks/common/
H A DUtilsTest.cpp86 ANeuralNetworksOperandType type = { in TEST()
108 ANeuralNetworksOperandType type = { in TEST()
125 ANeuralNetworksOperandType type = { in TEST()
H A DLegacyUtils.cpp382 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type) { in tensorHasUnspecifiedDimensions()
401 static bool validateScalarDimensions(const ANeuralNetworksOperandType& type, const char* tag) { in validateScalarDimensions()
407 static bool validateQuant8AsymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant8AsymmParams()
414 static bool validateQuant8AsymmSignedParams(const ANeuralNetworksOperandType& type, in validateQuant8AsymmSignedParams()
422 static bool validateQuant8SymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant8SymmParams()
428 static bool validateQuant16AsymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant16AsymmParams()
435 static bool validateQuantSymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuantSymmParams()
441 static bool validateNoQuantParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateNoQuantParams()
448 const ANeuralNetworksOperandType& type, in validateTensorDimensions()
472 const ANeuralNetworksOperandType& type, in validateOperandTypeHelper()
[all …]
/aosp12/packages/modules/NeuralNetworks/common/include/
H A DLegacyUtils.h194 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type);
234 int validateOperandType(const ANeuralNetworksOperandType& type,
/aosp12/packages/modules/NeuralNetworks/extensions/
H A DREADME.md123 ANeuralNetworksOperandType operandType{

12