/packages/modules/NeuralNetworks/runtime/test/ |
D | TestValidateOperations.cpp | 55 ANeuralNetworksOperandType getOpType(int32_t opcode, uint32_t dimCount = 0, in getOpType() 57 ANeuralNetworksOperandType opType = {.type = opcode, in getOpType() 73 OperandTypeWithExtraParams(const ANeuralNetworksOperandType& operandType) in OperandTypeWithExtraParams() 76 ANeuralNetworksOperandType operandType; 332 const std::vector<ANeuralNetworksOperandType>& validInputs, in OperationTestBase() 333 const std::vector<ANeuralNetworksOperandType>& validOutputs, in OperationTestBase() 336 for (ANeuralNetworksOperandType input : validInputs) { 339 for (ANeuralNetworksOperandType output : validOutputs) { 714 OperandTypeWithExtraParams operand{ANeuralNetworksOperandType{ in TEST() 731 OperandTypeWithExtraParams operand{ANeuralNetworksOperandType{ in TEST() [all …]
|
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 …]
|
D | TestValidation.cpp | 66 ANeuralNetworksOperandType operandType = { in addScalarOperand() 72 uint32_t addOperand(const ANeuralNetworksOperandType& operandType) { in addOperand() 82 ANeuralNetworksOperandType operandType = { in addTensorOperand() 120 const ANeuralNetworksOperandType kInvalidTensorType1{ 126 const ANeuralNetworksOperandType kInvalidTensorType2{ 175 ANeuralNetworksOperandType tensorType{.type = ANEURALNETWORKS_TENSOR_FLOAT32, in SetUp() 178 ANeuralNetworksOperandType scalarType{ in SetUp() 315 ANeuralNetworksOperandType operandType = { in addScalarOperand() 322 ANeuralNetworksOperandType operandType = { in addTensorOperand() 401 ANeuralNetworksOperandType floatType{ in TEST_F() [all …]
|
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()
|
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) {
|
D | TestFree.cpp | 35 ANeuralNetworksOperandType type = { in createUnfinishedModel()
|
D | TestUnknownDimensions.cpp | 275 return static_cast<ANeuralNetworksOperandType*>(nullptr); in TestOne()
|
/packages/modules/NeuralNetworks/runtime/include/ |
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,
|
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) {
|
D | NeuralNetworksTypes.h | 6267 typedef struct ANeuralNetworksOperandType { struct 6304 } ANeuralNetworksOperandType; typedef
|
D | NeuralNetworksWrapperExtensions.h | 52 ANeuralNetworksOperandType operandType;
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
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);
|
/packages/modules/NeuralNetworks/runtime/ |
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);
|
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()
|
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,
|
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() 1316 const ANeuralNetworksOperandType* type, const void* buffer, in ANeuralNetworksExecution_setInput() 1328 const ANeuralNetworksOperandType* type, in ANeuralNetworksExecution_setInputFromMemory() [all …]
|
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()
|
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()
|
D | ModelBuilder.h | 45 int addOperand(const ANeuralNetworksOperandType& type);
|
D | Memory.h | 130 const ANeuralNetworksOperandType* type, uint32_t offset,
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
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) {
|
/packages/modules/NeuralNetworks/common/ |
D | UtilsTest.cpp | 86 ANeuralNetworksOperandType type = { in TEST() 108 ANeuralNetworksOperandType type = { in TEST() 125 ANeuralNetworksOperandType type = { in TEST()
|
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 …]
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyUtils.h | 194 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type); 234 int validateOperandType(const ANeuralNetworksOperandType& type,
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 570 * ANeuralNetworksOperandType describes the type of an operand. 623 typedef struct ANeuralNetworksOperandType { 660 } ANeuralNetworksOperandType;
|