mxnet
Public Member Functions | Protected Attributes | List of all members
mxnet::cpp::Uniform Class Reference

#include <initializer.h>

Inheritance diagram for mxnet::cpp::Uniform:
Inheritance graph
Collaboration diagram for mxnet::cpp::Uniform:
Collaboration graph

Public Member Functions

 Uniform (float scale)
 
 Uniform (float begin, float end)
 
void operator() (const std::string &name, NDArray *arr) override
 

Protected Attributes

float begin
 
float end
 

Additional Inherited Members

- Static Public Member Functions inherited from mxnet::cpp::Initializer
static bool StringStartWith (const std::string &name, const std::string &check_str)
 
static bool StringEndWith (const std::string &name, const std::string &check_str)
 
- Protected Member Functions inherited from mxnet::cpp::Initializer
virtual void InitBilinear (NDArray *arr)
 
virtual void InitZero (NDArray *arr)
 
virtual void InitOne (NDArray *arr)
 
virtual void InitBias (NDArray *arr)
 
virtual void InitGamma (NDArray *arr)
 
virtual void InitBeta (NDArray *arr)
 
virtual void InitWeight (NDArray *arr)
 
virtual void InitDefault (NDArray *arr)
 

Constructor & Destructor Documentation

mxnet::cpp::Uniform::Uniform ( float  scale)
inlineexplicit
mxnet::cpp::Uniform::Uniform ( float  begin,
float  end 
)
inline

Member Function Documentation

void mxnet::cpp::Uniform::operator() ( const std::string &  name,
NDArray arr 
)
inlineoverridevirtual

Reimplemented from mxnet::cpp::Initializer.

Member Data Documentation

float mxnet::cpp::Uniform::begin
protected
float mxnet::cpp::Uniform::end
protected

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