Poplar and PopLibs
Operation.hpp
Go to the documentation of this file.
1// Copyright (c) 2019 Graphcore Ltd. All rights reserved.
8#ifndef popops_Operation_hpp
9#define popops_Operation_hpp
10
12#include <iosfwd>
13
14namespace popops {
15
19std::istream &operator>>(std::istream &is, Operation &op);
20
24std::ostream &operator<<(std::ostream &os, const Operation &op);
25
26} // End namespace popops
27
28#endif // popops_Operation_hpp
Define types of operations used in Reduce/MultiUpdate.
Common functions, such as elementwise and reductions.
Definition: AllTrue.hpp:15
std::ostream & operator<<(std::ostream &os, const Operation &op)
Write op to output stream os.
Operation
Type of operation to use in a reduction.
Definition: OperationDef.hpp:15
std::istream & operator>>(std::istream &is, Operation &op)
Parse token from input stream is to op.