kaldi.sgmm2¶
Functions
compute_feature_normalizing_transform |
Calls C++ function |
Classes
AmSgmm2 |
Class for definition of subspace Gmm acoustic model |
DecodableAmSgmm2 |
CLIF wrapper for ::kaldi::DecodableAmSgmm2 |
DecodableAmSgmm2Scaled |
CLIF wrapper for ::kaldi::DecodableAmSgmm2Scaled |
FmllrSgmm2Accs |
CLIF wrapper for ::kaldi::FmllrSgmm2Accs |
MleAmSgmm2Accs |
CLIF wrapper for ::kaldi::MleAmSgmm2Accs |
MleAmSgmm2Options |
CLIF wrapper for ::kaldi::MleAmSgmm2Options |
MleAmSgmm2Updater |
CLIF wrapper for ::kaldi::MleAmSgmm2Updater |
MleSgmm2SpeakerAccs |
CLIF wrapper for ::kaldi::MleSgmm2SpeakerAccs |
Sgmm2FmllrConfig |
CLIF wrapper for ::kaldi::Sgmm2FmllrConfig |
Sgmm2FmllrGlobalParams |
CLIF wrapper for ::kaldi::Sgmm2FmllrGlobalParams |
Sgmm2GauPostElement |
CLIF wrapper for ::kaldi::Sgmm2GauPostElement |
Sgmm2GselectConfig |
CLIF wrapper for ::kaldi::Sgmm2GselectConfig |
Sgmm2LikelihoodCache |
CLIF wrapper for ::kaldi::Sgmm2LikelihoodCache |
Sgmm2PerFrameDerivedVars |
CLIF wrapper for ::kaldi::Sgmm2PerFrameDerivedVars |
Sgmm2PerSpkDerivedVars |
CLIF wrapper for ::kaldi::Sgmm2PerSpkDerivedVars |
Sgmm2SplitSubstatesConfig |
CLIF wrapper for ::kaldi::Sgmm2SplitSubstatesConfig |
-
class
kaldi.sgmm2.
AmSgmm2
¶ Class for definition of subspace Gmm acoustic model
-
check
(show_properties:bool=default)¶ Checks the various components for correct sizes. When the argument is set to true, dimensions of the various components is printed
-
component_posteriors
(per_frame_vars:Sgmm2PerFrameDerivedVars, j2:int, spk_vars:Sgmm2PerSpkDerivedVars) -> (loglike:float, post:Matrix)¶ Similar to
loglikelihood()
but also computes the posterior probabilities for the pre-selected Gaussian components and all substates.
-
compute_derived_vars
()¶ Computes (and initializes if neccesary) derived vars
-
compute_fmllr_pre_xform
(pdf_occs:Vector) -> (xform:Matrix, inv_xform:Matrix, diag_mean_scatter:Vector)¶ Computes the LDA-like pre-transform and its inverse as well as the eigenvalues of the scatter of the means used in FMLLR estimation
-
compute_h
() → list<SpMatrix>¶ Computes \(M_i \Sigma_i^{-1} M_i^T\)
-
compute_h_double
() → list<DoubleSpMatrix>¶ Computes \(M_i \Sigma_i^{-1} M_i^T\)
-
compute_normalizers
()¶ Computes the data-independent terms in the log-likelihood computation for each Gaussian component and all substates
-
compute_per_spk_derived_vars
(vars:Sgmm2PerSpkDerivedVars)¶ Computes the per-speaker derived vars; assumes vars->v_s is already set up.
-
computer_per_frame_vars
(data:Vector, gselect:list<int>, spk_vars:Sgmm2PerSpkDerivedVars) → Sgmm2PerFrameDerivedVars¶ Calls C++ function void ::kaldi::AmSgmm2::ComputePerFrameVars(::kaldi::Vector<float>, ::std::vector< ::int32>, ::kaldi::Sgmm2PerSpkDerivedVars, ::kaldi::Sgmm2PerFrameDerivedVars*)
-
copy_from_sgmm2
(other:AmSgmm2, copy_normalizers:bool, copy_weights:bool)¶ Copies models
-
copy_globals_init_vecs
(other:AmSgmm2, pdf2group:list<int>, self_weight:float)¶ Copies the global parameters from the supplied model, but sets the state vectors to zero.
-
feature_dim
() → int¶ Calls C++ function int ::kaldi::AmSgmm2::FeatureDim()
-
get_djms
(j1:int, m:int, spk_vars:Sgmm2PerSpkDerivedVars) → float¶ Calls C++ function float ::kaldi::AmSgmm2::GetDjms(int, int, ::kaldi::Sgmm2PerSpkDerivedVars *)
-
get_inv_covars
(gauss_index:int) → SpMatrix¶ Calls C++ function void ::kaldi::AmSgmm2::GetInvCovars(int, ::kaldi::SpMatrix<float>*)
-
get_inv_covars_double
(gauss_index:int) → DoubleSpMatrix¶ Calls C++ function void ::kaldi::AmSgmm2::GetInvCovars(int, ::kaldi::SpMatrix<double>*)
-
get_ntrans_sigma_inv
() → list<Matrix>¶ Calls C++ function void ::kaldi::AmSgmm2::GetNtransSigmaInv(::std::vector< ::kaldi::Matrix<float> >*)
-
get_ntrans_sigma_inv_double
() → list<DoubleMatrix>¶ Calls C++ function void ::kaldi::AmSgmm2::GetNtransSigmaInv(::std::vector< ::kaldi::Matrix<double> >*)
-
get_substate_mean
(j1:int, m:int, i:int, mean_out:VectorBase)¶ Calls C++ function void ::kaldi::AmSgmm2::GetSubstateMean(int, int, int, ::kaldi::VectorBase<float> *)
-
get_substate_mean_double
(j1:int, m:int, i:int, mean_out:DoubleVectorBase)¶ Calls C++ function void ::kaldi::AmSgmm2::GetSubstateMean(int, int, int, ::kaldi::VectorBase<double> *)
-
get_substate_speaker_mean
(j1:int, substate:int, gauss:int, spk:Sgmm2PerSpkDerivedVars, mean_out:VectorBase)¶ Calls C++ function void ::kaldi::AmSgmm2::GetSubstateSpeakerMean(int, int, int, ::kaldi::Sgmm2PerSpkDerivedVars, ::kaldi::VectorBase<float> *)
-
get_substate_speaker_mean_double
(j1:int, substate:int, gauss:int, spk:Sgmm2PerSpkDerivedVars, mean_out:DoubleVectorBase)¶ Calls C++ function void ::kaldi::AmSgmm2::GetSubstateSpeakerMean(int, int, int, ::kaldi::Sgmm2PerSpkDerivedVars, ::kaldi::VectorBase<double> *)
-
get_var_scaled_substate_speaker_mean
(j1:int, substate:int, gauss:int, spk:Sgmm2PerSpkDerivedVars, mean_out:VectorBase)¶ Calls C++ function void ::kaldi::AmSgmm2::GetVarScaledSubstateSpeakerMean(int, int, int, ::kaldi::Sgmm2PerSpkDerivedVars, ::kaldi::VectorBase<float> *)
-
get_var_scaled_substate_speaker_mean_double
(j1:int, substate:int, gauss:int, spk:Sgmm2PerSpkDerivedVars, mean_out:DoubleVectorBase)¶ Calls C++ function void ::kaldi::AmSgmm2::GetVarScaledSubstateSpeakerMean(int, int, int, ::kaldi::Sgmm2PerSpkDerivedVars, ::kaldi::VectorBase<double> *)
-
has_speaker_dependent_weights
() → bool¶ True if doing SSGMM
-
has_speaker_space
() → bool¶ Calls C++ function bool ::kaldi::AmSgmm2::HasSpeakerSpace()
-
increase_phone_space_dim
(target_dim:int, norm_xform:Matrix)¶ Functions for increasing the phonetic and speaker space dimensions
-
increase_spk_space_dim
(target_dim:int, norm_xform:Matrix, speaker_dependent_weights:bool)¶ Increase the subspace dimensions for speakers. speaker_dependent_weights only makes a difference if increasing the subspace dimension from zero
-
initialize_from_full_gmm
(gmm:FullGmm, pdf2group:list<int>, phn_subspace_dim:int, spk_subspace_dim:int, speaker_dependent_weights:bool, self_weight:float)¶ Initializes the SGMM parameters from a full-covariance UBM. The state2group vector maps from a state to the corresponding cluster of states [i.e., j2 to j1]. For conventionally structured systems (no 2-level tree), this can just be [0 1 … n-1 ]
-
loglikelihood
(per_frame_vars:Sgmm2PerFrameDerivedVars, j2:int, cache:Sgmm2LikelihoodCache, spk_vars:Sgmm2PerSpkDerivedVars, log_prune:float=default) → float¶ This does a log-likelihood computation for a given state using the pre-selected Gaussian components (in per_frame_vars). If the log_prune parameter is non-zero, the LogSumExp stage is prunes, which is a significant speedup
-
num_gauss
() → int¶ Calls C++ function int ::kaldi::AmSgmm2::NumGauss()
-
num_groups
() → int¶ Calls C++ function int ::kaldi::AmSgmm2::NumGroups()
-
num_pdfs
() → int¶ Calls C++ function int ::kaldi::AmSgmm2::NumPdfs()
-
num_substates_for_group
(j1:int) → int¶ Calls C++ function int ::kaldi::AmSgmm2::NumSubstatesForGroup(int)
-
num_substates_for_pdf
(j2:int) → int¶ Calls C++ function int ::kaldi::AmSgmm2::NumSubstatesForPdf(int)
-
pdf2group
(j2:int) → int¶ Calls C++ function int ::kaldi::AmSgmm2::Pdf2Group(int)
-
phone_space_dim
() → int¶ Calls C++ function int ::kaldi::AmSgmm2::PhoneSpaceDim()
-
read
(is:istream, binary:bool)¶ Calls C++ function void ::kaldi::AmSgmm2::Read(::std::basic_istream<char, ::std::char_traits<char> >, bool)
-
remove_speaker_space
()¶ Calls C++ function void ::kaldi::AmSgmm2::RemoveSpeakerSpace()
-
spk_space_dim
() → int¶ Calls C++ function int ::kaldi::AmSgmm2::SpkSpaceDim()
-
split_substates
(state_occupancies:Vector, config:Sgmm2SplitSubstatesConfig)¶ Increases the total number of substates based on the state occupancies
-
write
(os:ostream, binary:bool, write_params:int)¶ Calls C++ function void ::kaldi::AmSgmm2::Write(::std::basic_ostream<char, ::std::char_traits<char> >, bool, unsigned short)
-
-
class
kaldi.sgmm2.
DecodableAmSgmm2
¶ CLIF wrapper for ::kaldi::DecodableAmSgmm2
-
is_last_frame
(frame:int) → bool¶ Calls C++ function bool ::kaldi::DecodableAmSgmm2::IsLastFrame(int)
-
log_likelihood
(frame:int, index:int) → float¶ Returns the log-likehood of the given index for the given frame.
-
loglikelihood
(frame:int, tid:int) → float¶ Calls C++ function float ::kaldi::DecodableAmSgmm2::LogLikelihood(int, int)
-
num_frames_ready
() → int¶ Calls C++ function int ::kaldi::DecodableAmSgmm2::NumFramesReady()
-
num_indices
() → int¶ Calls C++ function int ::kaldi::DecodableAmSgmm2::NumIndices()
-
-
class
kaldi.sgmm2.
DecodableAmSgmm2Scaled
¶ CLIF wrapper for ::kaldi::DecodableAmSgmm2Scaled
-
is_last_frame
(frame:int) → bool¶ Calls C++ function bool ::kaldi::DecodableAmSgmm2::IsLastFrame(int)
-
log_likelihood
(frame:int, index:int) → float¶ Returns the log-likehood of the given index for the given frame.
-
loglikelihood
(frame:int, tid:int) → float¶ Calls C++ function float ::kaldi::DecodableAmSgmm2Scaled::LogLikelihood(int, int)
-
num_frames_ready
() → int¶ Calls C++ function int ::kaldi::DecodableAmSgmm2::NumFramesReady()
-
num_indices
() → int¶ Calls C++ function int ::kaldi::DecodableAmSgmm2::NumIndices()
-
-
class
kaldi.sgmm2.
FmllrSgmm2Accs
¶ CLIF wrapper for ::kaldi::FmllrSgmm2Accs
-
accumulate
(sgmm:AmSgmm2, data:VectorBase, frame_vars:Sgmm2PerFrameDerivedVars, statE_index:int, weights:float, spk:Sgmm2PerSpkDerivedVars) → float¶ Calls C++ function float ::kaldi::FmllrSgmm2Accs::Accumulate(::kaldi::AmSgmm2, ::kaldi::VectorBase<float>, ::kaldi::Sgmm2PerFrameDerivedVars, int, float, ::kaldi::Sgmm2PerSpkDerivedVars *)
-
accumulate_for_fmll_subspace
(sgmm:AmSgmm2, fmllr_globals:Sgmm2FmllrGlobalParams, grad_scatter:DoubleSpMatrix)¶ Calls C++ function void ::kaldi::FmllrSgmm2Accs::AccumulateForFmllrSubspace(::kaldi::AmSgmm2, ::kaldi::Sgmm2FmllrGlobalParams, ::kaldi::SpMatrix<double> *)
-
accumulate_from_posteriors
(sgmm:AmSgmm2, spk:Sgmm2PerSpkDerivedVars, data:VectorBase, gauss_select:list<int>, posteriors:Matrix, state_index:int)¶ Calls C++ function void ::kaldi::FmllrSgmm2Accs::AccumulateFromPosteriors(::kaldi::AmSgmm2, ::kaldi::Sgmm2PerSpkDerivedVars, ::kaldi::VectorBase<float>, ::std::vector< ::int32>, ::kaldi::Matrix<float>, int)
-
dim
() → int¶ Calls C++ function int ::kaldi::FmllrSgmm2Accs::Dim()
-
fmllr_obj_gradient
(sgmm:AmSgmm2, xform:Matrix) -> (gradient:float, grad_out:Matrix, G_out:Matrix)¶ Calls C++ function float ::kaldi::FmllrSgmm2Accs::FmllrObjGradient(::kaldi::AmSgmm2, ::kaldi::Matrix<float>, ::kaldi::Matrix<float>*, ::kaldi::Matrix<float>*)
-
init
(dim:int, num_gaussians:int)¶ Calls C++ function void ::kaldi::FmllrSgmm2Accs::Init(int, int)
-
read
(in_stream:istream, binary:bool, add:bool)¶ Calls C++ function void ::kaldi::FmllrSgmm2Accs::Read(::std::basic_istream<char, ::std::char_traits<char> >, bool, bool)
-
set_zero
()¶ Calls C++ function void ::kaldi::FmllrSgmm2Accs::SetZero()
-
write
(out_stream:ostream, binary:bool)¶ Calls C++ function void ::kaldi::FmllrSgmm2Accs::Write(::std::basic_ostream<char, ::std::char_traits<char> >, bool)
-
-
class
kaldi.sgmm2.
MleAmSgmm2Accs
¶ CLIF wrapper for ::kaldi::MleAmSgmm2Accs
-
accumulate
(model:AmSgmm2, frame_vars:Sgmm2PerFrameDerivedVars, pdf_index:int, weight:float, spk_vars:Sgmm2PerSpkDerivedVars) → float¶ - Returns
- Likelihood
-
accumulate_from_posteriors
(model:AmSgmm2, frame_vars:Sgmm2PerFrameDerivedVars, posteriors:Matrix, pdf_index:int, spk_vars:Sgmm2PerSpkDerivedVars) → float¶ Returns count accumulated
-
check
(model:AmSgmm2, show_properties:bool=default)¶ Checks the various accumulators for correct sizes given a model. With wrong sizes, assertion failure occurs. When the show_properties argument is set to true, dimensions and presence/absence of the various accumulators is printed
-
commit_stats_for_spk
(model:AmSgmm2, spk_vars:Sgmm2PerSpkDerivedVars)¶ Calls C++ function void ::kaldi::MleAmSgmm2Accs::CommitStatsForSpk(::kaldi::AmSgmm2, ::kaldi::Sgmm2PerSpkDerivedVars)
-
feature_dim
() → int¶ Calls C++ function int ::kaldi::MleAmSgmm2Accs::FeatureDim()
-
get_state_occupancies
() → Vector¶ Calls C++ function void ::kaldi::MleAmSgmm2Accs::GetStateOccupancies(::kaldi::Vector<float>*)
-
new_with_params
(model:AmSgmm2, flags:int, have_spk_vecs:bool, rand_prune:float=default) → MleAmSgmm2Accs¶ Calls C++ function std::unique_ptr<::kaldi::MleAmSgmm2Accs> ::kaldi::MleAmSgmm2Accs::MleAmSgmm2Accs(::kaldi::AmSgmm2, unsigned short, bool, float)
-
num_gauss
() → int¶ Calls C++ function int ::kaldi::MleAmSgmm2Accs::NumGauss()
-
num_groups
() → int¶ Calls C++ function int ::kaldi::MleAmSgmm2Accs::NumGroups()
-
num_pdfs
() → int¶ Calls C++ function int ::kaldi::MleAmSgmm2Accs::NumPdfs()
-
phone_space_dim
() → int¶ Calls C++ function int ::kaldi::MleAmSgmm2Accs::PhoneSpaceDim()
-
read
(in_stream:istream, binary:bool, add:bool)¶ Calls C++ function void ::kaldi::MleAmSgmm2Accs::Read(::std::basic_istream<char, ::std::char_traits<char> >, bool, bool)
-
resize_accumulators
(model:AmSgmm2, flags:int, have_spk_vecs:bool)¶ Resizes the accumulators to the correct sizes given the model. The flags argument controls which accumulators to resize
-
write
(out_stream:ostream, binary:bool)¶ Calls C++ function void ::kaldi::MleAmSgmm2Accs::Write(::std::basic_ostream<char, ::std::char_traits<char> >, bool)
-
-
class
kaldi.sgmm2.
MleAmSgmm2Options
¶ CLIF wrapper for ::kaldi::MleAmSgmm2Options
-
cov_diag_ratio
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.cov_diag_ratio
-
cov_floor
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.cov_floor
-
epsilon
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.epsilon
-
full_row_cov
¶ C++ bool MleAmSgmm2Options.full_row_cov
-
map_M_prior_iters
¶ C++ int MleAmSgmm2Options.map_M_prior_iters
-
max_cond
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.max_cond
-
max_impr_u
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.max_impr_u
-
register
(opts:OptionsItf)¶ Calls C++ function void ::kaldi::MleAmSgmm2Options::Register(::kaldi::OptionsItf *)
-
renormalize_N
¶ C++ bool MleAmSgmm2Options.renormalize_N
-
renormalize_V
¶ C++ bool MleAmSgmm2Options.renormalize_V
-
tau_c
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.tau_c
-
tau_map_M
¶ C++ ::kaldi::BaseFloat MleAmSgmm2Options.tau_map_M
-
weight_projections_iters
¶ C++ int MleAmSgmm2Options.weight_projections_iters
-
-
class
kaldi.sgmm2.
MleAmSgmm2Updater
¶ CLIF wrapper for ::kaldi::MleAmSgmm2Updater
-
reconfigure
(options:MleAmSgmm2Options)¶ Calls C++ function void ::kaldi::MleAmSgmm2Updater::Reconfigure(::kaldi::MleAmSgmm2Options)
-
-
class
kaldi.sgmm2.
MleSgmm2SpeakerAccs
¶ CLIF wrapper for ::kaldi::MleSgmm2SpeakerAccs
-
accumulate
(model:AmSgmm2, frame_vars:Sgmm2PerFrameDerivedVars, pdf_index:int, weight:float, spk_vars:Sgmm2PerSpkDerivedVars) → float¶ Accumulate statistics. Returns per-frame log-likelihood.
-
accumulate_from_posteriors
(model:AmSgmm2, frame_vars:Sgmm2PerFrameDerivedVars, posteriors:Matrix, pdf_index:int, spk_vars:Sgmm2PerSpkDerivedVars) → float¶ Accumulate statistics, given posteriors.
- Returns
- Total count accumulated
-
clear
()¶ Calls C++ function void ::kaldi::MleSgmm2SpeakerAccs::Clear()
-
-
class
kaldi.sgmm2.
Sgmm2FmllrConfig
¶ CLIF wrapper for ::kaldi::Sgmm2FmllrConfig
-
bases_occ_scale
¶ C++ ::kaldi::BaseFloat Sgmm2FmllrConfig.bases_occ_scale
-
fmllr_iters
¶ C++ ::int32 Sgmm2FmllrConfig.fmllr_iters
-
fmllr_min_count
¶ C++ ::kaldi::BaseFloat Sgmm2FmllrConfig.fmllr_min_count
-
fmllr_min_count_basis
¶ C++ ::kaldi::BaseFloat Sgmm2FmllrConfig.fmllr_min_count_basis
-
fmllr_min_count_full
¶ C++ ::kaldi::BaseFloat Sgmm2FmllrConfig.fmllr_min_count_full
-
num_fmllr_bases
¶ C++ ::int32 Sgmm2FmllrConfig.num_fmllr_bases
-
register
(opts:OptionsItf)¶ Calls C++ function void ::kaldi::Sgmm2FmllrConfig::Register(::kaldi::OptionsItf *)
-
step_iters
¶ C++ ::int32 Sgmm2FmllrConfig.step_iters
-
-
class
kaldi.sgmm2.
Sgmm2FmllrGlobalParams
¶ CLIF wrapper for ::kaldi::Sgmm2FmllrGlobalParams
-
fmllr_bases_
¶ C++ ::std::vector< ::kaldi::Matrix< ::kaldi::BaseFloat> > Sgmm2FmllrGlobalParams.fmllr_bases_
-
has_basis
() → bool¶ Calls C++ function bool ::kaldi::Sgmm2FmllrGlobalParams::HasBasis()
-
init
(sgmm:AmSgmm2, state_occs:Vector)¶ Calls C++ function void ::kaldi::Sgmm2FmllrGlobalParams::Init(::kaldi::AmSgmm2, ::kaldi::Vector<float>)
-
inv_xform_
¶ C++ ::kaldi::Matrix< ::kaldi::BaseFloat> Sgmm2FmllrGlobalParams.inv_xform_
-
is_empty
() → bool¶ Calls C++ function bool ::kaldi::Sgmm2FmllrGlobalParams::IsEmpty()
-
mean_scatter_
¶ C++ ::kaldi::Vector< ::kaldi::BaseFloat> Sgmm2FmllrGlobalParams.mean_scatter_
-
pre_xform_
¶ C++ ::kaldi::Matrix< ::kaldi::BaseFloat> Sgmm2FmllrGlobalParams.pre_xform_
-
read
(in_stream:istream, binary:bool)¶ Calls C++ function void ::kaldi::Sgmm2FmllrGlobalParams::Read(::std::basic_istream<char, ::std::char_traits<char> >, bool)
-
write
(out_stream:ostream, binary:bool)¶ Calls C++ function void ::kaldi::Sgmm2FmllrGlobalParams::Write(::std::basic_ostream<char, ::std::char_traits<char> >, bool)
-
-
class
kaldi.sgmm2.
Sgmm2GauPostElement
¶ CLIF wrapper for ::kaldi::Sgmm2GauPostElement
-
gselect
¶ C++ ::std::vector< ::int32> Sgmm2GauPostElement.gselect
-
posteriors
¶ C++ ::std::vector< ::kaldi::Matrix< ::kaldi::BaseFloat> > Sgmm2GauPostElement.posteriors
-
tids
¶ C++ ::std::vector< ::int32> Sgmm2GauPostElement.tids
-
-
class
kaldi.sgmm2.
Sgmm2GselectConfig
¶ CLIF wrapper for ::kaldi::Sgmm2GselectConfig
-
diag_gmm_nbest
¶ C++ ::int32 Sgmm2GselectConfig.diag_gmm_nbest
-
full_gmm_nbest
¶ C++ ::int32 Sgmm2GselectConfig.full_gmm_nbest
-
-
class
kaldi.sgmm2.
Sgmm2LikelihoodCache
¶ CLIF wrapper for ::kaldi::Sgmm2LikelihoodCache
-
class
PdfCacheElement
¶ CLIF wrapper for ::kaldi::Sgmm2LikelihoodCache::PdfCacheElement
-
log_like
¶ C++ ::kaldi::BaseFloat Sgmm2LikelihoodCache::PdfCacheElement.log_like
-
t
¶ C++ ::int32 Sgmm2LikelihoodCache::PdfCacheElement.t
-
-
class
SubstateCacheElement
¶ CLIF wrapper for ::kaldi::Sgmm2LikelihoodCache::SubstateCacheElement
-
likes
¶ C++ ::kaldi::Vector< ::kaldi::BaseFloat> Sgmm2LikelihoodCache::SubstateCacheElement.likes
-
remaining_log_like
¶ C++ ::kaldi::BaseFloat Sgmm2LikelihoodCache::SubstateCacheElement.remaining_log_like
-
t
¶ C++ ::int32 Sgmm2LikelihoodCache::SubstateCacheElement.t
-
-
next_frame
()¶ Increments t
-
pdf_cache
¶ C++ ::std::vector< ::kaldi::Sgmm2LikelihoodCache::PdfCacheElement> Sgmm2LikelihoodCache.pdf_cache
-
substate_cache
¶ C++ ::std::vector< ::kaldi::Sgmm2LikelihoodCache::SubstateCacheElement> Sgmm2LikelihoodCache.substate_cache
-
t
¶ C++ ::int32 Sgmm2LikelihoodCache.t
-
class
-
class
kaldi.sgmm2.
Sgmm2PerFrameDerivedVars
¶ CLIF wrapper for ::kaldi::Sgmm2PerFrameDerivedVars
-
gselect
¶ C++ ::std::vector< ::int32> Sgmm2PerFrameDerivedVars.gselect
-
nti
¶ C++ ::kaldi::Vector< ::kaldi::BaseFloat> Sgmm2PerFrameDerivedVars.nti
-
resize
(ngauss:int, feat_dim:int, phn_dim:int)¶ Calls C++ function void ::kaldi::Sgmm2PerFrameDerivedVars::Resize(int, int, int)
-
xt
¶ C++ ::kaldi::Vector< ::kaldi::BaseFloat> Sgmm2PerFrameDerivedVars.xt
-
xti
¶ C++ ::kaldi::Matrix< ::kaldi::BaseFloat> Sgmm2PerFrameDerivedVars.xti
-
zti
¶ C++ ::kaldi::Matrix< ::kaldi::BaseFloat> Sgmm2PerFrameDerivedVars.zti
-
-
class
kaldi.sgmm2.
Sgmm2PerSpkDerivedVars
¶ CLIF wrapper for ::kaldi::Sgmm2PerSpkDerivedVars
-
clear
()¶ Calls C++ function void ::kaldi::Sgmm2PerSpkDerivedVars::Clear()
-
empty
() → bool¶ Calls C++ function bool ::kaldi::Sgmm2PerSpkDerivedVars::Empty()
-
get_speaker_vector
() → Vector¶ Calls C++ function ::kaldi::Vector<float> ::kaldi::Sgmm2PerSpkDerivedVars::GetSpeakerVector()
-
set_speaker_vector
(v_s_in:Vector)¶ Calls C++ function void ::kaldi::Sgmm2PerSpkDerivedVars::SetSpeakerVector(::kaldi::Vector<float>)
-
-
class
kaldi.sgmm2.
Sgmm2SplitSubstatesConfig
¶ CLIF wrapper for ::kaldi::Sgmm2SplitSubstatesConfig
-
max_cond
¶ C++ ::kaldi::BaseFloat Sgmm2SplitSubstatesConfig.max_cond
-
min_count
¶ C++ ::kaldi::BaseFloat Sgmm2SplitSubstatesConfig.min_count
-
perturb_factor
¶ C++ ::kaldi::BaseFloat Sgmm2SplitSubstatesConfig.perturb_factor
-
power
¶ C++ ::kaldi::BaseFloat Sgmm2SplitSubstatesConfig.power
-
register
(opts:OptionsItf)¶ Calls C++ function void ::kaldi::Sgmm2SplitSubstatesConfig::Register(::kaldi::OptionsItf *)
-
split_substates
¶ C++ ::int32 Sgmm2SplitSubstatesConfig.split_substates
-
-
kaldi.sgmm2.
compute_feature_normalizing_transform
(gmm:FullGmm) → Matrix¶ Calls C++ function void ::kaldi::ComputeFeatureNormalizingTransform(::kaldi::FullGmm, ::kaldi::Matrix<float>*)