#include <tc_op.h>
|
| TcOp (const OperatorDef &operator_def, Workspace *ws) |
|
| ~TcOp () override |
|
template<typename T , class Context , class Engine = DefaultEngine>
caffe2::TcOp< T, Context, Engine >::TcOp |
( |
const OperatorDef & |
operator_def, |
|
|
Workspace * |
ws |
|
) |
| |
|
inline |
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
void caffe2::TcOp< T, Context, Engine >::prepareOutputs |
( |
const std::vector< const DLTensor * > |
tensorInfo | ) |
|
|
inlineprotected |
template<typename T , class Context , class Engine = DefaultEngine>
virtual bool caffe2::TcOp< T, Context, Engine >::RunOnDevice |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
template<typename T , class Context , class Engine = DefaultEngine>
virtual void caffe2::TcOp< T, Context, Engine >::setupDefaultGradMappingOptions |
( |
| ) |
|
|
inlineprotectedvirtual |
Hook called when the gradMappingOptions are not provided in the Caffe2 operator arguments. Does nothing by default, derived classes can reimplement this to customize stategies.
template<typename T , class Context , class Engine = DefaultEngine>
virtual void caffe2::TcOp< T, Context, Engine >::setupNaiveMappingOptions |
( |
| ) |
|
|
inlineprotectedvirtual |
Hook called when the mappingOptions are not provided in the Caffe2 operator arguments. Does nothing by default, derived classes can reimplement this to customize stategies.
Reimplemented in caffe2::TcGroupConvolutionOp< T, Context, Engine >, caffe2::TcConvolutionOp< T, Context, Engine >, caffe2::TcCopyOp< T, Context, Engine >, caffe2::Tc2LUTOp< T, I, Context, Engine >, caffe2::TcLUTOp< T, I, Context, Engine >, caffe2::TcDperLutConcatOp< T, Context, Engine >, caffe2::TcMatMulOp< T, Context, Engine >, caffe2::Tc2FCReluOp< T, Context, Engine >, caffe2::Tc3FCReluOp< T, Context, Engine >, caffe2::Tc4FCReluOp< T, Context, Engine >, and caffe2::TcFCReluOp< T, Context, Engine >.
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
template<typename T , class Context , class Engine = DefaultEngine>
caffe2::TcOp< T, Context, Engine >::USE_OPERATOR_CONTEXT_FUNCTIONS |
The documentation for this class was generated from the following file: