Skip to content

Commit bd08c16

Browse files
committed
update docstring in HMMAligner init
1 parent 1738bd8 commit bd08c16

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

speechbrain/alignment/aligner.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,18 @@ class HMMAligner(torch.nn.Module):
174174
A number more negative than -1e5 also sometimes gave errors when
175175
the `genbmm` library was used (currently not in use).
176176
Default: -1e5
177-
docstring add params
177+
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+
Whether to normalise the loss in the forward method by the length of
186+
the targets.
187+
lexicon_path: string
188+
The location of the lexicon.
178189
179190
Example
180191
-------

0 commit comments

Comments
 (0)