Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mann committed Aug 26, 2024
1 parent af9b317 commit 97494ca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions i6_models/parts/fsa.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ class WeightedFsa(NamedTuple):
fsa by simple left-multiplication and moving the tensors to a different device.
It can simply be passed to `i6_native_ops.fbw.fbw_loss` and `i6_native_ops.fast_viterbi.align_viterbi`.
:param num_states: the total number of all states S
:param edges: a [4, E] tensor of edges where each column is an edge consisting
of from-state, to-state, emission idx and the index of the sequence
it belongs to
:param edges: a [4, E] tensor of edges with number of edges E and where each column is an edge
consisting of from-state, to-state, emission idx and the index of the sequence it belongs to
:param weights: a [E,] tensor of weights for each edge scaled by the tdp_scale
:param start_end_states: a [N, 2] tensor of start and end states for each of the N sequences
"""
Expand Down

0 comments on commit 97494ca

Please sign in to comment.