Home
last modified time | relevance | path

Searched refs:hexagon_nn_input (Results 1 – 8 of 8) sorted by relevance

/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.h61 hexagon_nn_input hexagon_input;
62 hexagon_nn_input hexagon_input_min;
63 hexagon_nn_input hexagon_input_max;
90 const hexagon_nn_input& getTensor(uint32_t operand);
91 const hexagon_nn_input& getQuantizationMin(uint32_t operand);
92 const hexagon_nn_input& getQuantizationMax(uint32_t operand);
93 hexagon_nn_input createQuantizationValue(uint32_t operand, int32_t quant_value);
94 hexagon_nn_input createConvFilterTensor(uint32_t operand);
95 hexagon_nn_input createDepthwiseFilterTensor(uint32_t operand, int32_t depth_multiplier);
96 hexagon_nn_input createFullyConnectedWeightTensor(uint32_t operand);
[all …]
DHexagonOperationsPrepare.cpp40 const hexagon_nn_input& in1 = model->getTensor(ins[0]); in add()
41 const hexagon_nn_input& in2 = model->getTensor(ins[1]); in add()
56 const hexagon_nn_input& input = model->getTensor(ins[0]); in average_pool_2d()
92 const hexagon_nn_input window = model->createShape(1, filter_height, filter_width, 1); in average_pool_2d()
93 const hexagon_nn_input stride = model->createShape(1, stride_height, stride_width, 1); in average_pool_2d()
108 std::vector<hexagon_nn_input> inputs(numInputTensors + 1); in concatenation()
129 const hexagon_nn_input& input = model->getTensor(ins[0]); in conv_2d()
130 const hexagon_nn_input filter = model->createConvFilterTensor(ins[1]); in conv_2d()
131 const hexagon_nn_input& bias = model->getTensor(ins[2]); in conv_2d()
162 const hexagon_nn_input stride = model->createShape(1, stride_height, stride_width, 1); in conv_2d()
[all …]
DHexagonModel.cpp133 hexagon_nn_input Model::createTensorInternal(uint32_t B, uint32_t H, uint32_t W, uint32_t D, in createTensorInternal()
142 hexagon_nn_input Model::createShape(uint32_t B, uint32_t H, uint32_t W, uint32_t D) { in createShape()
147 hexagon_nn_input Model::addOperand(uint32_t operandIndex) { in addOperand()
151 hexagon_nn_input result = in addOperand()
153 HEXAGON_SOFT_ASSERT_NE(hexagon_nn_input{}, result, "Failed to add operand"); in addOperand()
157 const hexagon_nn_input& Model::getTensor(uint32_t operand) { in getTensor()
158 hexagon_nn_input& tensor = mOperands[operand].hexagon_input; in getTensor()
159 if (tensor == hexagon_nn_input{}) { in getTensor()
165 const hexagon_nn_input& Model::getQuantizationMin(uint32_t operand) { in getQuantizationMin()
167 if (operandInfo.hexagon_input_min == hexagon_nn_input{}) { in getQuantizationMin()
[all …]
DHexagonUtils.h94 bool operator==(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs);
95 bool operator!=(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs);
105 std::string toString(const hexagon_nn_input& input);
122 const hexagon_nn_input& obj) {
DHexagonUtils.cpp171 bool operator==(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs) { in operator ==()
175 bool operator!=(const hexagon_nn_input& lhs, const hexagon_nn_input& rhs) { in operator !=()
245 std::string toString(const hexagon_nn_input& input) { in toString()
DHexagonController.h70 hexagon_nn_padding_type padding, const hexagon_nn_input* inputs,
DHexagonController.cpp127 hexagon_nn_padding_type padding, const hexagon_nn_input* inputs, in append_node()
/hardware/qcom/neuralnetworks/hvxservice/1.0/hexagon_nn_controller/
Dhexagon_nn_controller.h29 typedef struct hexagon_nn_input { struct
32 } hexagon_nn_input; argument
88 const hexagon_nn_input* inputs, unsigned int num_inputs, const hexagon_nn_output* outputs,