@@ -36,6 +36,28 @@ def __init__(
36
36
>>> lstm.learning_rate
37
37
0.01
38
38
"""
39
+ self .input_data : str
40
+ self .hidden_layer_size : int
41
+ self .training_epochs : int
42
+ self .learning_rate : float
43
+ self .unique_chars : set [str ]
44
+ self .data_length : int
45
+ self .vocabulary_size : int
46
+ self .char_to_index : dict [str , int ]
47
+ self .index_to_char : dict [int , str ]
48
+ self .input_sequence : str
49
+ self .target_sequence : str
50
+ self .random_generator : Generator
51
+ self .combined_inputs : dict [int , np .ndarray ]
52
+ self .hidden_states : dict [int , np .ndarray ]
53
+ self .cell_states : dict [int , np .ndarray ]
54
+ self .forget_gate_activations : dict [int , np .ndarray ]
55
+ self .input_gate_activations : dict [int , np .ndarray ]
56
+ self .cell_state_candidates : dict [int , np .ndarray ]
57
+ self .output_gate_activations : dict [int , np .ndarray ]
58
+ self .network_outputs : dict [int , np .ndarray ]
59
+
60
+
39
61
self .input_data : str = input_data .lower ()
40
62
self .hidden_layer_size : int = hidden_layer_size
41
63
self .training_epochs : int = training_epochs
0 commit comments