20.11
|
Interface for NEON tensor. More...
#include <ITensor.h>
Public Member Functions | |
virtual ITensorInfo * | info () const =0 |
Interface to be implemented by the child class to return the tensor's metadata. More... | |
virtual ITensorInfo * | info ()=0 |
Interface to be implemented by the child class to return the tensor's metadata. More... | |
virtual | ~ITensor ()=default |
Default virtual destructor. More... | |
virtual uint8_t * | buffer () const =0 |
Interface to be implemented by the child class to return a pointer to CPU memory. More... | |
uint8_t * | ptr_to_element (const Coordinates &id) const |
Return a pointer to the element at the passed coordinates. More... | |
void | copy_from (const ITensor &src) |
Copy the content of another tensor. More... | |
void | print (std::ostream &s, IOFormatInfo io_fmt=IOFormatInfo()) const |
Print a tensor to a given stream using user defined formatting information. More... | |
bool | is_used () const |
Flags if the tensor is used or not. More... | |
void | mark_as_unused () const |
Marks a tensor as unused. More... | |
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Interface to be implemented by the child class to return a pointer to CPU memory.
Implemented in ICLTensor, GCTensor, IGCTensor, SubTensor, OperatorTensor, and Tensor.
Referenced by SubTensor::buffer(), Accessor::data(), arm_compute::utils::draw_detection_rectangle(), Iterator::Iterator(), NEDepthwiseConvolutionAssemblyDispatch::prepare(), ITensor::ptr_to_element(), CPPUpsampleKernel::run(), NEROIPoolingLayerKernel::run(), NEReorgLayerKernel::run(), NEDirectConvolutionLayerKernel::run(), NECannyEdge::run(), NEDepthwiseConvolutionAssemblyDispatch::run(), and arm_compute::run_reverse().
void copy_from | ( | const ITensor & | src | ) |
Copy the content of another tensor.
[in] | src | Source tensor to copy from. |
Definition at line 35 of file ITensor.cpp.
References ARM_COMPUTE_ERROR_ON, ITensorInfo::dimension(), TensorInfo::dimension(), Window::DimY, ITensorInfo::element_size(), TensorInfo::element_size(), arm_compute::execute_window_loop(), ITensor::info(), ITensorInfo::num_channels(), TensorInfo::num_channels(), ITensorInfo::num_dimensions(), TensorInfo::num_dimensions(), Iterator::ptr(), ITensorInfo::set_valid_region(), arm_compute::test::validation::src, arm_compute::test::validation::src_info, ITensorInfo::tensor_shape(), TensorInfo::tensor_shape(), Window::use_tensor_dimensions(), and TensorInfo::valid_region().
|
pure virtual |
Interface to be implemented by the child class to return the tensor's metadata.
Implemented in CLSubTensor, GCTensor, CLTensor, SubTensor, OperatorTensor, and Tensor.
Referenced by NumPyAccessor::access_tensor(), ImageAccessor::access_tensor(), ValidationInputAccessor::access_tensor(), ValidationOutputAccessor::access_tensor(), VerifyAccessor< D >::access_tensor(), DetectionOutputAccessor::access_tensor(), TopNPredictionsAccessor::access_tensor(), RandomAccessor::access_tensor(), ICLKernel::add_tensor_argument(), CLComparisonKernel::border_size(), IGCTensor::clear(), ICLTensor::clear(), arm_compute::utils::compare_tensor(), GCLogits1DMaxKernel::configure(), GCScaleKernel::configure(), GCTransposeKernel::configure(), CLIntegralImageHorKernel::configure(), NEScale::configure(), GCGEMMMatrixAccumulateBiasesKernel::configure(), CLMedian3x3Kernel::configure(), CLErodeKernel::configure(), CLGaussian3x3Kernel::configure(), CLTransposeKernel::configure(), CLWarpPerspectiveKernel::configure(), CLDilateKernel::configure(), CLBox3x3Kernel::configure(), CLNonMaximaSuppression3x3Kernel::configure(), CLScaleKernel::configure(), CPPDetectionOutputLayer::configure(), NELogicalAnd::configure(), CLWarpAffineKernel::configure(), NEReshapeLayer::configure(), NEDequantizationLayerKernel::configure(), NEFloorKernel::configure(), ICLSimpleKernel::configure(), NEIntegralImageKernel::configure(), IGCSimpleKernel::configure(), GCDepthwiseConvolutionLayer3x3Kernel::configure(), GCPixelWiseMultiplicationKernel::configure(), NEDilateKernel::configure(), NEErodeKernel::configure(), NEGaussian3x3Kernel::configure(), NEGaussianPyramidHorKernel::configure(), NELocallyConnectedMatrixMultiplyKernel::configure(), NEMedian3x3Kernel::configure(), NEReverseKernel::configure(), NELogits1DMaxKernel::configure(), NETileKernel::configure(), GCFillBorderKernel::configure(), GCGEMMMatrixAdditionKernel::configure(), GCNormalizationLayerKernel::configure(), GCPoolingLayerKernel::configure(), NEBatchToSpaceLayerKernel::configure(), NEBox3x3Kernel::configure(), NEChannelShuffleLayerKernel::configure(), NEConvertQuantizedSignednessKernel::configure(), NECopyKernel::configure(), CLFillBorderKernel::configure(), NEDepthToSpaceLayerKernel::configure(), NEGaussian5x5HorKernel::configure(), NEPriorBoxLayerKernel::configure(), NESpaceToDepthLayerKernel::configure(), GCAbsoluteDifferenceKernel::configure(), NETableLookupKernel::configure(), GCNormalizePlanarYUVLayerKernel::configure(), GCConcatenateLayer::configure(), NEFlattenLayerKernel::configure(), NEComputeAllAnchorsKernel::configure(), NEInstanceNormalizationLayerKernel::configure(), NEMemsetKernel::configure(), NEReorgLayerKernel::configure(), CPPTopKVKernel::configure(), NEThresholdKernel::configure(), NEUpsampleLayerKernel::configure(), INEWarpKernel::configure(), CLGEMMMatrixVectorMultiplyKernel::configure(), CLComparison::configure(), GCArithmeticAdditionKernel::configure(), GCGEMMTranspose1xWKernel::configure(), CLDequantizationLayerKernel::configure(), CLMinMaxLayerKernel::configure(), CLFloorKernel::configure(), NEFFTScaleKernel::configure(), NEFFTDigitReverseKernel::configure(), CLGaussianPyramidHorKernel::configure(), NEPoolingLayerKernel::configure(), NEQLSTMLayerNormalizationKernel::configure(), CLCopyKernel::configure(), NESpaceToBatchLayerKernel::configure(), CPPUpsampleKernel::configure(), CLDepthwiseConvolutionLayerReshapeWeightsKernel::configure(), NEElementwiseMax::configure(), NEBitwiseNotKernel::configure(), CLMaxUnpoolingLayerKernel::configure(), NEColorConvertKernel::configure(), CLChannelShuffleLayerKernel::configure(), CLFlattenLayerKernel::configure(), CLReverseKernel::configure(), NEHOGOrientationBinningKernel::configure(), NENormalizationLayerKernel::configure(), CPPPermuteKernel::configure(), NETransposeKernel::configure(), NEYOLOLayerKernel::configure(), GCActivationLayerKernel::configure(), GCBatchNormalizationLayerKernel::configure(), GCDepthConcatenateLayerKernel::configure(), GCDirectConvolutionLayerKernel< kernel_size >::configure(), GCConvolutionLayerReshapeWeights::configure(), NEBitwiseAndKernel::configure(), NEBitwiseOrKernel::configure(), NEBitwiseXorKernel::configure(), NEChannelExtractKernel::configure(), NEReduceMean::configure(), NEDerivativeKernel::configure(), CLSpaceToDepthLayerKernel::configure(), NEQuantizationLayerKernel::configure(), CLDepthToSpaceLayerKernel::configure(), CLRsqrtLayer::configure(), CLReshapeLayer::configure(), CPPBoxWithNonMaximaSuppressionLimit::configure(), NEAbsoluteDifferenceKernel::configure(), CLBatchToSpaceLayerKernel::configure(), NEAccumulateKernel::configure(), NERNNLayer::configure(), NEFastCornersKernel::configure(), NEMagnitudePhaseKernel< mag_type, phase_type >::configure(), NEMaxUnpoolingLayerKernel::configure(), NEMinMaxKernel::configure(), NENonMaximaSuppression3x3Kernel::configure(), NERangeKernel::configure(), NESobel5x5HorKernel::configure(), NESobel7x7HorKernel::configure(), CLDeconvolutionLayerUpsampleKernel::configure(), CLBitwiseAndKernel::configure(), CLComputeAllAnchorsKernel::configure(), CLBitwiseOrKernel::configure(), CLBitwiseXorKernel::configure(), CLLocallyConnectedMatrixMultiplyKernel::configure(), NEFFT2D::configure(), CLMemsetKernel::configure(), NESpaceToBatchLayer::configure(), CLNonLinearFilterKernel::configure(), CLNormalizationLayerKernel::configure(), NEElementwiseUnaryKernel::configure(), CLQLSTMLayerNormalizationKernel::configure(), CLFFTScaleKernel::configure(), NEFFTRadixStageKernel::configure(), CLGatherKernel::configure(), NEMeanStdDevNormalizationKernel::configure(), NENonLinearFilterKernel::configure(), CLUpsampleLayerKernel::configure(), CLSpaceToBatchLayerKernel::configure(), NEPermuteKernel::configure(), CPPBoxWithNonMaximaSuppressionLimitKernel::configure(), GCDropoutLayerKernel::configure(), CLReduceMean::configure(), GCLogits1DShiftExpSumKernel::configure(), CLGradientKernel::configure(), NEBoundingBoxTransformKernel::configure(), NEGradientKernel::configure(), NEReductionOperation::configure(), NEFillBorderKernel::configure(), CLComparisonKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleByFixedPointKernel::configure(), NEMinMaxLayerKernel::configure(), CLTileKernel::configure(), NEPadLayerKernel::configure(), NEScaleKernel::configure(), NEStackLayerKernel::configure(), GCGEMMMatrixMultiplyKernel::configure(), NEChannelCombineKernel::configure(), NEConvertFullyConnectedWeightsKernel::configure(), CLFFTDigitReverseKernel::configure(), CLChannelExtractKernel::configure(), CLPermuteKernel::configure(), NEDirectConvolutionLayerKernel::configure(), NEDirectConvolutionLayerOutputStageKernel::configure(), CLQuantizationLayerKernel::configure(), CLRemapKernel::configure(), NEGatherKernel::configure(), CLReorgLayerKernel::configure(), NEGEMMMatrixAdditionKernel::configure(), CLAbsoluteDifferenceKernel::configure(), NEReductionOperationKernel::configure(), NESelectKernel::configure(), CPPNonMaximumSuppressionKernel::configure(), CLHOGOrientationBinningKernel::configure(), CPPDetectionPostProcessLayer::configure(), NEDepthwiseConvolutionAssemblyDispatch::configure(), NEDepthwiseConvolutionLayer::configure(), NEFuseBatchNormalizationKernel::configure(), CLSobel3x3Kernel::configure(), NEGEMMMatrixMultiplyKernel::configure(), NEROIPoolingLayerKernel::configure(), CLDeconvolutionLayer::configure(), CLInstanceNormalizationLayerKernel::configure(), NECropResize::configure(), CLDerivativeKernel::configure(), CLMeanStdDevNormalizationKernel::configure(), NECropKernel::configure(), CLNormalizePlanarYUVLayerKernel::configure(), CLPoolingLayerKernel::configure(), CLRangeKernel::configure(), CLColorConvertKernel::configure(), CLSobel7x7HorKernel::configure(), CLSobel5x5HorKernel::configure(), CLLogits1DMaxShiftExpSumKernel::configure(), NEROIAlignLayerKernel::configure(), GCGEMMInterleave4x4Kernel::configure(), NEBatchNormalizationLayerKernel::configure(), CLPadLayerKernel::configure(), NEGEMMLowpMatrixMultiplyKernel::configure(), CLSelectKernel::configure(), NEDetectionPostProcessLayer::configure(), GCDirectConvolutionLayer::configure(), NEFFT1D::configure(), CLFFTRadixStageKernel::configure(), CLChannelCombineKernel::configure(), CLPriorBoxLayerKernel::configure(), CLReductionOperationKernel::configure(), CLConvertFullyConnectedWeightsKernel::configure(), NEScharr3x3Kernel::configure(), NESobel3x3Kernel::configure(), CLFFT2D::configure(), GCTensorShiftKernel::configure(), CLL2NormalizeLayerKernel::configure(), NEDepthConvertLayerKernel::configure(), CLCropKernel::configure(), CLBoundingBoxTransformKernel::configure(), CLRNNLayer::configure(), NEConvolutionLayerReshapeWeights::configure(), NEDepthwiseConvolutionLayerNativeKernel::configure(), NEGEMMLowpQuantizeDownInt32ScaleKernel::configure(), CLGEMMLowpMatrixMultiplyNativeKernel::configure(), CLMagnitudePhaseKernel::configure(), NEGEMMInterleave4x4Kernel::configure(), NEGEMMLowpOffsetContributionKernel::configure(), NEGEMMLowpQuantizeDownInt32ToInt16ScaleByFixedPointKernel::configure(), CLYOLOLayerKernel::configure(), CLFFT1D::configure(), NEGEMMConv2d::configure(), NEPadLayer::configure(), CLStackLayerKernel::configure(), CLDeconvolutionLayerUpsample::configure(), CLSpaceToBatchLayer::configure(), CLIntegralImageVertKernel::configure(), CLFastCornersKernel::configure(), NEGEMMLowpQuantizeDownInt32ToInt8ScaleByFixedPointKernel::configure(), NEGEMMLowpQuantizeDownInt32ToUint8ScaleByFixedPointKernel::configure(), CLDepthConvertLayerKernel::configure(), CLGEMMReshapeLHSMatrixKernel::configure(), CLDepthwiseConvolutionLayer3x3NCHWKernel::configure(), NELocallyConnectedLayer::configure(), CLArgMinMaxLayerKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleKernel::configure(), CLGEMMLowpQuantizeDownInt32ScaleByFloatKernel::configure(), CLDepthwiseConvolutionLayer3x3NHWCKernel::configure(), GCWeightsReshapeKernel::configure(), CLROIPoolingLayerKernel::configure(), NECol2ImKernel::configure(), GCCol2ImKernel::configure(), GCGEMM::configure(), NEWinogradConvolutionLayer::configure(), GCIm2ColKernel::configure(), CLPadLayer::configure(), NEConvolutionKernel< matrix_size >::configure(), NESoftmaxLayerGeneric< IS_LOG >::configure(), CLROIAlignLayerKernel::configure(), CLArgMinMaxLayer::configure(), CLDeconvolutionReshapeOutputKernel::configure(), CLReductionOperation::configure(), CLHarrisScoreKernel::configure(), CLScharr3x3Kernel::configure(), CLWinogradInputTransformKernel::configure(), NELaplacianPyramid::configure(), CLCol2ImKernel::configure(), CLFuseBatchNormalizationKernel::configure(), CLBatchNormalizationLayerKernel::configure(), CLWinogradFilterTransformKernel::configure(), CLGEMMMatrixMultiplyNativeKernel::configure(), NEWeightsReshapeKernel::configure(), CLConvolutionLayerReshapeWeights::configure(), CLGEMMMatrixMultiplyKernel::configure(), CLGEMMLowpMatrixMultiplyReshapedKernel::configure(), CLLaplacianPyramid::configure(), CLGEMMLowpOffsetContributionKernel::configure(), NEOpticalFlow::configure(), NEFFTConvolutionLayer::configure(), CLDepthwiseConvolutionLayer::configure(), NEGenerateProposalsLayer::configure(), NEGEMM::configure(), NEPReluLayer::configure(), CLWinogradOutputTransformKernel::configure(), NEGEMMAssemblyDispatch::configure(), NEIm2ColKernel::configure(), CLDepthwiseConvolutionLayerNativeKernel::configure(), NELogicalOr::configure(), GCFullyConnectedLayer::configure(), CLDirectConvolutionLayerKernel::configure(), CLSoftmaxLayerGeneric< IS_LOG >::configure(), CLLocallyConnectedLayer::configure(), NELaplacianReconstruct::configure(), NEGEMMTranspose1xWKernel::configure(), CLGEMMLowpOffsetContributionOutputStageKernel::configure(), CLCropResize::configure(), NEGaussianPyramidVertKernel::configure(), NEGEMMLowpOffsetContributionOutputStageKernel::configure(), CLWeightsReshapeKernel::configure(), NEGEMMLowpMatrixMultiplyCore::configure(), NEGaussian5x5VertKernel::configure(), CLLogicalNot::configure(), GCLogits1DNormKernel::configure(), NELSTMLayerQuantized::configure(), CLGEMMLowpMatrixMultiplyCore::configure(), CLLaplacianReconstruct::configure(), NELSTMLayer::configure(), CLGEMMReshapeRHSMatrixKernel::configure(), CLIm2ColKernel::configure(), CLWinogradConvolutionLayer::configure(), CLGaussianPyramidVertKernel::configure(), NEDeconvolutionLayer::configure(), CLHistogramBorderKernel::configure(), NESlice::configure(), CLLogicalOr::configure(), CLLogicalAnd::configure(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::configure(), CLComparisonStatic< COP >::configure(), CLFFTConvolutionLayer::configure(), NEAccumulateWeightedKernel::configure(), NEGEMMLowpMatrixAReductionKernel::configure(), NEConvolutionLayer::configure(), CLGEMMLowpMatrixAReductionKernel::configure(), NEElementwiseMin::configure(), CLPReluLayer::configure(), NEGaussianPyramidHalf::configure(), NEStridedSlice::configure(), CLExpLayer::configure(), NESobel5x5VertKernel::configure(), CLGenerateProposalsLayer::configure(), CLHOGBlockNormalizationKernel::configure(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::configure(), GCConvolutionLayer::configure(), CLEdgeNonMaxSuppressionKernel::configure(), CLGEMMDeconvolutionLayer::configure(), CLDirectDeconvolutionLayer::configure(), NESobel7x7VertKernel::configure(), CLSlice::configure(), NELogits1DSoftmaxKernel< IS_LOG >::configure(), NEQLSTMLayer::configure(), CLOpticalFlow::configure(), NEHOGBlockNormalizationKernel::configure(), CLLSTMLayerQuantized::configure(), CLCopyToArrayKernel::configure(), CLSobel5x5VertKernel::configure(), CLSobel7x7VertKernel::configure(), NEEdgeNonMaxSuppressionKernel::configure(), NELogicalNot::configure(), CLGEMMMatrixMultiplyReshapedKernel::configure(), CLConvolutionLayer::configure(), NEArithmeticSubtraction::configure(), NEArithmeticAddition::configure(), CLLogits1DNormKernel::configure(), NESeparableConvolutionHorKernel< matrix_size >::configure(), CLLKTrackerStage0Kernel::configure(), NEGaussianPyramidOrb::configure(), NEFullyConnectedLayer::configure(), CLLSTMLayer::configure(), CLNegLayer::configure(), NEElementwiseSquaredDiff::configure(), CLGEMMLowpMatrixBReductionKernel::configure(), CLGEMM::configure(), CLQLSTMLayer::configure(), NEGEMMLowpMatrixBReductionKernel::configure(), CLEdgeTraceKernel::configure(), NEAccumulateSquaredKernel::configure(), NEPixelWiseMultiplication::configure(), NEEdgeTraceKernel::configure(), CLFullyConnectedLayer::configure(), NESeparableConvolutionVertKernel< matrix_size >::configure(), CLLKTrackerStage1Kernel::configure(), NEGEMMConvolutionLayer::configure(), CLSinLayer::configure(), NEElementwiseDivision::configure(), CLConvolutionRectangleKernel::configure(), CLPixelWiseMultiplication::configure(), CLGEMMConvolutionLayer::configure(), NEComplexPixelWiseMultiplication::configure(), CLLogLayer::configure(), NEElementwisePower::configure(), NEConvolutionRectangleKernel::configure(), NEGEMMLowpOutputStage::configure(), CLAbsLayer::configure(), CLComplexPixelWiseMultiplication::configure(), NEElementwiseComparison::configure(), CLRoundLayer::configure(), NEElementwiseComparisonStatic< op >::configure(), CLArithmeticAddition::configure(), CLArithmeticSubtraction::configure(), CLArithmeticDivision::configure(), CLElementwiseMax::configure(), CLElementwiseMin::configure(), CLElementwiseSquaredDiff::configure(), CLElementwisePower::configure(), NECropKernel::configure_output_shape(), ITensor::copy_from(), arm_compute::graph::backends::detail::create_convolution_layer< GCConvolutionLayerFunctions, GCTargetInfo >(), arm_compute::graph::backends::detail::create_depthwise_convolution_layer< GCDepthwiseConvolutionLayerFunctions, GCTargetInfo >(), arm_compute::graph::backends::detail::create_detection_output_layer< CPPDetectionOutputLayer, CLTargetInfo >(), arm_compute::graph::backends::detail::create_detection_post_process_layer< CPPDetectionPostProcessLayer, CLTargetInfo >(), Accessor::data_layout(), Accessor::data_type(), arm_compute::utils::draw_detection_rectangle(), Accessor::element_size(), arm_compute::error_on_data_layout_not_in(), arm_compute::error_on_data_type_channel_not_in(), arm_compute::error_on_data_type_not_in(), arm_compute::error_on_mismatching_data_layouts(), arm_compute::error_on_mismatching_data_types(), arm_compute::error_on_mismatching_quantization_info(), arm_compute::error_on_mismatching_shapes(), arm_compute::error_on_tensor_not_2d(), arm_compute::error_on_unsupported_cpu_bf16(), arm_compute::error_on_unsupported_cpu_fp16(), arm_compute::error_on_unsupported_fp16(), Accessor::format(), arm_compute::graph::backends::detail::get_backing_tensor_info(), Iterator::Iterator(), Accessor::num_channels(), Accessor::num_elements(), get_tensor_info_t< ITensorInfo * >::operator()(), VerifyAccessor< D >::output_shape(), Accessor::padding(), NEDepthwiseConvolutionAssemblyDispatch::prepare(), CaffePreproccessor::preprocess(), TFPreproccessor::preprocess(), ITensor::ptr_to_element(), Accessor::quantization_info(), NEMinMaxKernel::reset(), CLMinMaxLayerKernel::reset(), NEMinMaxLayerKernel::reset(), GCDepthwiseConvolutionLayer3x3Kernel::run(), NEMemsetKernel::run(), CPPUpsampleKernel::run(), CLHistogramKernel::run(), NEHOGOrientationBinningKernel::run(), GCActivationLayerKernel::run(), CLMinMaxKernel::run(), NENonMaximaSuppression3x3Kernel::run(), NEDequantizationLayerKernel::run(), CPPDetectionOutputLayer::run(), NEMeanStdDevKernel::run(), NEHOGDetectorKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run(), NEFillBorderKernel::run(), NELocallyConnectedMatrixMultiplyKernel::run(), NETileKernel::run(), NESpaceToDepthLayerKernel::run(), CLDequantizationLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEChannelShuffleLayerKernel::run(), NEReverseKernel::run(), NECopyKernel::run(), NEROIPoolingLayerKernel::run(), GCPoolingLayerKernel::run(), CLGEMMMatrixVectorMultiplyKernel::run(), NEComputeAllAnchorsKernel::run(), GCArithmeticAdditionKernel::run(), NEFlattenLayerKernel::run(), NEReorgLayerKernel::run(), CPPTopKVKernel::run(), GCNormalizePlanarYUVLayerKernel::run(), CLFlattenLayerKernel::run(), GCTensorShiftKernel::run(), CLDeconvolutionLayerUpsampleKernel::run(), CLLocallyConnectedMatrixMultiplyKernel::run(), NEPoolingLayerKernel::run(), CLUpsampleLayerKernel::run(), CLQLSTMLayerNormalizationKernel::run(), NEConvertFullyConnectedWeightsKernel::run(), CLIntegralImageVertKernel::run(), CLComparisonKernel::run(), NEMinMaxLayerKernel::run(), CLInstanceNormalizationLayerKernel::run(), GCWeightsReshapeKernel::run(), CLMeanStdDevNormalizationKernel::run(), CLPoolingLayerKernel::run(), NEGEMMLowpMatrixMultiplyKernel::run(), GCCol2ImKernel::run(), CLROIPoolingLayerKernel::run(), NEFFTRadixStageKernel::run(), NEBoundingBoxTransformKernel::run(), NEStackLayerKernel::run(), GCGEMMMatrixMultiplyKernel::run(), NEWinogradConvolutionLayer::run(), NEDirectConvolutionLayerKernel::run(), CLMeanStdDevKernel::run(), NEGEMMMatrixMultiplyKernel::run(), GCBatchNormalizationLayerKernel::run(), CLPriorBoxLayerKernel::run(), CPPDetectionPostProcessLayer::run(), NEDepthConvertLayerKernel::run(), CLReductionOperationKernel::run(), NECannyEdge::run(), NEBatchToSpaceLayerKernel::run(), NEROIAlignLayerKernel::run(), NECropKernel::run(), NEGEMMLowpOffsetContributionKernel::run(), CLCropKernel::run(), CLStackLayerKernel::run(), CLLogits1DMaxShiftExpSumKernel::run(), CLArgMinMaxLayerKernel::run(), CLGEMMLowpMatrixMultiplyNativeKernel::run(), NESpaceToBatchLayerKernel::run(), CLGEMMReshapeLHSMatrixKernel::run(), CLCol2ImKernel::run(), NEWeightsReshapeKernel::run(), CLROIAlignLayerKernel::run(), NEDepthwiseConvolutionAssemblyDispatch::run(), CLWinogradInputTransformKernel::run(), CLWinogradFilterTransformKernel::run(), CLGEMMMatrixMultiplyKernel::run(), CLDirectConvolutionLayerKernel::run(), CLGEMMLowpMatrixMultiplyReshapedKernel::run(), CLColorConvertKernel::run(), CLGEMMMatrixMultiplyNativeKernel::run(), CLWeightsReshapeKernel::run(), CLWinogradOutputTransformKernel::run(), NEGEMMLowpOffsetContributionOutputStageKernel::run(), NESobel7x7VertKernel::run(), CLDepthwiseConvolutionLayerNativeKernel::run(), CLIm2ColKernel::run(), NEHOGBlockNormalizationKernel::run(), NEEdgeNonMaxSuppressionKernel::run(), CLGEMMLowpMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedOnlyRHSKernel::run(), CLGEMMMatrixMultiplyReshapedKernel::run(), NEEdgeTraceKernel::run(), CLGEMM::run(), NEConvolutionRectangleKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run_nmslimit(), arm_compute::run_reverse(), Accessor::shape(), Accessor::size(), and arm_compute::to_string().
|
pure virtual |
Interface to be implemented by the child class to return the tensor's metadata.
Implemented in CLSubTensor, GCTensor, CLTensor, SubTensor, OperatorTensor, and Tensor.
bool is_used | ( | ) | const |
Flags if the tensor is used or not.
Definition at line 163 of file ITensor.cpp.
Referenced by GCFullyConnectedLayer::prepare(), NELocallyConnectedLayer::prepare(), GCGEMM::prepare(), NEGEMM::prepare(), CLLocallyConnectedLayer::prepare(), NEFFTConvolutionLayer::prepare(), NEGEMMLowpMatrixMultiplyCore::prepare(), CLGEMMLowpMatrixMultiplyCore::prepare(), NEDeconvolutionLayer::prepare(), GCConvolutionLayer::prepare(), CLFFTConvolutionLayer::prepare(), CLWinogradConvolutionLayer::prepare(), CLGEMMDeconvolutionLayer::prepare(), CLDirectDeconvolutionLayer::prepare(), NEFullyConnectedLayer::prepare(), CLFullyConnectedLayer::prepare(), NEGEMMConvolutionLayer::prepare(), CLGEMMConvolutionLayer::prepare(), NETensorHandle::release_if_unused(), CLTensorHandle::release_if_unused(), and GCTensorHandle::release_if_unused().
void mark_as_unused | ( | ) | const |
Marks a tensor as unused.
Definition at line 168 of file ITensor.cpp.
Referenced by NEWinogradConvolutionLayer::prepare(), NEGEMMConv2d::prepare(), GCFullyConnectedLayer::prepare(), NELocallyConnectedLayer::prepare(), GCGEMM::prepare(), NEDepthwiseConvolutionAssemblyDispatch::prepare(), NEGEMM::prepare(), CLLocallyConnectedLayer::prepare(), NEFFTConvolutionLayer::prepare(), NEGEMMLowpMatrixMultiplyCore::prepare(), CLGEMMLowpMatrixMultiplyCore::prepare(), NEDeconvolutionLayer::prepare(), GCConvolutionLayer::prepare(), CLFFTConvolutionLayer::prepare(), CLWinogradConvolutionLayer::prepare(), CLGEMMDeconvolutionLayer::prepare(), CLDirectDeconvolutionLayer::prepare(), NELSTMLayerQuantized::prepare(), CLLSTMLayerQuantized::prepare(), NEFullyConnectedLayer::prepare(), NEQLSTMLayer::prepare(), CLGEMM::prepare(), CLFullyConnectedLayer::prepare(), NEGEMMConvolutionLayer::prepare(), CLQLSTMLayer::prepare(), CLGEMMConvolutionLayer::prepare(), and IWeightsManager::run().
void print | ( | std::ostream & | s, |
IOFormatInfo | io_fmt = IOFormatInfo() |
||
) | const |
Print a tensor to a given stream using user defined formatting information.
s | Output stream |
io_fmt | Format information |
Referenced by main().
|
inline |
Return a pointer to the element at the passed coordinates.
[in] | id | Coordinates of the element |
Definition at line 63 of file ITensor.h.
References ITensor::buffer(), ITensor::info(), and ITensorInfo::offset_element_in_bytes().
Referenced by CLGEMMLowpMatrixMultiplyCore::configure(), NECropKernel::configure_output_shape(), GCAccessor::operator()(), Accessor::operator()(), CLAccessor::operator()(), NEIntegralImageKernel::run(), NEMemsetKernel::run(), NEFastCornersKernel::run(), CPPDetectionOutputLayer::run(), NETileKernel::run(), NESpaceToDepthLayerKernel::run(), NEROIPoolingLayerKernel::run(), NEDepthToSpaceLayerKernel::run(), NEScharr3x3Kernel::run(), NESobel3x3Kernel::run(), CPPNonMaximumSuppressionKernel::run(), CPPDetectionPostProcessLayer::run(), NEBatchToSpaceLayerKernel::run(), NECropKernel::run(), NECropResize::run(), NESpaceToBatchLayerKernel::run(), NEWeightsReshapeKernel::run(), NESobel5x5VertKernel::run(), CPPBoxWithNonMaximaSuppressionLimitKernel::run_nmslimit(), and arm_compute::run_reverse().