/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 | 73 ANeuralNetworksOperandType operandType = { in addScalarOperand() 79 uint32_t addOperand(const ANeuralNetworksOperandType& operandType) { in addOperand() 89 ANeuralNetworksOperandType operandType = { in addTensorOperand() 127 const ANeuralNetworksOperandType kInvalidTensorType1{ 133 const ANeuralNetworksOperandType kInvalidTensorType2{ 182 ANeuralNetworksOperandType tensorType{.type = ANEURALNETWORKS_TENSOR_FLOAT32, in SetUp() 185 ANeuralNetworksOperandType scalarType{ in SetUp() 328 ANeuralNetworksOperandType operandType = { in addScalarOperand() 335 ANeuralNetworksOperandType operandType = { in addTensorOperand() 414 ANeuralNetworksOperandType floatType{ in TEST_F() [all …]
|
D | TestOperandExtraParams.cpp | 45 ANeuralNetworksOperandType createOperand(int32_t dataType) { in createOperand() 119 ANeuralNetworksOperandType operandType = createOperand(dataType); in testAddingWithSymmPerChannelQuantParams() 242 ANeuralNetworksOperandType operandType = createOperand(dataType); in TEST_F() 250 ANeuralNetworksOperandType operandType = createOperand(dataType); in TEST_F()
|
D | TestNeuralNetworksWrapper.h | 399 const ANeuralNetworksOperandType* type = nullptr) { 406 const ANeuralNetworksOperandType* type = nullptr) { 412 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) { 418 const ANeuralNetworksOperandType* type = nullptr) { 424 Result setOutput(uint32_t index, T* value, const ANeuralNetworksOperandType* type = nullptr) { 430 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 | 977 const ANeuralNetworksOperandType* type) 1467 const ANeuralNetworksOperandType* type, const void* buffer, 1537 const ANeuralNetworksOperandType* type, 1602 const ANeuralNetworksOperandType* type, void* buffer, 1677 const ANeuralNetworksOperandType* type,
|
D | NeuralNetworksTypes.h | 6459 typedef struct ANeuralNetworksOperandType { struct 6496 } ANeuralNetworksOperandType; argument
|
D | NeuralNetworksWrapper.h | 127 ANeuralNetworksOperandType operandType; 632 const ANeuralNetworksOperandType* type = nullptr) { 638 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) { 644 const ANeuralNetworksOperandType* type = nullptr) { 650 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
|
D | NeuralNetworksWrapperExtensions.h | 52 ANeuralNetworksOperandType operandType;
|
/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 | 66 int setInput(uint32_t index, const ANeuralNetworksOperandType* type, const void* buffer, 68 int setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, 70 int setOutput(uint32_t index, const ANeuralNetworksOperandType* type, void* buffer, 72 int setOutputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type,
|
D | NeuralNetworks.cpp | 587 static_assert(offsetof(ANeuralNetworksOperandType, type) == 0, 589 static_assert(offsetof(ANeuralNetworksOperandType, dimensionCount) == 4, 591 static_assert(offsetof(ANeuralNetworksOperandType, dimensions) == 8, 593 static_assert(offsetof(ANeuralNetworksOperandType, scale) == 8 + sizeof(void*), 595 static_assert(offsetof(ANeuralNetworksOperandType, zeroPoint) == 12 + sizeof(void*), 597 static_assert(sizeof(ANeuralNetworksOperandType) == 16 + sizeof(void*), 599 static_assert(alignof(ANeuralNetworksOperandType) == alignof(void*), 1119 const ANeuralNetworksOperandType* type) { in ANeuralNetworksModel_addOperand() 1344 const ANeuralNetworksOperandType* type, const void* buffer, in ANeuralNetworksExecution_setInput() 1356 const ANeuralNetworksOperandType* type, in ANeuralNetworksExecution_setInputFromMemory() [all …]
|
D | Memory.cpp | 55 bool validate(const CompilationBuilder*, IOType, uint32_t, const ANeuralNetworksOperandType*, in validate() argument 79 const ANeuralNetworksOperandType*, uint32_t offset, in validate() argument 106 const ANeuralNetworksOperandType* type, uint32_t offset, in validate()
|
D | ExecutionBuilder.cpp | 117 static bool checkDimensionInfo(const Operand& operand, const ANeuralNetworksOperandType* newType, in checkDimensionInfo() 178 int ExecutionBuilder::setInput(uint32_t index, const ANeuralNetworksOperandType* type, in setInput() 212 int ExecutionBuilder::setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setInputFromMemory() 260 int ExecutionBuilder::setOutput(uint32_t index, const ANeuralNetworksOperandType* type, in setOutput() 293 int ExecutionBuilder::setOutputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setOutputFromMemory()
|
D | ModelBuilder.h | 46 int addOperand(const ANeuralNetworksOperandType& type);
|
D | Memory.h | 130 const ANeuralNetworksOperandType* type, uint32_t offset,
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 913 const ANeuralNetworksOperandType* type, 924 const ANeuralNetworksOperandType* type, 953 const ANeuralNetworksOperandType* type, void* buffer, 964 const ANeuralNetworksOperandType* type, 1099 const ANeuralNetworksOperandType* type);
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 528 const ANeuralNetworksOperandType* type = nullptr) { 535 const ANeuralNetworksOperandType* type = nullptr) { 541 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) { 547 const ANeuralNetworksOperandType* type = nullptr) { 553 Result setOutput(uint32_t index, T* value, const ANeuralNetworksOperandType* type = nullptr) { 559 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 | 354 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type) { in tensorHasUnspecifiedDimensions() 369 static bool validateScalarDimensions(const ANeuralNetworksOperandType& type, const char* tag) { in validateScalarDimensions() 375 static bool validateQuant8AsymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant8AsymmParams() 382 static bool validateQuant8AsymmSignedParams(const ANeuralNetworksOperandType& type, in validateQuant8AsymmSignedParams() 390 static bool validateQuant8SymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant8SymmParams() 396 static bool validateQuant16AsymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant16AsymmParams() 403 static bool validateQuantSymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuantSymmParams() 409 static bool validateNoQuantParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateNoQuantParams() 416 const ANeuralNetworksOperandType& type, in validateTensorDimensions() 440 const ANeuralNetworksOperandType& type, in validateOperandTypeHelper() [all …]
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyUtils.h | 192 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type); 212 int validateOperandType(const ANeuralNetworksOperandType& type,
|
/packages/modules/NeuralNetworks/tools/api/ |
D | NeuralNetworksTypes.t | 587 * ANeuralNetworksOperandType describes the type of an operand. 640 typedef struct ANeuralNetworksOperandType { 677 } ANeuralNetworksOperandType;
|