aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/IGraphObservable.hpp
blob: f1779ec1da49583639f83ef8421d8b57127ad75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// 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
{

enum class GraphEvent
{
    LayerAdded,
    LayerErased
};

class IGraphObservable
{
public:
    virtual void Update(Layer* graphLayer) = 0;

protected:
    virtual ~IGraphObservable() = default;
};

} //namespace armnn