Poplar and PopLibs
|
Type to represent element expressions. More...
#include <Expr.hpp>
Inherited by popops::expr::ExprType< BinaryOp >, popops::expr::ExprType< Cast >, popops::expr::ExprType< Const >, popops::expr::ExprType< PlaceHolder >, popops::expr::ExprType< TernaryOp >, popops::expr::ExprType< UnaryOp >, and popops::expr::ExprType< T >.
Type to represent element expressions.
This class represents an expression that can be applied to elements of tensors.
The Expr type is an abstract type which can be instantiated by its sub-classes to build up expressions, for example: Tanh(Add(Square(_1), Const(3))))
.
Expressions can be applied to tensors with the popops::map() and popops::mapInPlace() functions.