Dragon - C++ API
A Computation Graph Virtual Machine Based Deep Learning Framework
Public Member Functions | Protected Attributes | List of all members
dragon::Filler< T, Context > Class Template Referenceabstract

#include <filler.h>

Inheritance diagram for dragon::Filler< T, Context >:
dragon::ConstantFiller< T, Context > dragon::MSRAFiller< T, Context > dragon::NormalFiller< T, Context > dragon::TruncatedNormalFiller< T, Context > dragon::UniformFiller< T, Context > dragon::XavierFiller< T, Context >

Public Member Functions

 Filler (const TensorFillerProto &proto)
 
virtual void Fill (Tensor *X, Context *ctx)=0
 
TensorFillerProto & proto ()
 

Protected Attributes

TensorFillerProto proto_
 

Constructor & Destructor Documentation

◆ Filler()

template<typename T , class Context >
dragon::Filler< T, Context >::Filler ( const TensorFillerProto &  proto)
inline

Member Function Documentation

◆ Fill()

template<typename T , class Context >
virtual void dragon::Filler< T, Context >::Fill ( Tensor X,
Context *  ctx 
)
pure virtual

◆ proto()

template<typename T , class Context >
TensorFillerProto& dragon::Filler< T, Context >::proto ( )
inline

Member Data Documentation

◆ proto_

template<typename T , class Context >
TensorFillerProto dragon::Filler< T, Context >::proto_
protected

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