We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1738bd8 commit bd08c16Copy full SHA for bd08c16
1 file changed
speechbrain/alignment/aligner.py
@@ -174,7 +174,18 @@ class HMMAligner(torch.nn.Module):
174
A number more negative than -1e5 also sometimes gave errors when
175
the `genbmm` library was used (currently not in use).
176
Default: -1e5
177
- docstring add params
+ batch_reduction: string
178
+ One of "none", "sum" or "mean"
179
+ What kind of batch-level reduction to apply to the loss calculated
180
+ in the forward method
181
+ input_len_norm: bool
182
+ Whether to normalise the loss in the forward method by the length of
183
+ the inputs.
184
+ target_len_norm: bool
185
186
+ the targets.
187
+ lexicon_path: string
188
+ The location of the lexicon.
189
190
Example
191
-------
0 commit comments