24.08
IGraphObservable.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
7
#include "
Layer.hpp
"
8
9
namespace
armnn
10
{
11
12
enum class
GraphEvent
13
{
14
LayerAdded
,
15
LayerErased
16
};
17
18
class
IGraphObservable
19
{
20
public
:
21
virtual
void
Update
(
Layer
* graphLayer) = 0;
22
23
protected
:
24
virtual
~IGraphObservable
() =
default
;
25
};
26
27
}
//namespace armnn
28
armnn::IGraphObservable::~IGraphObservable
virtual ~IGraphObservable()=default
armnn::GraphEvent
GraphEvent
Definition:
IGraphObservable.hpp:12
armnn::GraphEvent::LayerAdded
@ LayerAdded
armnn::Layer
Definition:
Layer.hpp:230
armnn::IGraphObservable::Update
virtual void Update(Layer *graphLayer)=0
armnn::GraphEvent::LayerErased
@ LayerErased
armnn::IGraphObservable
Definition:
IGraphObservable.hpp:18
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition:
01_00_quick_start.dox:6
Layer.hpp
src
armnn
IGraphObservable.hpp
Generated on Wed Aug 28 2024 14:31:48 for Arm NN by
1.8.17