#include <nnet-blstm-projected.h>
Public Member Functions | |
BlstmProjected (int32 input_dim, int32 output_dim) | |
~BlstmProjected () | |
Component * | Copy () const |
Copy component (deep copy),. More... | |
ComponentType | GetType () const |
Get Type Identification of the component,. More... | |
void | InitData (std::istream &is) |
Initialize the content of the component by the 'line' from the prototype,. More... | |
void | ReadData (std::istream &is, bool binary) |
Reads the component content. More... | |
void | WriteData (std::ostream &os, bool binary) const |
Writes the component content. More... | |
int32 | NumParams () const |
Number of trainable parameters,. More... | |
void | GetGradient (VectorBase< BaseFloat > *gradient) const |
Get gradient reshaped as a vector,. More... | |
void | GetParams (VectorBase< BaseFloat > *params) const |
Get the trainable parameters reshaped as a vector,. More... | |
void | SetParams (const VectorBase< BaseFloat > ¶ms) |
Set the trainable parameters from, reshaped as a vector,. More... | |
std::string | Info () const |
Print some additional info (after <ComponentName> and the dims),. More... | |
std::string | InfoGradient () const |
Print some additional info about gradient (after <...> and dims),. More... | |
void | PropagateFnc (const CuMatrixBase< BaseFloat > &in, CuMatrixBase< BaseFloat > *out) |
Abstract interface for propagation/backpropagation. More... | |
void | BackpropagateFnc (const CuMatrixBase< BaseFloat > &in, const CuMatrixBase< BaseFloat > &out, const CuMatrixBase< BaseFloat > &out_diff, CuMatrixBase< BaseFloat > *in_diff) |
Backward pass transformation (to be implemented by descending class...) More... | |
void | Update (const CuMatrixBase< BaseFloat > &input, const CuMatrixBase< BaseFloat > &diff) |
Compute gradient and update parameters,. More... | |
Public Member Functions inherited from MultistreamComponent | |
MultistreamComponent (int32 input_dim, int32 output_dim) | |
bool | IsMultistream () const |
Check if component has 'Recurrent' interface (trainable and recurrent),. More... | |
virtual void | SetSeqLengths (const std::vector< int32 > &sequence_lengths) |
int32 | NumStreams () const |
virtual void | ResetStreams (const std::vector< int32 > &stream_reset_flag) |
Optional function to reset the transfer of context (not used for BLSTMs. More... | |
Public Member Functions inherited from UpdatableComponent | |
UpdatableComponent (int32 input_dim, int32 output_dim) | |
virtual | ~UpdatableComponent () |
bool | IsUpdatable () const |
Check if contains trainable parameters,. More... | |
virtual void | SetTrainOptions (const NnetTrainOptions &opts) |
Set the training options to the component,. More... | |
const NnetTrainOptions & | GetTrainOptions () const |
Get the training options from the component,. More... | |
virtual void | SetLearnRateCoef (BaseFloat val) |
Set the learn-rate coefficient,. More... | |
virtual void | SetBiasLearnRateCoef (BaseFloat val) |
Set the learn-rate coefficient for bias,. More... | |
Public Member Functions inherited from Component | |
Component (int32 input_dim, int32 output_dim) | |
Generic interface of a component,. More... | |
virtual | ~Component () |
int32 | InputDim () const |
Get the dimension of the input,. More... | |
int32 | OutputDim () const |
Get the dimension of the output,. More... | |
void | Propagate (const CuMatrixBase< BaseFloat > &in, CuMatrix< BaseFloat > *out) |
Perform forward-pass propagation 'in' -> 'out',. More... | |
void | Backpropagate (const CuMatrixBase< BaseFloat > &in, const CuMatrixBase< BaseFloat > &out, const CuMatrixBase< BaseFloat > &out_diff, CuMatrix< BaseFloat > *in_diff) |
Perform backward-pass propagation 'out_diff' -> 'in_diff'. More... | |
void | Write (std::ostream &os, bool binary) const |
Write the component to a stream,. More... | |
Additional Inherited Members | |
Public Types inherited from Component | |
enum | ComponentType { kUnknown = 0x0, kUpdatableComponent = 0x0100, kAffineTransform, kLinearTransform, kConvolutionalComponent, kLstmProjected, kBlstmProjected, kRecurrentComponent, kActivationFunction = 0x0200, kSoftmax, kHiddenSoftmax, kBlockSoftmax, kSigmoid, kTanh, kParametricRelu, kDropout, kLengthNormComponent, kTranform = 0x0400, kRbm, kSplice, kCopy, kTranspose, kBlockLinearity, kAddShift, kRescale, kKlHmm = 0x0800, kSentenceAveragingComponent, kSimpleSentenceAveragingComponent, kAveragePoolingComponent, kMaxPoolingComponent, kFramePoolingComponent, kParallelComponent, kMultiBasisComponent } |
Component type identification mechanism,. More... | |
Static Public Member Functions inherited from Component | |
static const char * | TypeToMarker (ComponentType t) |
Converts component type to marker,. More... | |
static ComponentType | MarkerToType (const std::string &s) |
Converts marker to component type (case insensitive),. More... | |
static Component * | Init (const std::string &conf_line) |
Initialize component from a line in config file,. More... | |
static Component * | Read (std::istream &is, bool binary) |
Read the component from a stream (static method),. More... | |
Static Public Attributes inherited from Component | |
static const struct key_value | kMarkerMap [] |
The table with pairs of Component types and markers (defined in nnet-component.cc),. More... | |
Protected Attributes inherited from MultistreamComponent | |
std::vector< int32 > | sequence_lengths_ |
Protected Attributes inherited from UpdatableComponent | |
NnetTrainOptions | opts_ |
Option-class with training hyper-parameters,. More... | |
BaseFloat | learn_rate_coef_ |
Scalar applied to learning rate for weight matrices (to be used in ::Update method),. More... | |
BaseFloat | bias_learn_rate_coef_ |
Scalar applied to learning rate for bias (to be used in ::Update method),. More... | |
Protected Attributes inherited from Component | |
int32 | input_dim_ |
Data members,. More... | |
int32 | output_dim_ |
Dimension of the output of the Component,. More... | |
Definition at line 50 of file nnet-blstm-projected.h.
|
inline |
Definition at line 52 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::Copy().
|
inline |
Definition at line 62 of file nnet-blstm-projected.h.
|
inlinevirtual |
Backward pass transformation (to be implemented by descending class...)
Implements Component.
Definition at line 720 of file nnet-blstm-projected.h.
References CuMatrixBase< Real >::AddMatMat(), BlstmProjected::b_backpropagate_buf_, BlstmProjected::b_bias_corr_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_f_c_corr_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_i_c_corr_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_peephole_o_c_corr_, BlstmProjected::b_propagate_buf_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_r_corr_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_gifo_x_corr_, BlstmProjected::b_w_r_m_, BlstmProjected::b_w_r_m_corr_, BlstmProjected::cell_diff_clip_, BlstmProjected::cell_dim_, CuMatrixBase< Real >::ColRange(), BlstmProjected::diff_clip_, BlstmProjected::f_backpropagate_buf_, BlstmProjected::f_bias_corr_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_f_c_corr_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_i_c_corr_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_peephole_o_c_corr_, BlstmProjected::f_propagate_buf_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_r_corr_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_gifo_x_corr_, BlstmProjected::f_w_r_m_, BlstmProjected::f_w_r_m_corr_, Component::input_dim_, kaldi::kNoTrans, kaldi::kSetZero, kaldi::kTrans, NnetTrainOptions::momentum, CuMatrixBase< Real >::NumRows(), MultistreamComponent::NumStreams(), UpdatableComponent::opts_, BlstmProjected::proj_dim_, CuMatrixBase< Real >::RowRange(), and MultistreamComponent::sequence_lengths_.
|
inlinevirtual |
Copy component (deep copy),.
Implements Component.
Definition at line 65 of file nnet-blstm-projected.h.
References BlstmProjected::BlstmProjected().
|
inlinevirtual |
Get gradient reshaped as a vector,.
Implements UpdatableComponent.
Definition at line 243 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_bias_corr_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_f_c_corr_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_i_c_corr_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_peephole_o_c_corr_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_r_corr_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_gifo_x_corr_, BlstmProjected::b_w_r_m_, BlstmProjected::b_w_r_m_corr_, VectorBase< Real >::Dim(), BlstmProjected::f_bias_, BlstmProjected::f_bias_corr_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_f_c_corr_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_i_c_corr_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_peephole_o_c_corr_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_r_corr_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_gifo_x_corr_, BlstmProjected::f_w_r_m_, BlstmProjected::f_w_r_m_corr_, KALDI_ASSERT, BlstmProjected::NumParams(), and VectorBase< Real >::Range().
|
inlinevirtual |
Get the trainable parameters reshaped as a vector,.
Implements UpdatableComponent.
Definition at line 296 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, VectorBase< Real >::Dim(), BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, KALDI_ASSERT, BlstmProjected::NumParams(), and VectorBase< Real >::Range().
|
inlinevirtual |
Get Type Identification of the component,.
Implements Component.
Definition at line 66 of file nnet-blstm-projected.h.
References Component::kBlstmProjected.
|
inlinevirtual |
Print some additional info (after <ComponentName> and the dims),.
Reimplemented from Component.
Definition at line 403 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, UpdatableComponent::bias_learn_rate_coef_, BlstmProjected::cell_clip_, BlstmProjected::cell_dim_, BlstmProjected::diff_clip_, BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, BlstmProjected::grad_clip_, UpdatableComponent::learn_rate_coef_, kaldi::nnet1::MomentStatistics(), and kaldi::nnet1::ToString().
|
inlinevirtual |
Print some additional info about gradient (after <...> and dims),.
Reimplemented from Component.
Definition at line 429 of file nnet-blstm-projected.h.
References BlstmProjected::b_backpropagate_buf_, BlstmProjected::b_bias_corr_, BlstmProjected::b_peephole_f_c_corr_, BlstmProjected::b_peephole_i_c_corr_, BlstmProjected::b_peephole_o_c_corr_, BlstmProjected::b_propagate_buf_, BlstmProjected::b_w_gifo_r_corr_, BlstmProjected::b_w_gifo_x_corr_, BlstmProjected::b_w_r_m_corr_, UpdatableComponent::bias_learn_rate_coef_, BlstmProjected::cell_clip_, BlstmProjected::cell_dim_, BlstmProjected::diff_clip_, BlstmProjected::f_backpropagate_buf_, BlstmProjected::f_bias_corr_, BlstmProjected::f_peephole_f_c_corr_, BlstmProjected::f_peephole_i_c_corr_, BlstmProjected::f_peephole_o_c_corr_, BlstmProjected::f_propagate_buf_, BlstmProjected::f_w_gifo_r_corr_, BlstmProjected::f_w_gifo_x_corr_, BlstmProjected::f_w_r_m_corr_, BlstmProjected::grad_clip_, UpdatableComponent::learn_rate_coef_, kaldi::nnet1::MomentStatistics(), BlstmProjected::proj_dim_, and kaldi::nnet1::ToString().
|
inlinevirtual |
Initialize the content of the component by the 'line' from the prototype,.
Implements UpdatableComponent.
Definition at line 68 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, UpdatableComponent::bias_learn_rate_coef_, BlstmProjected::cell_clip_, BlstmProjected::cell_diff_clip_, BlstmProjected::cell_dim_, BlstmProjected::diff_clip_, BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, BlstmProjected::grad_clip_, Component::input_dim_, KALDI_ASSERT, KALDI_ERR, kaldi::kUndefined, UpdatableComponent::learn_rate_coef_, BlstmProjected::proj_dim_, kaldi::nnet1::RandUniform(), kaldi::ReadBasicType(), and kaldi::ReadToken().
|
inlinevirtual |
Number of trainable parameters,.
Implements UpdatableComponent.
Definition at line 233 of file nnet-blstm-projected.h.
References BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, and BlstmProjected::f_w_r_m_.
Referenced by BlstmProjected::GetGradient(), BlstmProjected::GetParams(), and BlstmProjected::SetParams().
|
inlinevirtual |
Abstract interface for propagation/backpropagation.
Forward pass transformation (to be implemented by descending class...)
Implements Component.
Definition at line 532 of file nnet-blstm-projected.h.
References CuMatrixBase< Real >::AddMatMat(), BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_propagate_buf_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, BlstmProjected::cell_clip_, BlstmProjected::cell_dim_, CuMatrixBase< Real >::ColRange(), CuMatrixBase< Real >::CopyFromMat(), BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_propagate_buf_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, KALDI_ASSERT, kaldi::kNoTrans, kaldi::kSetZero, kaldi::kTrans, CuMatrixBase< Real >::NumRows(), MultistreamComponent::NumStreams(), BlstmProjected::proj_dim_, CuMatrix< Real >::Resize(), CuMatrixBase< Real >::RowRange(), and MultistreamComponent::sequence_lengths_.
|
inlinevirtual |
Reads the component content.
Reimplemented from Component.
Definition at line 135 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, UpdatableComponent::bias_learn_rate_coef_, BlstmProjected::cell_clip_, BlstmProjected::cell_diff_clip_, BlstmProjected::cell_dim_, BlstmProjected::diff_clip_, kaldi::ExpectToken(), BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, BlstmProjected::grad_clip_, KALDI_ASSERT, KALDI_ERR, UpdatableComponent::learn_rate_coef_, kaldi::Peek(), kaldi::PeekToken(), kaldi::ReadBasicType(), and kaldi::ReadToken().
|
inlinevirtual |
Set the trainable parameters from, reshaped as a vector,.
Implements UpdatableComponent.
Definition at line 349 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, VectorBase< Real >::Dim(), BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, KALDI_ASSERT, BlstmProjected::NumParams(), and VectorBase< Real >::Range().
|
inlinevirtual |
Compute gradient and update parameters,.
Implements UpdatableComponent.
Definition at line 1067 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_bias_corr_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_f_c_corr_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_i_c_corr_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_peephole_o_c_corr_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_r_corr_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_gifo_x_corr_, BlstmProjected::b_w_r_m_, BlstmProjected::b_w_r_m_corr_, UpdatableComponent::bias_learn_rate_coef_, BlstmProjected::f_bias_, BlstmProjected::f_bias_corr_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_f_c_corr_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_i_c_corr_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_peephole_o_c_corr_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_r_corr_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_gifo_x_corr_, BlstmProjected::f_w_r_m_, BlstmProjected::f_w_r_m_corr_, BlstmProjected::grad_clip_, NnetTrainOptions::learn_rate, UpdatableComponent::learn_rate_coef_, and UpdatableComponent::opts_.
|
inlinevirtual |
Writes the component content.
Reimplemented from Component.
Definition at line 190 of file nnet-blstm-projected.h.
References BlstmProjected::b_bias_, BlstmProjected::b_peephole_f_c_, BlstmProjected::b_peephole_i_c_, BlstmProjected::b_peephole_o_c_, BlstmProjected::b_w_gifo_r_, BlstmProjected::b_w_gifo_x_, BlstmProjected::b_w_r_m_, UpdatableComponent::bias_learn_rate_coef_, BlstmProjected::cell_clip_, BlstmProjected::cell_diff_clip_, BlstmProjected::cell_dim_, BlstmProjected::diff_clip_, BlstmProjected::f_bias_, BlstmProjected::f_peephole_f_c_, BlstmProjected::f_peephole_i_c_, BlstmProjected::f_peephole_o_c_, BlstmProjected::f_w_gifo_r_, BlstmProjected::f_w_gifo_x_, BlstmProjected::f_w_r_m_, BlstmProjected::grad_clip_, UpdatableComponent::learn_rate_coef_, kaldi::WriteBasicType(), and kaldi::WriteToken().
Definition at line 1200 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), and BlstmProjected::InfoGradient().
Definition at line 1159 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1160 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1170 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1179 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1169 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1178 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1171 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1180 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1194 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::InfoGradient(), and BlstmProjected::PropagateFnc().
Definition at line 1151 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1152 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1143 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1144 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1187 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1188 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
|
private |
Clipping of 'cell-values' in forward pass (per-frame),.
Definition at line 1133 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::Info(), BlstmProjected::InfoGradient(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), and BlstmProjected::WriteData().
|
private |
Clipping of 'cell-derivatives' accumulated over CEC (per-frame),.
Definition at line 1135 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::InitData(), BlstmProjected::ReadData(), and BlstmProjected::WriteData().
|
private |
the number of memory-cell blocks,
Definition at line 1130 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::Info(), BlstmProjected::InfoGradient(), BlstmProjected::InitData(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), and BlstmProjected::WriteData().
|
private |
Clipping of 'derivatives' in backprop (per-frame),.
Definition at line 1134 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::Info(), BlstmProjected::InfoGradient(), BlstmProjected::InitData(), BlstmProjected::ReadData(), and BlstmProjected::WriteData().
Definition at line 1198 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), and BlstmProjected::InfoGradient().
Definition at line 1156 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1157 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1166 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1175 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1165 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1174 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1167 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1176 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1192 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::InfoGradient(), and BlstmProjected::PropagateFnc().
Definition at line 1148 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1149 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1140 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1141 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
Definition at line 1184 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::GetParams(), BlstmProjected::Info(), BlstmProjected::InitData(), BlstmProjected::NumParams(), BlstmProjected::PropagateFnc(), BlstmProjected::ReadData(), BlstmProjected::SetParams(), BlstmProjected::Update(), and BlstmProjected::WriteData().
Definition at line 1185 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::GetGradient(), BlstmProjected::InfoGradient(), and BlstmProjected::Update().
|
private |
Clipping of the updates,.
Definition at line 1136 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::Info(), BlstmProjected::InfoGradient(), BlstmProjected::InitData(), BlstmProjected::ReadData(), BlstmProjected::Update(), and BlstmProjected::WriteData().
|
private |
recurrent projection layer dim,
Definition at line 1131 of file nnet-blstm-projected.h.
Referenced by BlstmProjected::BackpropagateFnc(), BlstmProjected::InfoGradient(), BlstmProjected::InitData(), and BlstmProjected::PropagateFnc().