Skip to content

Commit

Permalink
Update index.rst (#1254)
Browse files Browse the repository at this point in the history
fix mistake,fsa--->fsa_vec
  • Loading branch information
l2009312042 authored Oct 18, 2023
1 parent 44a9d56 commit c83b5cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/core_concepts/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,11 +366,11 @@ Example 2: Autograd in log semiring

For the log semiring, we just change::

total_scores = fsa.get_tot_scores(log_semiring=False, use_double_scores=False)
total_scores = fsa_vec.get_tot_scores(log_semiring=False, use_double_scores=False)

to::

total_scores = fsa.get_tot_scores(log_semiring=True, use_double_scores=False)
total_scores = fsa_vec.get_tot_scores(log_semiring=True, use_double_scores=False)

For completeness and ease of reference, we repost the code below.

Expand Down

0 comments on commit c83b5cd

Please sign in to comment.