blob: 5c3883021d1733648f5a1e3baf63afd39bb8733b [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#pragma once
#include <Layer.hpp>
namespace armnn
{
class ConvertFp32ToFp16Layer : public Layer
{
public:
virtual std::unique_ptr<IWorkload> CreateWorkload(const Graph& graph,
const IWorkloadFactory& factory) const override;
ConvertFp32ToFp16Layer* Clone(Graph& graph) const override;
void ValidateTensorShapesFromInputs() override;
protected:
ConvertFp32ToFp16Layer(const char* name);
~ConvertFp32ToFp16Layer() = default;
};
} // namespace