@@ -10,44 +10,44 @@ Attention Mechanism
10
10
11
11
:hidden: `AttentionWrapperState `
12
12
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13
- .. autoclass :: texar.core.AttentionWrapperState
13
+ .. autoclass :: texar.torch. core.AttentionWrapperState
14
14
:members:
15
15
16
16
:hidden: `LuongAttention `
17
17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
- .. autoclass :: texar.core.LuongAttention
18
+ .. autoclass :: texar.torch. core.LuongAttention
19
19
:members:
20
20
21
21
:hidden: `BahdanauAttention `
22
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23
- .. autoclass :: texar.core.BahdanauAttention
23
+ .. autoclass :: texar.torch. core.BahdanauAttention
24
24
:members:
25
25
26
26
:hidden: `BahdanauMonotonicAttention `
27
27
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28
- .. autoclass :: texar.core.BahdanauMonotonicAttention
28
+ .. autoclass :: texar.torch. core.BahdanauMonotonicAttention
29
29
:members:
30
30
31
31
:hidden: `LuongMonotonicAttention `
32
32
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33
- .. autoclass :: texar.core.LuongMonotonicAttention
33
+ .. autoclass :: texar.torch. core.LuongMonotonicAttention
34
34
:members:
35
35
36
36
:hidden: `compute_attention `
37
37
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
38
- .. autofunction :: texar.core.compute_attention
38
+ .. autofunction :: texar.torch. core.compute_attention
39
39
40
40
:hidden: `monotonic_attention `
41
41
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42
- .. autofunction :: texar.core.monotonic_attention
42
+ .. autofunction :: texar.torch. core.monotonic_attention
43
43
44
44
:hidden: `hardmax `
45
45
~~~~~~~~~~~~~~~~~~~
46
- .. autofunction :: texar.core.hardmax
46
+ .. autofunction :: texar.torch. core.hardmax
47
47
48
48
:hidden: `sparsemax `
49
49
~~~~~~~~~~~~~~~~~~~
50
- .. autofunction :: texar.core.sparsemax
50
+ .. autofunction :: texar.torch. core.sparsemax
51
51
52
52
53
53
@@ -56,54 +56,54 @@ Cells
56
56
57
57
:hidden: `default_rnn_cell_hparams `
58
58
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
59
- .. autofunction :: texar.core.default_rnn_cell_hparams
59
+ .. autofunction :: texar.torch. core.default_rnn_cell_hparams
60
60
61
61
:hidden: `get_rnn_cell `
62
62
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
63
- .. autofunction :: texar.core.get_rnn_cell
63
+ .. autofunction :: texar.torch. core.get_rnn_cell
64
64
65
65
:hidden: `wrap_builtin_cell `
66
66
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67
- .. autofunction :: texar.core.wrap_builtin_cell
67
+ .. autofunction :: texar.torch. core.wrap_builtin_cell
68
68
69
69
:hidden: `RNNCellBase `
70
70
~~~~~~~~~~~~~~~~~~~~~~~~~~~
71
- .. autoclass :: texar.core.cell_wrappers.RNNCellBase
71
+ .. autoclass :: texar.torch. core.cell_wrappers.RNNCellBase
72
72
:members:
73
73
74
74
:hidden: `RNNCell `
75
75
~~~~~~~~~~~~~~~~~~~~~~~~~~~
76
- .. autoclass :: texar.core.cell_wrappers.RNNCell
76
+ .. autoclass :: texar.torch. core.cell_wrappers.RNNCell
77
77
:members:
78
78
79
79
:hidden: `GRUCell `
80
80
~~~~~~~~~~~~~~~~~~~~~~~~~~~
81
- .. autoclass :: texar.core.cell_wrappers.GRUCell
81
+ .. autoclass :: texar.torch. core.cell_wrappers.GRUCell
82
82
:members:
83
83
84
84
:hidden: `LSTMCell `
85
85
~~~~~~~~~~~~~~~~~~~~~~~~~~~
86
- .. autoclass :: texar.core.cell_wrappers.LSTMCell
86
+ .. autoclass :: texar.torch. core.cell_wrappers.LSTMCell
87
87
:members:
88
88
89
89
:hidden: `DropoutWrapper `
90
90
~~~~~~~~~~~~~~~~~~~~~~~~~~~
91
- .. autoclass :: texar.core.cell_wrappers.DropoutWrapper
91
+ .. autoclass :: texar.torch. core.cell_wrappers.DropoutWrapper
92
92
:members:
93
93
94
94
:hidden: `ResidualWrapper `
95
95
~~~~~~~~~~~~~~~~~~~~~~~~~~~
96
- .. autoclass :: texar.core.cell_wrappers.ResidualWrapper
96
+ .. autoclass :: texar.torch. core.cell_wrappers.ResidualWrapper
97
97
:members:
98
98
99
99
:hidden: `HighwayWrapper `
100
100
~~~~~~~~~~~~~~~~~~~~~~~~~~~
101
- .. autoclass :: texar.core.cell_wrappers.HighwayWrapper
101
+ .. autoclass :: texar.torch. core.cell_wrappers.HighwayWrapper
102
102
:members:
103
103
104
104
:hidden: `MultiRNNCell `
105
105
~~~~~~~~~~~~~~~~~~~~~~~~~~~
106
- .. autoclass :: texar.core.cell_wrappers.MultiRNNCell
106
+ .. autoclass :: texar.torch. core.cell_wrappers.MultiRNNCell
107
107
:members:
108
108
109
109
:hidden: `AttentionWrapper `
@@ -112,7 +112,7 @@ Cells
112
112
Luong
113
113
Bahdanau
114
114
115
- .. autoclass :: texar.core.cell_wrappers.AttentionWrapper
115
+ .. autoclass :: texar.torch. core.cell_wrappers.AttentionWrapper
116
116
:members:
117
117
118
118
@@ -122,75 +122,75 @@ Layers
122
122
123
123
:hidden: `get_layer `
124
124
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
125
- .. autofunction :: texar.core.get_layer
125
+ .. autofunction :: texar.torch. core.get_layer
126
126
127
127
:hidden: `MaxReducePool1d `
128
128
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129
- .. autoclass :: texar.core.MaxReducePool1d
129
+ .. autoclass :: texar.torch. core.MaxReducePool1d
130
130
:members:
131
131
132
132
:hidden: `AvgReducePool1d `
133
133
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
- .. autoclass :: texar.core.AvgReducePool1d
134
+ .. autoclass :: texar.torch. core.AvgReducePool1d
135
135
:members:
136
136
137
137
:hidden: `get_pooling_layer_hparams `
138
138
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139
- .. autofunction :: texar.core.get_pooling_layer_hparams
139
+ .. autofunction :: texar.torch. core.get_pooling_layer_hparams
140
140
141
141
:hidden: `MergeLayer `
142
142
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
143
- .. autoclass :: texar.core.MergeLayer
143
+ .. autoclass :: texar.torch. core.MergeLayer
144
144
:members:
145
145
146
146
:hidden: `Flatten `
147
147
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
148
- .. autoclass :: texar.core.Flatten
148
+ .. autoclass :: texar.torch. core.Flatten
149
149
:members:
150
150
:exclude-members: forward
151
151
152
152
:hidden: `Identity `
153
153
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154
- .. autoclass :: texar.core.Identity
154
+ .. autoclass :: texar.torch. core.Identity
155
155
:members:
156
156
:exclude-members: forward
157
157
158
158
:hidden: `default_regularizer_hparams `
159
159
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160
- .. autofunction :: texar.core.default_regularizer_hparams
160
+ .. autofunction :: texar.torch. core.default_regularizer_hparams
161
161
162
162
:hidden: `get_regularizer `
163
163
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
- .. autofunction :: texar.core.get_regularizer
164
+ .. autofunction :: texar.torch. core.get_regularizer
165
165
166
166
:hidden: `get_initializer `
167
167
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
168
- .. autofunction :: texar.core.get_initializer
168
+ .. autofunction :: texar.torch. core.get_initializer
169
169
170
170
:hidden: `get_activation_fn `
171
171
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172
- .. autofunction :: texar.core.get_activation_fn
172
+ .. autofunction :: texar.torch. core.get_activation_fn
173
173
174
174
175
175
Optimization
176
176
=============
177
177
178
178
:hidden: `default_optimization_hparams `
179
179
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180
- .. autofunction :: texar.core.default_optimization_hparams
180
+ .. autofunction :: texar.torch. core.default_optimization_hparams
181
181
182
182
:hidden: `get_train_op `
183
183
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184
- .. autofunction :: texar.core.get_train_op
184
+ .. autofunction :: texar.torch. core.get_train_op
185
185
186
186
:hidden: `get_scheduler `
187
187
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
188
- .. autofunction :: texar.core.get_scheduler
188
+ .. autofunction :: texar.torch. core.get_scheduler
189
189
190
190
:hidden: `get_optimizer `
191
191
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
192
- .. autofunction :: texar.core.get_optimizer
192
+ .. autofunction :: texar.torch. core.get_optimizer
193
193
194
194
:hidden: `get_grad_clip_fn `
195
195
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
196
- .. autofunction :: texar.core.get_grad_clip_fn
196
+ .. autofunction :: texar.torch. core.get_grad_clip_fn
0 commit comments