Poplar and PopLibs
ExprOpUtils.hpp
1
// Copyright (c) 2022 Graphcore Ltd. All rights reserved.
2
3
#ifndef _popops_ExprOpUtils_hpp_
4
#define _popops_ExprOpUtils_hpp_
5
6
#include <iosfwd>
7
8
#include <
popops/ExprOp.hpp
>
9
10
namespace
popops::expr {
11
namespace
ostream_ext {
12
13
std::ostream &
operator<<
(std::ostream &os,
const
UnaryOpType &t);
14
std::ostream &
operator<<
(std::ostream &os,
const
BinaryOpType &t);
15
std::ostream &
operator<<
(std::ostream &os,
const
TernaryOpType &t);
16
17
}
// end namespace ostream_ext
18
}
// end namespace popops::expr
19
20
#endif
// _popops_ExprOpUtils_hpp_
ExprOp.hpp
Operators used in expressions with elements of tensors.
popops::operator<<
std::ostream & operator<<(std::ostream &os, const Operation &op)
Write op to output stream os.
include
popops
ExprOpUtils.hpp
Generated by
1.9.3