ArmNN
 22.08
EthosnRefLayerSupport.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 #pragma once
6 
8 
9 namespace armnn
10 {
11 
13 {
14 public:
15  bool IsConvolution2dSupported(const TensorInfo& input,
16  const TensorInfo& output,
18  const TensorInfo& weights,
21 
23  const TensorInfo& output,
24  const DepthwiseConvolution2dDescriptor& descriptor,
25  const TensorInfo& weights,
26  const Optional<TensorInfo>& biases,
28 
30  const TensorInfo& output,
31  const TransposeConvolution2dDescriptor& descriptor,
32  const TensorInfo& weights,
33  const Optional<TensorInfo>& biases,
35 
36 
37  bool IsPooling2dSupported(const TensorInfo& input,
38  const TensorInfo& output,
39  const Pooling2dDescriptor& descriptor,
41 
42 };
43 
44 } // namespace armnn
A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer.
const TensorInfo & output
A Convolution2dDescriptor for the Convolution2dLayer.
const TensorInfo const ActivationDescriptor Optional< std::string & > reasonIfUnsupported
bool IsTransposeConvolution2dSupported(const TensorInfo &input, const TensorInfo &output, const TransposeConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
Copyright (c) 2021 ARM Limited and Contributors.
const TensorInfo const ActivationDescriptor & descriptor
bool IsConvolution2dSupported(const TensorInfo &input, const TensorInfo &output, const Convolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsPooling2dSupported(const TensorInfo &input, const TensorInfo &output, const Pooling2dDescriptor &descriptor, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsDepthwiseConvolutionSupported(const TensorInfo &input, const TensorInfo &output, const DepthwiseConvolution2dDescriptor &descriptor, const TensorInfo &weights, const Optional< TensorInfo > &biases, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
EmptyOptional is used to initialize the Optional class in case we want to have default value for an O...
Definition: Optional.hpp:32
const TensorInfo const Convolution2dDescriptor const TensorInfo const Optional< TensorInfo > & biases
A Pooling2dDescriptor for the Pooling2dLayer.
const TensorInfo const Convolution2dDescriptor const TensorInfo & weights
A DepthwiseConvolution2dDescriptor for the DepthwiseConvolution2dLayer.