/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestValidateOperations.cpp | 76 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 D | TestValidateModel.cpp | 31 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 D | TestValidation.cpp | 401 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 D | TestOperandExtraParams.cpp | 45 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 D | TestNeuralNetworksWrapper.h | 397 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 D | TestFree.cpp | 35 ANeuralNetworksOperandType type = { in createUnfinishedModel()
|
H A D | TestUnknownDimensions.cpp | 275 return static_cast<ANeuralNetworksOperandType*>(nullptr); in TestOne()
|
/aosp12/packages/modules/NeuralNetworks/runtime/ |
H A D | ModelArgumentInfo.h | 41 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 D | ModelArgumentInfo.cpp | 37 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 D | ExecutionBuilder.h | 62 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 D | NeuralNetworks.cpp | 576 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 D | Memory.cpp | 51 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 D | ExecutionBuilder.cpp | 116 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 D | ModelBuilder.h | 45 int addOperand(const ANeuralNetworksOperandType& type);
|
H A D | Memory.h | 130 const ANeuralNetworksOperandType* type, uint32_t offset,
|
/aosp12/packages/modules/NeuralNetworks/runtime/include/ |
H A D | NeuralNetworks.h | 972 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 D | NeuralNetworksTypes.h | 6267 typedef struct ANeuralNetworksOperandType { struct 6304 } ANeuralNetworksOperandType; typedef
|
H A D | NeuralNetworksWrapper.h | 127 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 D | NeuralNetworksWrapperExtensions.h | 52 ANeuralNetworksOperandType operandType;
|
/aosp12/packages/modules/NeuralNetworks/shim_and_sl/public/ |
H A D | NeuralNetworksSupportLibraryImpl.h | 589 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 D | SupportLibraryWrapper.h | 514 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 D | UtilsTest.cpp | 86 ANeuralNetworksOperandType type = { in TEST() 108 ANeuralNetworksOperandType type = { in TEST() 125 ANeuralNetworksOperandType type = { in TEST()
|
H A D | LegacyUtils.cpp | 382 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 D | LegacyUtils.h | 194 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type); 234 int validateOperandType(const ANeuralNetworksOperandType& type,
|
/aosp12/packages/modules/NeuralNetworks/extensions/ |
H A D | README.md | 123 ANeuralNetworksOperandType operandType{
|