Home
last modified time | relevance | path

Searched refs:dims (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.cpp149 std::vector<uint32_t> dims = getAlignedDimensions(operand.dimensions, 4); in addOperand() local
150 HEXAGON_SOFT_ASSERT_NE(0ul, dims.size(), "Rank must be at most 4"); in addOperand()
152 createTensorInternal(dims[0], dims[1], dims[2], dims[3], operand.buffer, operand.length); in addOperand()
202 std::vector<uint32_t> dims = getAlignedDimensions(mOperands[operand].dimensions, 4); in createConvFilterTensor() local
203 HEXAGON_SOFT_ASSERT_NE(0ul, dims.size(), "Need at most 4 dimensions"); in createConvFilterTensor()
207 transpose<float>(dims[0], dims[1] * dims[2] * dims[3], in createConvFilterTensor()
209 return createTensorInternal(dims[1], dims[2], dims[3], dims[0], in createConvFilterTensor()
214 transpose<uint8_t>(dims[0], dims[1] * dims[2] * dims[3], in createConvFilterTensor()
216 return createTensorInternal(dims[1], dims[2], dims[3], dims[0], in createConvFilterTensor()
224 std::vector<uint32_t> dims = getAlignedDimensions(mOperands[operand].dimensions, 4); in createDepthwiseFilterTensor() local
[all …]
DHexagonUtils.cpp109 std::vector<uint32_t> getAlignedDimensions(const std::vector<uint32_t>& dims, uint32_t N) { in getAlignedDimensions() argument
111 N, dims.size(), in getAlignedDimensions()
112 "Error: constant data dimensions " << dims.size() << " exceeds alignment of " << N); in getAlignedDimensions()
113 std::vector<uint32_t> dimensions(N - dims.size(), 1); in getAlignedDimensions()
114 dimensions.insert(dimensions.end(), dims.begin(), dims.end()); in getAlignedDimensions()
192 hexagon_nn_output make_hexagon_nn_output(const std::vector<uint32_t>& dims, uint32_t size) { in make_hexagon_nn_output() argument
193 std::vector<uint32_t> alignedDims = getAlignedDimensions(dims, 4); in make_hexagon_nn_output()
DHexagonUtils.h72 std::vector<uint32_t> getAlignedDimensions(const std::vector<uint32_t>& dims, uint32_t N);
92 hexagon_nn_output make_hexagon_nn_output(const std::vector<uint32_t>& dims, uint32_t size);
DHexagonOperationsPrepare.cpp115 const int32_t dims = model->getShape(ins[0]).dimensions.size(); in concatenation() local
116 inputs[0] = model->createScalar<int32_t>(axis + (4 - dims)); in concatenation()
574 const int32_t dims = model->getShape(ins[0]).dimensions.size(); in concatenation() local
575 inputs[0] = model->createScalar<int32_t>(axis + (4 - dims)); in concatenation()
/hardware/interfaces/renderscript/1.0/default/
DContext.h129 …uint32_t slot, const hidl_vec<uint8_t>& data, Element ve, const hidl_vec<uint32_t>& dims) override;
DContext.cpp747 …ipt vs, uint32_t slot, const hidl_vec<uint8_t>& data, Element ve, const hidl_vec<uint32_t>& dims) { in scriptSetVarVE() argument
753 const uint32_t* _dimsPtr = dims.data(); in scriptSetVarVE()
754 size_t _dimLen = dims.size() * sizeof(uint32_t); in scriptSetVarVE()
/hardware/qcom/msm8x09/kernel-headers/linux/
Dvideodev2.h788 __u32 dims[V4L2_CTRL_MAX_DIMS]; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dvideodev2.h975 __u32 dims[V4L2_CTRL_MAX_DIMS]; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dvideodev2.h1397 __u32 dims[V4L2_CTRL_MAX_DIMS]; member
/hardware/qcom/msm8x09/original-kernel-headers/linux/
Dvideodev2.h1401 __u32 dims[V4L2_CTRL_MAX_DIMS]; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dvideodev2.h1085 __u32 dims[V4L2_CTRL_MAX_DIMS]; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dvideodev2.h1649 __u32 dims[V4L2_CTRL_MAX_DIMS]; member
/hardware/interfaces/renderscript/1.0/
DIContext.hal1144 * @param dims Collection of dimensions
1148 vec<uint32_t> dims);
/hardware/interfaces/neuralnetworks/1.2/
Dtypes.hal4313 * times. The output tensor's i-th dimension has `input.dims(i) * multiples[i]`