Home
last modified time | relevance | path

Searched refs:weightsTensor (Results 1 – 9 of 9) sorted by relevance

/external/armnn/src/armnn/optimizations/
DFuseBatchNorm.hpp54 ConstTensor weightsTensor; in Run() local
61 weightsTensor = ConstTensor(weightLayer->m_LayerOutput->GetTensorInfo(), in Run()
65 auto weightsShape = weightsTensor.GetInfo().GetShape(); in Run()
74 const auto* weightsBuffer = static_cast<const T*>(weightsTensor.GetMemoryArea()); in Run()
80 … std::vector<T> weightsVector (weightsBuffer, weightsBuffer + weightsTensor.GetNumElements()); in Run()
126 ConstTensor fusedWeightsTensor(weightsTensor.GetInfo(), fusedWeightsVector); in Run()
/external/armnn/src/armnn/test/optimizations/
DConvertConstantsFloatToHalfTests.cpp91 armnn::ConstTensor weightsTensor(weightsInfo, &expectedWeightsData); variable
93 weights->m_LayerOutput = std::make_unique<armnn::ScopedTensorHandle>(weightsTensor);
/external/executorch/backends/apple/mps/runtime/operations/
DConvolutionOps.mm53weightsTensor:weightTransposeTensor
113 weightsTensor:weightTransposeTensor
/external/armnn/delegate/classic/src/
DFullyConnected.hpp176 auto weightsTensor = CreateConstTensor(&tfLiteWeightsTensor, in VisitFullyConnectedOperator() local
179 … armnn::IConnectableLayer* weightsLayer = delegateData.m_Network->AddConstantLayer(weightsTensor); in VisitFullyConnectedOperator()
/external/pytorch/aten/src/ATen/native/mps/
DMPSGraphVenturaOps.h58 weightsTensor:(MPSGraphTensor * _Nonnull) weights
63weightsTensor:(MPSGraphTensor * _Nonnull) weights
/external/pytorch/aten/src/ATen/native/mps/operations/
DConvolution.mm264 weightsTensor:weightTensor
285 weightsTensor:weightTransposeTensor
301 weightsTensor:weightTensor
472 weightsTensor:weightTensor
494weightsTensor:weightTransposeTensor
511 weightsTensor:weightTensor
/external/armnn/src/backends/backendsCommon/test/layerTests/
DTransposeConvolution2dTestImpl.cpp71 ScopedTensorHandle weightsTensor(weights.first); in TransposeConvolution2dTestImpl() local
75 queueDescriptor.m_Weight = &weightsTensor; in TransposeConvolution2dTestImpl()
77 AllocateAndCopyDataToITensorHandle(&weightsTensor, weights.second.data()); in TransposeConvolution2dTestImpl()
/external/executorch/backends/apple/mps/runtime/
DMPSDevice.mm77 …[mpsCD instancesRespondToSelector:@selector(convolution3DWithSourceTensor:weightsTensor:descriptor…
/external/armnn/src/armnnDeserializer/
DDeserializer.cpp1525 armnn::ConstTensor weightsTensor = ToConstTensor(flatBufferLayer->weights()); in ParseConvolution2d() local
1526 auto weightsLayer = m_Network->AddConstantLayer(weightsTensor); in ParseConvolution2d()
1528 weightsLayer->GetOutputSlot(0).SetTensorInfo(weightsTensor.GetInfo()); in ParseConvolution2d()
2231 armnn::ConstTensor weightsTensor = ToConstTensor(flatBufferLayer->weights()); in ParseFullyConnected() local
2232 auto weightsLayer = m_Network->AddConstantLayer(weightsTensor); in ParseFullyConnected()
2234 weightsLayer->GetOutputSlot(0).SetTensorInfo(weightsTensor.GetInfo()); in ParseFullyConnected()