Home
last modified time | relevance | path

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

12345678910>>...33

/dports/misc/mnn/MNN-1.2.0/source/geometry/
H A DGeometryCosineSimilarity.cpp45 tmpInput0.reset(Tensor::createDevice<float>({outside, channel, inside}, dimType)); in onCompute()
70 tmpInput1.reset(Tensor::createDevice<float>({outside, channel, inside}, dimType)); in onCompute()
96 tmpInput0x0.reset(Tensor::createDevice<float>({outside, channel, inside}, dimType)); in onCompute()
109 tmpInput0x1.reset(Tensor::createDevice<float>({outside, channel, inside}, dimType)); in onCompute()
122 tmpInput1x1.reset(Tensor::createDevice<float>({outside, channel, inside}, dimType)); in onCompute()
132 sumValue0x0.reset(Tensor::createDevice<float>({outside, 1, inside}, dimType)); in onCompute()
142 sumValue0x1.reset(Tensor::createDevice<float>({outside, 1, inside}, dimType)); in onCompute()
152 sumValue1x1.reset(Tensor::createDevice<float>({outside, 1, inside}, dimType)); in onCompute()
164 mulValue0x0_1x1.reset(Tensor::createDevice<float>({outside, 1, inside}, dimType)); in onCompute()
192 sqrtMulValue.reset(Tensor::createDevice<float>({outside, 1, inside}, dimType)); in onCompute()
[all …]
H A DGeometryLSTM.cpp718 std::shared_ptr<Tensor> icfo(Tensor::createDevice<float>({batchSize, 4 * hiddenSize})); in onCompute()
724 std::shared_ptr<Tensor> iTensor(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
725 std::shared_ptr<Tensor> fTensor(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
726 std::shared_ptr<Tensor> ciTensor(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
727 std::shared_ptr<Tensor> oTensor(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
747 std::shared_ptr<Tensor> ffTensor(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
790 std::shared_ptr<Tensor> csTensor(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
795 std::shared_ptr<Tensor> ci_i(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
796 std::shared_ptr<Tensor> cs_prev_f(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
805 std::shared_ptr<Tensor> upValue(Tensor::createDevice<float>({batchSize, hiddenSize})); in onCompute()
[all …]
H A DGeometryLRN.cpp47 … std::shared_ptr<Tensor> broadCastScale(Tensor::createDevice<float>({outside, axis, inside})); in computeForNormalize()
73 std::shared_ptr<Tensor> inputRaw(Tensor::createDevice<float>({outside, axis, inside})); in computeForNormalize()
75 … std::shared_ptr<Tensor> inputRawSquare(Tensor::createDevice<float>({outside, axis, inside})); in computeForNormalize()
80 std::shared_ptr<Tensor> summer(Tensor::createDevice<float>({outside, 1, inside})); in computeForNormalize()
84 std::shared_ptr<Tensor> temp0(Tensor::createDevice<float>({outside, 1, inside})); in computeForNormalize()
86 std::shared_ptr<Tensor> temp1(Tensor::createDevice<float>({outside, 1, inside})); in computeForNormalize()
92 std::shared_ptr<Tensor> scaleFirst(Tensor::createDevice<float>({outside, axis, inside})); in computeForNormalize()
114 std::shared_ptr<Tensor> output0(Tensor::createDevice<float>({outside, axis, inside})); in computeForNormalize()
116 std::shared_ptr<Tensor> output1(Tensor::createDevice<float>({outside, axis, inside})); in computeForNormalize()
H A DGeometryConv2D.cpp189 std::shared_ptr<Tensor> dest(Tensor::createDevice<float>({ic, batch * ih * iw})); in computeGEMM_Col2Im()
211 std::shared_ptr<Tensor> kernel(Tensor::createDevice<float>({ic, oc * kw * kh})); in computeGEMM_Col2Im()
218 std::shared_ptr<Tensor> C(Tensor::createDevice<float>({oc * kw * kh, batch * ih * iw})); in computeGEMM_Col2Im()
225 std::shared_ptr<Tensor> C_(Tensor::createDevice<float>({batch, kw * kh, oc * oh * ow})); in computeGEMM_Col2Im()
228 … std::shared_ptr<Tensor> im2ColTemp(Tensor::createDevice<float>({oc * kw * kh, batch * ih * iw})); in computeGEMM_Col2Im()
243 std::shared_ptr<Tensor> C__(Tensor::createDevice<float>({batch, 1, oc * oh * ow})); in computeGEMM_Col2Im()
249 … std::shared_ptr<Tensor> biasLarge(Tensor::createDevice<float>({batch, 1, oc * oh * ow})); in computeGEMM_Col2Im()
267 std::shared_ptr<Tensor> temp(Tensor::createDevice<float>({batch, 1, oh * ow * oc})); in computeGEMM_Col2Im()
H A DGeometryPooling3D.cpp54 …transposeInput.reset(Tensor::createDevice<float>({batch*inputDepth, channel, inputHeight, inputWid… in onCompute()
81 …pool2dTmp1.reset(Tensor::createDevice<float>({batch*inputDepth, channel, outputHeight, outputWidth… in onCompute()
93 …transposeTmp1.reset(Tensor::createDevice<float>({batch, channel, inputDepth, outputHeight*outputWi… in onCompute()
120 …pool2dTmp2.reset(Tensor::createDevice<float>({batch, channel, outputDepth, outputHeight*outputWidt… in onCompute()
H A DGeometryReduce.cpp32 Tensor::createDevice({outside, axis, inside}, inputs[0]->getType(), dimType)); in onCompute()
38 Tensor::createDevice({outside, 1, inside}, inputs[0]->getType(), dimType)); in onCompute()
/dports/misc/kde-thumbnailer-fb2/kde-thumbnailer-fb2-0.3.1/
H A Dfb2.h34 virtual QIODevice* createDevice() = 0;
45 QIODevice* createDevice();
57 QIODevice* createDevice();
H A Dfb2.cpp35 QIODevice* OpenFb2::createDevice() { in createDevice() function in fb2::OpenFb2
53 QIODevice* OpenZippedFb2::createDevice() { in createDevice() function in fb2::OpenZippedFb2
62 … device = (static_cast<const KZipFileEntry*>(dir->entry(fileList.at(i))))->createDevice(); in createDevice()
/dports/misc/mnn/MNN-1.2.0/backupcode/geometry/
H A DGeometrySoftmax.cpp66 tmpInput.reset(Tensor::createDevice<float>({outside, channel, inside})); in onCompute()
92 maxValue.reset(Tensor::createDevice<float>({outside, 1, inside})); in onCompute()
100 maxBroadValue.reset(Tensor::createDevice<float>({outside, channel, inside})); in onCompute()
126 subMaxValue.reset(Tensor::createDevice<float>({outside, channel, inside})); in onCompute()
134 expValue.reset(Tensor::createDevice<float>({outside, channel, inside})); in onCompute()
144 sumValue.reset(Tensor::createDevice<float>({outside, 1, inside})); in onCompute()
152 sumBroadValue.reset(Tensor::createDevice<float>({outside, channel, inside})); in onCompute()
178 tmpOutput.reset(Tensor::createDevice<float>({outside, channel, inside})); in onCompute()
/dports/devel/emscripten/emscripten-2.0.3/tests/unistd/
H A Dio.out25 open read-only device from createDevice for read, errno: 0
26 open read-only device from createDevice for write, errno: 2
27 open write-only device from createDevice for read, errno: 2
28 open write-only device from createDevice for write, errno: 0
/dports/devel/kf5-solid/solid-5.89.0/autotests/
H A Dfakehardwaretest.cpp27 QObject *computer = fakeManager->createDevice("/org/kde/solid/fakehw/computer"); in QTEST_MAIN()
29 QVERIFY(fakeManager->createDevice("/com/helloworld/troll/compiutor") == nullptr); in QTEST_MAIN()
31 …evice = static_cast<Solid::Backends::Fake::FakeDevice *>(fakeManager->createDevice("/org/kde/solid… in QTEST_MAIN()
/dports/devel/kio-extras/kio-extras-21.12.3/thumbnail/
H A Debookcreator.cpp67 zipDevice.reset(entry->createDevice()); in create()
94 zipDevice.reset(entry->createDevice()); in createEpub()
116 zipDevice.reset(entry->createDevice()); in createEpub()
181 zipDevice.reset(entry->createDevice()); in createEpub()
198 zipDevice.reset(entry->createDevice()); in createEpub()
220 zipDevice.reset(entry->createDevice()); in createEpub()
H A Dkritacreator.cpp53 std::unique_ptr<QIODevice> fileDevice{entry->createDevice()}; in create()
63 fileDevice.reset(entry->createDevice()); in create()
/dports/misc/mnn/MNN-1.2.0/test/core/
H A DBackendTest.cpp140 …std::shared_ptr<Tensor> deviceTensor(Tensor::createDevice<uint8_t>(std::vector<int>{1, 224, 224, 3… in nhwc_2_nhwc_uint8()
174 …std::shared_ptr<Tensor> deviceTensor(Tensor::createDevice<T>(std::vector<int>{1, 224, 224, 8}, Ten… in NC4HW4_2_NC4HW4_IntType()
193 Tensor::createDevice<T>(std::vector<int>{1, 8, 224, 224}, Tensor::TENSORFLOW)); in NC4HW4_2_NC4HW4_IntType()
220 …std::shared_ptr<Tensor> deviceTensor_pre(Tensor::createDevice<float>(nhwc_shape, Tensor::CAFFE_C4)… in NC4HW4_2_NC4HW4_float()
224 std::shared_ptr<Tensor> deviceTensor(Tensor::createDevice<float>(nhwc_shape, Tensor::CAFFE_C4)); in NC4HW4_2_NC4HW4_float()
249 Tensor::createDevice<float>(nchw_shape, Tensor::TENSORFLOW)); in NC4HW4_2_NC4HW4_float()
273 …std::shared_ptr<Tensor> deviceTensor(Tensor::createDevice<uint8_t>(std::vector<int>{1, 224, 224, 8… in NC4HW4_2_NC4HW4_uint8()
303 …std::shared_ptr<Tensor> deviceTensor(Tensor::createDevice<float>(std::vector<int>{1, 224, 224, 3})… in nhwc_2_nhwc_float()
331 …std::shared_ptr<Tensor> deviceTensor(Tensor::createDevice<float>(std::vector<int>{1, 224, 224, 7})… in nchw_2_nchw_float()
419 Tensor::createDevice<float>(std::vector<int>{1, 3, 224, 224}, Tensor::CAFFE_C4)); in nchw_2_NC4HW4_2_nchw_float()
[all …]
/dports/misc/mnn/MNN-1.2.0/source/backend/cpu/compute/
H A DDenseConvolutionTiledExecutor.cpp44 mResource->mWeight.reset(Tensor::createDevice<uint8_t>( in DenseConvolutionTiledExecutor()
46 …std::shared_ptr<Tensor> cache(Tensor::createDevice<uint8_t>({outputCount * srcCount * common->kern… in DenseConvolutionTiledExecutor()
126 mTempWeight.reset(Tensor::createDevice<float>( in onResize()
129 mTempWeightCache.reset(Tensor::createDevice<int32_t>({2, outputCount * kernelSize})); in onResize()
131 mTempWeightCache.reset(Tensor::createDevice<float>({outputCount * kernelSize})); in onResize()
142 …mTempBias.reset(Tensor::createDevice<float>({UP_DIV(outputCount, function->pack) * function->pack}… in onResize()
H A DSparseConvolutionTiledExecutor.cpp60 mResource->mWeight.reset(Tensor::createDevice<uint8_t>( in SparseConvolutionTiledExecutor()
62 …std::shared_ptr<Tensor> cache(Tensor::createDevice<uint8_t>({static_cast<int>(outputCount * lSize … in SparseConvolutionTiledExecutor()
64 …mNNZMap.reset(Tensor::createDevice<unsigned int>({outputCount / sparseBlockOC + outputCount % spar… in SparseConvolutionTiledExecutor()
65 mDataOffsetMap.reset(Tensor::createDevice<int>({static_cast<int>(weightBlockNumber + 1)})); in SparseConvolutionTiledExecutor()
H A DConvolutionFloatFactory.cpp75 …tempInput.reset(Tensor::createDevice<float>({1, conv2d->common()->inputCount(), ih, iw}, Tensor::C… in create()
76 …tempOutput.reset(Tensor::createDevice<float>({1, conv2d->common()->outputCount(), oh, ow}, Tensor:… in create()
126 …std::shared_ptr<Tensor> emptyInput(Tensor::createDevice<float>(inputs[0]->shape(), Tensor::CAFFE)); in create()
127 …std::shared_ptr<Tensor> emptyOutput(Tensor::createDevice<float>(outputs[0]->shape(), Tensor::CAFFE… in create()
/dports/misc/mnn/MNN-1.2.0/backupcode/cpubackend/
H A DBlstmComputer.cpp88 mWeights.push_back(shared_ptr<Tensor>(Tensor::createDevice<float>( in importWeights()
93 mWeights.push_back(shared_ptr<Tensor>(Tensor::createDevice<float>( in importWeights()
99 Tensor::createDevice<float>(vector<int>{mStateSize}, Tensor::CAFFE))); in importWeights()
144 mHiddenStates.push_back(shared_ptr<Tensor>(Tensor::createDevice<float>( in onResize()
147 mCellStates.push_back(shared_ptr<Tensor>(Tensor::createDevice<float>( in onResize()
156 mInput.reset(Tensor::createDevice<float>( in onResize()
169 mGateInputs.push_back(shared_ptr<Tensor>(Tensor::createDevice<float>( in onResize()
172 mGateOutputs.push_back(shared_ptr<Tensor>(Tensor::createDevice<float>( in onResize()
178 mOutput.reset(Tensor::createDevice<float>( in onResize()
H A DCPUBatchMatMul.cpp28 …mMatrixA.reset(Tensor::createDevice<float>({input0->length(input0->dimensions()-2), input0->length… in onResize()
29 …mMatrixB.reset(Tensor::createDevice<float>({input1->length(input1->dimensions()-2), input1->length… in onResize()
30 …mMatrixC.reset(Tensor::createDevice<float>({output->length(output->dimensions()-2), output->length… in onResize()
/dports/comms/qt5-serialbus/kde-qtserialbus-5.15.2p2/src/serialbus/
H A Dqcanbusfactory.h50 virtual QCanBusDevice *createDevice(const QString &interfaceName,
61 virtual QCanBusDevice *createDevice(const QString &interfaceName,
H A Dqcanbus.cpp209 QCanBusDevice *QCanBus::createDevice(const QString &plugin, const QString &interfaceName, in createDevice() function in QCanBus
218 return factoryV2->createDevice(interfaceName, errorMessage); in createDevice()
222 return factory->createDevice(interfaceName, errorMessage); in createDevice()
/dports/graphics/okular/okular-21.12.3/generators/comicbook/
H A Ddocument.cpp192 dev.reset(entry->createDevice()); in pages()
195 dev.reset(mDirectory->createDevice(file)); in pages()
197 dev.reset(mUnrar->createDevice(file)); in pages()
235 std::unique_ptr<QIODevice> dev(entry->createDevice()); in pageImage()
/dports/misc/mnn/MNN-1.2.0/demo/android/app/includes/MNN/
H A DTensor.hpp93 …static Tensor* createDevice(const std::vector<int>& shape, halide_type_t type, DimensionType dimTy…
103 static Tensor* createDevice(const std::vector<int>& shape, DimensionType dimType = TENSORFLOW) { in createDevice() function in MNN::Tensor
104 return createDevice(shape, halide_type_of<T>(), dimType); in createDevice()
/dports/misc/mnn/MNN-1.2.0/include/MNN/
H A DTensor.hpp84 …static Tensor* createDevice(const std::vector<int>& shape, halide_type_t type, DimensionType dimTy…
94 static Tensor* createDevice(const std::vector<int>& shape, DimensionType dimType = TENSORFLOW) { in createDevice() function in MNN::Tensor
95 return createDevice(shape, halide_type_of<T>(), dimType); in createDevice()
/dports/misc/mnn/MNN-1.2.0/source/backend/cuda/execution/
H A DCUDALoop.cpp75 C.reset(Tensor::createDevice<float>({e, h})); in onResize()
77 A.reset(Tensor::createDevice<float>({l, e})); in onResize()
79 A.reset(Tensor::createDevice<float>({e, l})); in onResize()
82 B.reset(Tensor::createDevice<float>({h, l})); in onResize()
84 B.reset(Tensor::createDevice<float>({l, h})); in onResize()
91 Bias.reset(Tensor::createDevice<float>({h})); in onResize()

12345678910>>...33