ArmNN
 21.02
INetwork.hpp File Reference
#include <armnn/BackendOptions.hpp>
#include <armnn/Deprecated.hpp>
#include <armnn/DescriptorsFwd.hpp>
#include <armnn/ILayerVisitor.hpp>
#include <armnn/IStrategy.hpp>
#include <armnn/NetworkFwd.hpp>
#include <armnn/Optional.hpp>
#include <armnn/TensorFwd.hpp>
#include <armnn/Types.hpp>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  IInputSlot
 An input connection slot for a layer. More...
 
class  IOutputSlot
 An output connection slot for a layer. More...
 
class  IConnectableLayer
 Interface for a layer that is connectable to other layers via InputSlots and OutputSlots. More...
 
struct  OptimizerOptions
 
class  INetwork
 Main network class which provides the interface for building up a neural network. More...
 
class  IOptimizedNetwork
 

Namespaces

 armnn
 Copyright (c) 2021 ARM Limited and Contributors.
 

Typedefs

using INetworkPtr = std::unique_ptr< INetwork, void(*)(INetwork *network)>
 
using IOptimizedNetworkPtr = std::unique_ptr< IOptimizedNetwork, void(*)(IOptimizedNetwork *network)>
 

Functions

IOptimizedNetworkPtr Optimize (const INetwork &network, const std::vector< BackendId > &backendPreferences, const IDeviceSpec &deviceSpec, const OptimizerOptions &options=OptimizerOptions(), Optional< std::vector< std::string > &> messages=EmptyOptional())
 Create an optimized version of the network. More...