Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
sherpaonnx
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Fangjun Kuang
2023-03-05 10:00:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2023-03-05 10:00:18 +0800
Commit
c230cf0a97e85162bce610117b54daba3e884823
c230cf0a
1 parent
62ae1dcd
Fix building wheels for Windows (#81)
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
sherpa-onnx/python/csrc/features.cc
sherpa-onnx/python/csrc/features.cc
查看文件 @
c230cf0
...
...
@@ -11,7 +11,7 @@ namespace sherpa_onnx {
static
void
PybindFeatureExtractorConfig
(
py
::
module
*
m
)
{
using
PyClass
=
FeatureExtractorConfig
;
py
::
class_
<
PyClass
>
(
*
m
,
"FeatureExtractorConfig"
)
.
def
(
py
::
init
<
floa
t
,
int32_t
,
int32_t
>
(),
.
def
(
py
::
init
<
int32_
t
,
int32_t
,
int32_t
>
(),
py
::
arg
(
"sampling_rate"
)
=
16000
,
py
::
arg
(
"feature_dim"
)
=
80
,
py
::
arg
(
"max_feature_vectors"
)
=
-
1
)
.
def_readwrite
(
"sampling_rate"
,
&
PyClass
::
sampling_rate
)
...
...
请
注册
或
登录
后发表评论