k2
1.24.4
Contents:
Installation
Core concepts in k2
Python tutorials
Python API reference
k2
»
Index
Edit on GitHub
Index
_
|
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
J
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
_
__eq__() (k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
__getattr__() (k2.Fsa method)
__getitem__() (k2.Fsa method)
(k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
__getstate__() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
__init__() (k2.DenseFsaVec method)
(k2.Fsa method)
(k2.OnlineDenseIntersecter method)
(k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
(k2.RnntDecodingConfig method)
(k2.RnntDecodingStream method)
(k2.RnntDecodingStreams method)
__ne__() (k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
__repr__() (k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
__setattr__() (k2.Fsa method)
__setstate__() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
__str__() (k2.Fsa method)
(k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
(k2.RnntDecodingStream method)
(k2.RnntDecodingStreams method)
_from_dense_fsa_vec() (k2.DenseFsaVec class method)
_get_arc_post() (k2.Fsa method)
_get_backward_scores() (k2.Fsa method)
_get_entering_arcs() (k2.Fsa method)
_get_forward_scores() (k2.Fsa method)
_get_tot_scores() (k2.Fsa method)
_invalidate_cache_() (k2.Fsa method)
A
add() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
(k2.SymbolTable method)
add_epsilon_self_loops() (in module k2)
advance() (k2.RnntDecodingStreams method)
arange() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
arc_sort() (in module k2)
argmax() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
as_dict() (k2.Fsa method)
B
beam (k2.RnntDecodingConfig attribute)
C
cat() (in module k2)
(in module k2.ragged)
(k2.ragged.RaggedTensor static method)
(k2.RaggedTensor static method)
clone() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
closure() (in module k2)
compose() (in module k2)
(k2.ragged.RaggedShape method)
(k2.RaggedShape method)
compose_arc_maps() (in module k2)
connect() (in module k2)
convert_attr_to_ragged_() (k2.Fsa method)
convert_dense_to_fsa_vec() (in module k2)
create_fsa_vec() (in module k2)
create_ragged_shape2() (in module k2.ragged)
create_ragged_tensor() (in module k2.ragged)
create_sparse() (in module k2)
ctc_graph() (in module k2)
ctc_loss() (in module k2)
ctc_topo() (in module k2)
D
decode() (k2.OnlineDenseIntersecter method)
decoder_history_len (k2.RnntDecodingConfig attribute)
determinize() (in module k2)
device (k2.DenseFsaVec attribute)
(k2.Fsa attribute)
(k2.ragged.RaggedShape attribute)
(k2.ragged.RaggedTensor attribute)
(k2.RaggedShape attribute)
(k2.RaggedTensor attribute)
dim0 (k2.ragged.RaggedShape attribute)
(k2.ragged.RaggedTensor attribute)
(k2.RaggedShape attribute)
(k2.RaggedTensor attribute)
do_rnnt_pruning() (in module k2)
draw() (k2.Fsa method)
dtype (k2.ragged.RaggedTensor attribute)
(k2.RaggedTensor attribute)
duration (k2.DenseFsaVec attribute)
E
expand_ragged_attributes() (in module k2)
F
format_output() (k2.RnntDecodingStreams method)
forward() (k2.CtcLoss method)
(k2.MWERLoss method)
from_file() (k2.SymbolTable static method)
from_lattice() (k2.Nbest static method)
from_openfst() (k2.Fsa class method)
from_str() (k2.Fsa class method)
(k2.SymbolTable static method)
G
get() (k2.SymbolTable method)
get_arc_post() (k2.Fsa method)
get_aux_labels() (in module k2)
get_backward_scores() (k2.Fsa method)
get_best_matching_stats() (in module k2)
get_contexts() (k2.RnntDecodingStreams method)
get_filler() (k2.Fsa method)
get_forward_scores() (k2.Fsa method)
get_lattice() (in module k2)
get_layer() (k2.ragged.RaggedShape method)
(k2.RaggedShape method)
get_rnnt_logprobs() (in module k2)
get_rnnt_logprobs_joint() (in module k2)
get_rnnt_logprobs_pruned() (in module k2)
get_rnnt_logprobs_smoothed() (in module k2)
get_rnnt_prune_ranges() (in module k2)
get_rnnt_prune_ranges_deprecated() (in module k2)
get_tot_scores() (k2.Fsa method)
grad (k2.Fsa attribute)
(k2.ragged.RaggedTensor attribute)
(k2.RaggedTensor attribute)
I
ids (k2.SymbolTable attribute)
index() (in module k2.ragged)
(k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
index_add() (in module k2)
index_and_sum() (in module k2.ragged)
index_fsa() (in module k2)
index_select() (in module k2)
intersect() (in module k2)
(k2.Nbest method)
intersect_dense() (in module k2)
intersect_dense_pruned() (in module k2)
intersect_device() (in module k2)
invert() (in module k2)
(k2.Fsa method)
invert_() (k2.Fsa method)
is_cuda (k2.ragged.RaggedTensor attribute)
(k2.RaggedTensor attribute)
is_rand_equivalent() (in module k2)
J
joint_mutual_information_recursion() (in module k2)
L
levenshtein_alignment() (in module k2)
levenshtein_graph() (in module k2)
linear_fsa() (in module k2)
linear_fsa_with_self_loops() (in module k2)
linear_fst() (in module k2)
linear_fst_with_self_loops() (in module k2)
logsumexp() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
M
max() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
max_contexts (k2.RnntDecodingConfig attribute)
max_size() (k2.ragged.RaggedShape method)
(k2.RaggedShape method)
max_states (k2.RnntDecodingConfig attribute)
merge() (k2.SymbolTable method)
min() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
mutual_information_recursion() (in module k2)
mwer_loss() (in module k2)
N
name (k2.DeterminizeWeightPushingType attribute)
normalize() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
num_arcs (k2.Fsa attribute)
num_axes (k2.ragged.RaggedShape attribute)
(k2.ragged.RaggedTensor attribute)
(k2.RaggedShape attribute)
(k2.RaggedTensor attribute)
num_streams (k2.OnlineDenseIntersecter attribute)
numel() (k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
O
one_best_decoding() (in module k2)
P
pad() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
properties (k2.Fsa attribute)
properties_str (k2.Fsa attribute)
properties_to_str() (in module k2)
prune_on_arc_post() (in module k2)
pruned_ranges_to_lattice() (in module k2)
R
random_fsa() (in module k2)
random_fsa_vec() (in module k2)
random_paths() (in module k2)
random_ragged_shape() (in module k2.ragged)
regular_ragged_shape() (in module k2.ragged)
(k2.ragged.RaggedShape static method)
(k2.RaggedShape static method)
remove_axis() (k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
remove_epsilon() (in module k2)
remove_epsilon_and_add_self_loops() (in module k2)
remove_epsilon_self_loops() (in module k2)
remove_values_eq() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
remove_values_leq() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
rename_tensor_attribute_() (k2.Fsa method)
replace_fsa() (in module k2)
requires_grad (k2.Fsa attribute)
(k2.ragged.RaggedTensor attribute)
(k2.RaggedTensor attribute)
requires_grad_() (k2.Fsa method)
(k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
reverse() (in module k2)
rnnt_loss() (in module k2)
rnnt_loss_pruned() (in module k2)
rnnt_loss_simple() (in module k2)
rnnt_loss_smoothed() (in module k2)
row_ids() (k2.ragged.RaggedShape method)
(k2.RaggedShape method)
row_splits() (k2.ragged.RaggedShape method)
(k2.RaggedShape method)
S
set_scores_stochastic_() (k2.Fsa method)
shape (k2.Fsa attribute)
(k2.ragged.RaggedTensor attribute)
(k2.RaggedTensor attribute)
shortest_path() (in module k2)
simple_ragged_index_select() (in module k2)
sort_() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
sum() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
swoosh_l() (in module k2)
swoosh_l_forward() (in module k2)
swoosh_l_forward_and_deriv() (in module k2)
swoosh_r() (in module k2)
swoosh_r_forward() (in module k2)
swoosh_r_forward_and_deriv() (in module k2)
symbols (k2.SymbolTable attribute)
T
terminate_and_flush_to_streams() (k2.RnntDecodingStreams method)
to() (k2.DenseFsaVec method)
(k2.Fsa method)
(k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
to_dot() (in module k2)
to_file() (k2.SymbolTable method)
to_str() (in module k2)
to_str_simple() (in module k2)
(k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
to_tensor() (in module k2)
tolist() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
top_k() (k2.Nbest method)
top_sort() (in module k2)
tot_size() (k2.ragged.RaggedShape method)
(k2.ragged.RaggedTensor method)
(k2.RaggedShape method)
(k2.RaggedTensor method)
tot_sizes() (k2.ragged.RaggedShape method)
(k2.RaggedShape method)
total_scores() (k2.Nbest method)
trivial_graph() (in module k2)
U
union() (in module k2)
unique() (k2.ragged.RaggedTensor method)
(k2.RaggedTensor method)
V
value (k2.DeterminizeWeightPushingType attribute)
values (k2.ragged.RaggedTensor attribute)
(k2.RaggedTensor attribute)
vocab_size (k2.RnntDecodingConfig attribute)