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

#include <initializer.h>

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

Public Member Functions

 Constant (float value)
 
void operator() (const std::string &name, NDArray *arr) override
 

Protected Attributes

float value
 

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::Constant::Constant ( float  value)
inlineexplicit

Member Function Documentation

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

Reimplemented from mxnet::cpp::Initializer.

Member Data Documentation

float mxnet::cpp::Constant::value
protected

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