Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::WithDefaultConstructor< Functor > Struct Template Reference

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)
 

Detailed Description

template<typename Functor>
struct caffe2::WithDefaultConstructor< Functor >

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 86 of file elementwise_op.h.


The documentation for this struct was generated from the following file: