LongShortTermMemoryLayerForwardPropagation Struct Reference
Inheritance diagram for LongShortTermMemoryLayerForwardPropagation:
LayerForwardPropagation

Public Member Functions

 LongShortTermMemoryLayerForwardPropagation (const Index &new_batch_samples_number, Layer *new_layer_pointer)
 
void set (const Index &new_batch_samples_number, Layer *new_layer_pointer)
 
void print () const
 
- Public Member Functions inherited from LayerForwardPropagation
 LayerForwardPropagation ()
 Default constructor. More...
 

Public Attributes

Tensor< type, 2 > combinations
 
Tensor< type, 2 > activations
 
Tensor< type, 1 > previous_hidden_state_activations
 
Tensor< type, 1 > previous_cell_state_activations
 
Tensor< type, 1 > current_inputs
 
Tensor< type, 1 > current_forget_combinations
 
Tensor< type, 1 > current_input_combinations
 
Tensor< type, 1 > current_state_combinations
 
Tensor< type, 1 > current_output_combinations
 
Tensor< type, 1 > current_forget_activations
 
Tensor< type, 1 > current_input_activations
 
Tensor< type, 1 > current_state_activations
 
Tensor< type, 1 > current_output_activations
 
Tensor< type, 1 > current_forget_activations_derivatives
 
Tensor< type, 1 > current_input_activations_derivatives
 
Tensor< type, 1 > current_state_activations_derivatives
 
Tensor< type, 1 > current_output_activations_derivatives
 
Tensor< type, 1 > current_hidden_states_derivatives
 
Tensor< type, 1 > current_cell_state_activations
 
Tensor< type, 2, RowMajor > forget_activations
 
Tensor< type, 2, RowMajor > input_activations
 
Tensor< type, 2, RowMajor > state_activations
 
Tensor< type, 2, RowMajor > output_activations
 
Tensor< type, 2, RowMajor > cell_states_activations
 
Tensor< type, 2, RowMajor > hidden_states_activations
 
Tensor< type, 2, RowMajor > forget_activations_derivatives
 
Tensor< type, 2, RowMajor > input_activations_derivatives
 
Tensor< type, 2, RowMajor > state_activations_derivatives
 
Tensor< type, 2, RowMajor > output_activations_derivatives
 
Tensor< type, 2, RowMajor > cell_states_activations_derivatives
 
Tensor< type, 2, RowMajor > hidden_states_activations_derivatives
 
- Public Attributes inherited from LayerForwardPropagation
Index batch_samples_number = 0
 
Layerlayer_pointer = nullptr
 

Detailed Description

Definition at line 338 of file long_short_term_memory_layer.h.

Constructor & Destructor Documentation

◆ LongShortTermMemoryLayerForwardPropagation() [1/2]

Definition at line 340 of file long_short_term_memory_layer.h.

◆ LongShortTermMemoryLayerForwardPropagation() [2/2]

LongShortTermMemoryLayerForwardPropagation ( const Index &  new_batch_samples_number,
Layer new_layer_pointer 
)
inlineexplicit

Definition at line 344 of file long_short_term_memory_layer.h.

Member Function Documentation

◆ print()

void print ( ) const
inlinevirtual

Reimplemented from LayerForwardPropagation.

Definition at line 401 of file long_short_term_memory_layer.h.

◆ set()

void set ( const Index &  new_batch_samples_number,
Layer new_layer_pointer 
)
inlinevirtual

Reimplemented from LayerForwardPropagation.

Definition at line 351 of file long_short_term_memory_layer.h.

Member Data Documentation

◆ activations

Tensor<type, 2> activations

Definition at line 407 of file long_short_term_memory_layer.h.

◆ cell_states_activations

Tensor<type, 2, RowMajor> cell_states_activations

Definition at line 437 of file long_short_term_memory_layer.h.

◆ cell_states_activations_derivatives

Tensor<type, 2, RowMajor> cell_states_activations_derivatives

Definition at line 444 of file long_short_term_memory_layer.h.

◆ combinations

Tensor<type, 2> combinations

Definition at line 406 of file long_short_term_memory_layer.h.

◆ current_cell_state_activations

Tensor<type, 1> current_cell_state_activations

Definition at line 431 of file long_short_term_memory_layer.h.

◆ current_forget_activations

Tensor<type, 1> current_forget_activations

Definition at line 419 of file long_short_term_memory_layer.h.

◆ current_forget_activations_derivatives

Tensor<type, 1> current_forget_activations_derivatives

Definition at line 424 of file long_short_term_memory_layer.h.

◆ current_forget_combinations

Tensor<type, 1> current_forget_combinations

Definition at line 414 of file long_short_term_memory_layer.h.

◆ current_hidden_states_derivatives

Tensor<type, 1> current_hidden_states_derivatives

Definition at line 429 of file long_short_term_memory_layer.h.

◆ current_input_activations

Tensor<type, 1> current_input_activations

Definition at line 420 of file long_short_term_memory_layer.h.

◆ current_input_activations_derivatives

Tensor<type, 1> current_input_activations_derivatives

Definition at line 425 of file long_short_term_memory_layer.h.

◆ current_input_combinations

Tensor<type, 1> current_input_combinations

Definition at line 415 of file long_short_term_memory_layer.h.

◆ current_inputs

Tensor<type, 1> current_inputs

Definition at line 412 of file long_short_term_memory_layer.h.

◆ current_output_activations

Tensor<type, 1> current_output_activations

Definition at line 422 of file long_short_term_memory_layer.h.

◆ current_output_activations_derivatives

Tensor<type, 1> current_output_activations_derivatives

Definition at line 427 of file long_short_term_memory_layer.h.

◆ current_output_combinations

Tensor<type, 1> current_output_combinations

Definition at line 417 of file long_short_term_memory_layer.h.

◆ current_state_activations

Tensor<type, 1> current_state_activations

Definition at line 421 of file long_short_term_memory_layer.h.

◆ current_state_activations_derivatives

Tensor<type, 1> current_state_activations_derivatives

Definition at line 426 of file long_short_term_memory_layer.h.

◆ current_state_combinations

Tensor<type, 1> current_state_combinations

Definition at line 416 of file long_short_term_memory_layer.h.

◆ forget_activations

Tensor<type, 2, RowMajor> forget_activations

Definition at line 433 of file long_short_term_memory_layer.h.

◆ forget_activations_derivatives

Tensor<type, 2, RowMajor> forget_activations_derivatives

Definition at line 440 of file long_short_term_memory_layer.h.

◆ hidden_states_activations

Tensor<type, 2, RowMajor> hidden_states_activations

Definition at line 438 of file long_short_term_memory_layer.h.

◆ hidden_states_activations_derivatives

Tensor<type, 2, RowMajor> hidden_states_activations_derivatives

Definition at line 445 of file long_short_term_memory_layer.h.

◆ input_activations

Tensor<type, 2, RowMajor> input_activations

Definition at line 434 of file long_short_term_memory_layer.h.

◆ input_activations_derivatives

Tensor<type, 2, RowMajor> input_activations_derivatives

Definition at line 441 of file long_short_term_memory_layer.h.

◆ output_activations

Tensor<type, 2, RowMajor> output_activations

Definition at line 436 of file long_short_term_memory_layer.h.

◆ output_activations_derivatives

Tensor<type, 2, RowMajor> output_activations_derivatives

Definition at line 443 of file long_short_term_memory_layer.h.

◆ previous_cell_state_activations

Tensor<type, 1> previous_cell_state_activations

Definition at line 410 of file long_short_term_memory_layer.h.

◆ previous_hidden_state_activations

Tensor<type, 1> previous_hidden_state_activations

Definition at line 409 of file long_short_term_memory_layer.h.

◆ state_activations

Tensor<type, 2, RowMajor> state_activations

Definition at line 435 of file long_short_term_memory_layer.h.

◆ state_activations_derivatives

Tensor<type, 2, RowMajor> state_activations_derivatives

Definition at line 442 of file long_short_term_memory_layer.h.


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