Narumol Prangnawarat | 867eba5 | 2020-02-03 12:29:56 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2020 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <backendsCommon/LayerSupportBase.hpp> |
| 9 | |
| 10 | namespace armnn |
| 11 | { |
| 12 | |
| 13 | class SampleDynamicLayerSupport : public LayerSupportBase |
| 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 |