ArmNN
 20.05
SampleDynamicLayerSupport.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
9 
10 namespace armnn
11 {
12 
14 {
15 public:
16  bool IsAdditionSupported(const TensorInfo& input0,
17  const TensorInfo& input1,
18  const TensorInfo& output,
19  Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const override;
20 
21  bool IsInputSupported(const TensorInfo& input,
22  Optional<std::string&> reasonIfUnsupported) const override;
23 
24  bool IsOutputSupported(const TensorInfo& output,
25  Optional<std::string&> reasonIfUnsupported) const override;
26 };
27 
28 } // namespace armnn
Copyright (c) 2020 ARM Limited.
bool IsAdditionSupported(const TensorInfo &input0, const TensorInfo &input1, const TensorInfo &output, Optional< std::string &> reasonIfUnsupported=EmptyOptional()) const override
bool IsInputSupported(const TensorInfo &input, Optional< std::string &> reasonIfUnsupported) const override
bool IsOutputSupported(const TensorInfo &output, Optional< std::string &> reasonIfUnsupported) 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