From c83b5cd3f867b863de24ba79d016e5f75dd70652 Mon Sep 17 00:00:00 2001 From: l2009312042 Date: Wed, 18 Oct 2023 16:14:09 +0800 Subject: [PATCH] Update index.rst (#1254) fix mistake,fsa--->fsa_vec --- docs/source/core_concepts/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/core_concepts/index.rst b/docs/source/core_concepts/index.rst index 1f1ba05af..b78e26033 100644 --- a/docs/source/core_concepts/index.rst +++ b/docs/source/core_concepts/index.rst @@ -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.