Poplar and PopLibs
GraphFunction.hpp File Reference

Definitions for reusing graph structures. More...

#include <poplar/DebugContext.hpp>
#include <poplar/Graph.hpp>
#include <poplar/Program.hpp>

Go to the source code of this file.

Namespaces

namespace  poputil
 General utility functions for building graphs.
 
namespace  poputil::graphfn
 Support for using poplar::Program objects like function calls.
 

Enumerations

enum  poputil::graphfn::ArgType
 Type of argument to function program.
 

Detailed Description

Definitions for reusing graph structures.

Since the graph structure takes up memory it is sometimes useful to re-apply the same graph structure for multiple different data items. The functions in this namespace provide a way to do this by treating graphs as reusable functions.