Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp56 ANeuralNetworksOperandType getOpType(int32_t opcode, uint32_t dimCount = 0, in getOpType()
58 ANeuralNetworksOperandType opType = {.type = opcode, in getOpType()
74 OperandTypeWithExtraParams(const ANeuralNetworksOperandType& operandType) in OperandTypeWithExtraParams()
77 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 …]
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 …]
DTestValidation.cpp62 ANeuralNetworksOperandType operandType = { in addScalarOperand()
68 uint32_t addOperand(const ANeuralNetworksOperandType& operandType) { in addOperand()
78 ANeuralNetworksOperandType operandType = { in addTensorOperand()
116 const ANeuralNetworksOperandType kInvalidTensorType1{
122 const ANeuralNetworksOperandType kInvalidTensorType2{
171 ANeuralNetworksOperandType tensorType{.type = ANEURALNETWORKS_TENSOR_FLOAT32, in SetUp()
174 ANeuralNetworksOperandType scalarType{ in SetUp()
311 ANeuralNetworksOperandType operandType = { in addScalarOperand()
318 ANeuralNetworksOperandType operandType = { in addTensorOperand()
395 ANeuralNetworksOperandType floatType{ in TEST_F()
[all …]
DTestOperandExtraParams.cpp44 ANeuralNetworksOperandType createOperand(int32_t dataType) { in createOperand()
118 ANeuralNetworksOperandType operandType = createOperand(dataType); in testAddingWithSymmPerChannelQuantParams()
239 ANeuralNetworksOperandType operandType = createOperand(dataType); in TEST_F()
247 ANeuralNetworksOperandType operandType = createOperand(dataType); in TEST_F()
DTestNeuralNetworksWrapper.h353 const ANeuralNetworksOperandType* type = nullptr) {
360 const ANeuralNetworksOperandType* type = nullptr) {
366 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
372 const ANeuralNetworksOperandType* type = nullptr) {
378 Result setOutput(uint32_t index, T* value, const ANeuralNetworksOperandType* type = nullptr) {
384 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
DTestFree.cpp35 ANeuralNetworksOperandType type = { in createUnfinishedModel()
DTestUnknownDimensions.cpp270 return static_cast<ANeuralNetworksOperandType*>(nullptr); in TestOne()
DTestUnspecifiedDimensions.cpp256 ANeuralNetworksOperandType* t = in setInOut()
/frameworks/ml/nn/runtime/
DModelArgumentInfo.h41 const hal::Operand& operand, const ANeuralNetworksOperandType* type,
44 const hal::Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex,
91 int updateDimensionInfo(const hal::Operand& operand, const ANeuralNetworksOperandType* newType);
DModelArgumentInfo.cpp39 const Operand& operand, const ANeuralNetworksOperandType* type, void* data, in createFromPointer()
72 const Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex, in createFromMemory()
96 const ANeuralNetworksOperandType* newType) { in updateDimensionInfo()
DExecutionBuilder.h55 int setInput(uint32_t index, const ANeuralNetworksOperandType* type, const void* buffer,
57 int setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type,
59 int setOutput(uint32_t index, const ANeuralNetworksOperandType* type, void* buffer,
61 int setOutputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type,
DNeuralNetworks.cpp570 static_assert(offsetof(ANeuralNetworksOperandType, type) == 0,
572 static_assert(offsetof(ANeuralNetworksOperandType, dimensionCount) == 4,
574 static_assert(offsetof(ANeuralNetworksOperandType, dimensions) == 8,
576 static_assert(offsetof(ANeuralNetworksOperandType, scale) == 8 + sizeof(void*),
578 static_assert(offsetof(ANeuralNetworksOperandType, zeroPoint) == 12 + sizeof(void*),
580 static_assert(sizeof(ANeuralNetworksOperandType) == 16 + sizeof(void*),
582 static_assert(alignof(ANeuralNetworksOperandType) == alignof(void*),
1065 const ANeuralNetworksOperandType* type) { in ANeuralNetworksModel_addOperand()
1284 const ANeuralNetworksOperandType* type, const void* buffer, in ANeuralNetworksExecution_setInput()
1296 const ANeuralNetworksOperandType* type, in ANeuralNetworksExecution_setInputFromMemory()
[all …]
DExecutionBuilder.cpp57 static bool checkDimensionInfo(const Operand& operand, const ANeuralNetworksOperandType* newType, in checkDimensionInfo()
131 int ExecutionBuilder::setInput(uint32_t index, const ANeuralNetworksOperandType* type, in setInput()
163 int ExecutionBuilder::setInputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setInputFromMemory()
208 int ExecutionBuilder::setOutput(uint32_t index, const ANeuralNetworksOperandType* type, in setOutput()
240 int ExecutionBuilder::setOutputFromMemory(uint32_t index, const ANeuralNetworksOperandType* type, in setOutputFromMemory()
DMemory.cpp54 bool validate(const CompilationBuilder*, IOType, uint32_t, const ANeuralNetworksOperandType*, in validate() argument
78 const ANeuralNetworksOperandType*, uint32_t offset, in validate() argument
105 const ANeuralNetworksOperandType* type, uint32_t offset, in validate()
DModelBuilder.h45 int addOperand(const ANeuralNetworksOperandType& type);
DMemory.h129 const ANeuralNetworksOperandType* type, uint32_t offset,
DModelBuilder.cpp63 int ModelBuilder::addOperand(const ANeuralNetworksOperandType& type) { in addOperand()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h6212 typedef struct ANeuralNetworksOperandType { struct
6249 } ANeuralNetworksOperandType; argument
7207 const ANeuralNetworksOperandType* type) __INTRODUCED_IN(27);
7690 const ANeuralNetworksOperandType* type, const void* buffer,
7738 const ANeuralNetworksOperandType* type,
7786 const ANeuralNetworksOperandType* type, void* buffer,
7839 const ANeuralNetworksOperandType* type,
DNeuralNetworksWrapper.h110 ANeuralNetworksOperandType operandType;
435 const ANeuralNetworksOperandType* type = nullptr) {
441 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
447 const ANeuralNetworksOperandType* type = nullptr) {
453 uint32_t length, const ANeuralNetworksOperandType* type = nullptr) {
DNeuralNetworksWrapperExtensions.h50 ANeuralNetworksOperandType operandType;
/frameworks/ml/nn/common/
DUtilsTest.cpp79 ANeuralNetworksOperandType type = { in TEST()
101 ANeuralNetworksOperandType type = { in TEST()
118 ANeuralNetworksOperandType type = { in TEST()
DUtils.cpp420 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type) { in tensorHasUnspecifiedDimensions()
511 static bool validateScalarDimensions(const ANeuralNetworksOperandType& type, const char* tag) { in validateScalarDimensions()
517 static bool validateQuant8AsymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant8AsymmParams()
524 static bool validateQuant8AsymmSignedParams(const ANeuralNetworksOperandType& type, in validateQuant8AsymmSignedParams()
532 static bool validateQuant8SymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant8SymmParams()
538 static bool validateQuant16AsymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuant16AsymmParams()
545 static bool validateQuantSymmParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateQuantSymmParams()
551 static bool validateNoQuantParams(const ANeuralNetworksOperandType& type, const char* tag) { in validateNoQuantParams()
558 const ANeuralNetworksOperandType& type, in validateTensorDimensions()
582 const ANeuralNetworksOperandType& type, in validateOperandTypeHelper()
[all …]
/frameworks/ml/nn/tools/api/
DNeuralNetworks.t585 * ANeuralNetworksOperandType describes the type of an operand.
638 typedef struct ANeuralNetworksOperandType {
675 } ANeuralNetworksOperandType;
1625 * @param type The {@link ANeuralNetworksOperandType} that describes the shape
1626 * of the operand. Neither the {@link ANeuralNetworksOperandType}
1633 const ANeuralNetworksOperandType* type) __INTRODUCED_IN(27);
2099 * @param type The {@link ANeuralNetworksOperandType} of the
2106 * passed. Neither the {@link ANeuralNetworksOperandType}
2116 const ANeuralNetworksOperandType* type, const void* buffer,
2146 * @param type The {@link ANeuralNetworksOperandType} of the
[all …]
/frameworks/ml/nn/common/include/
DUtils.h310 bool tensorHasUnspecifiedDimensions(const ANeuralNetworksOperandType* type);
376 const ANeuralNetworksOperandType& type,
/frameworks/ml/nn/extensions/
DREADME.md123 ANeuralNetworksOperandType operandType{