Caffe2 - Python API
A deep learning, cross platform ML framework
Public Member Functions | Public Attributes | List of all members
caffe2.python.rnn_cell.LSTMCell Class Reference
Inheritance diagram for caffe2.python.rnn_cell.LSTMCell:
caffe2.python.rnn_cell.RNNCell caffe2.python.rnn_cell.LayerNormMILSTMCell caffe2.python.rnn_cell.MILSTMCell

Public Member Functions

def __init__ (self, input_size, hidden_size, forget_bias, memory_optimization, drop_states=False, initializer=None, kwargs)
 
def apply_override (self, model, input_t, seq_lengths, states, timestep, extra_inputs=None)
 
def get_input_params (self)
 
def get_recurrent_params (self)
 
def prepare_input (self, model, input_blob)
 
def get_state_names_override (self)
 
def get_output_dim (self)
 
- Public Member Functions inherited from caffe2.python.rnn_cell.RNNCell
def __init__ (self, name=None, forward_only=False, initializer=None)
 
def initializer (self)
 
def initializer (self, value)
 
def scope (self, name)
 
def apply_over_sequence (self, model, inputs, seq_lengths=None, initial_states=None, outputs_with_grads=None)
 
def apply (self, model, input_t, seq_lengths, states, timestep)
 
def apply_override (self, model, input_t, seq_lengths, timestep, extra_inputs=None)
 
def prepare_input (self, model, input_blob)
 
def get_output_state_index (self)
 
def get_state_names (self)
 
def get_state_names_override (self)
 
def get_output_dim (self)
 

Public Attributes

 initializer
 
 input_size
 
 hidden_size
 
 forget_bias
 
 memory_optimization
 
 drop_states
 
 gates_size
 
 recompute_blobs
 
- Public Attributes inherited from caffe2.python.rnn_cell.RNNCell
 name
 
 recompute_blobs
 
 forward_only
 

Detailed Description

Definition at line 397 of file rnn_cell.py.


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