Skip to content

Commit 051d6a2

Browse files
authored
Merge pull request #4016 from naxingyu/sync-pybind11-with-master
Sync pybind11 with master
2 parents 3f64b59 + 4569930 commit 051d6a2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/cudafeat/online-ivector-feature-cuda.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void IvectorExtractorFastCuda::GetIvector(const CuMatrixBase<BaseFloat> &feats,
4545
int lda_cols = cu_lda_.NumCols();
4646

4747
// normalized pipeline
48-
CuMatrix<BaseFloat> lda_feats_normalized(rows, cols, kUndefined);
48+
CuMatrix<BaseFloat> lda_feats_normalized(rows, lda_rows, kUndefined);
4949
{
5050
CudaOnlineCmvn cmvn(info_.cmvn_opts, naive_cmvn_state_);
5151
CuMatrix<BaseFloat> cmvn_feats(rows, cols, kUndefined);
@@ -81,7 +81,7 @@ void IvectorExtractorFastCuda::GetIvector(const CuMatrixBase<BaseFloat> &feats,
8181
}
8282

8383
// non-normalized pipeline
84-
CuMatrix<BaseFloat> lda_feats(feats.NumRows(), feats.NumCols(), kUndefined);
84+
CuMatrix<BaseFloat> lda_feats(rows, lda_rows, kUndefined);
8585
{
8686
CuMatrix<BaseFloat> spliced_feats;
8787

src/matrix/kaldi-blas.h

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
#include <mkl.h>
9494
}
9595
#elif defined(HAVE_OPENBLAS)
96+
#include <complex>
9697
// getting cblas.h and lapacke.h from <openblas-install-dir>/.
9798
// putting in "" not <> to search -I before system libraries.
9899
#include "cblas.h"

src/online2/online-endpoint.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ struct OnlineEndpointConfig {
129129
/// that we consider as silence for purposes of
130130
/// endpointing.
131131

132-
/// We support four rules. We terminate decoding if ANY of these rules
132+
/// We support five rules. We terminate decoding if ANY of these rules
133133
/// evaluates to "true". If you want to add more rules, do it by changing this
134134
/// code. If you want to disable a rule, you can set the silence-timeout for
135135
/// that rule to a very large number.

0 commit comments

Comments
 (0)