WithDefaultConstructor is a functor that can be used as the functor of an UnaryElementwiseWithArgsOp. More...
#include <elementwise_op.h>
Public Member Functions | |
WithDefaultConstructor (OperatorBase &) | |
template<typename In , typename Out , typename Context > | |
void | operator() (int n, const In *in, Out *out, Context *c) |
WithDefaultConstructor is a functor that can be used as the functor of an UnaryElementwiseWithArgsOp.
It simply forwards the operator() call into another functor that doesn't accept arguments in its constructor.
Definition at line 70 of file elementwise_op.h.