Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kaldi_2015
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yoann HOUPERT
kaldi_2015
Commits
9073d6a0
Commit
9073d6a0
authored
Aug 05, 2015
by
Jan "yenda" Trmal
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #54 from jtrmal/gcc_44_fixes
Fixing GCC 4.4 -std=gnu++0x compilation issues
parents
c9757e06
2e7ba80e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
src/nnet2bin/nnet-shuffle-egs.cc
src/nnet2bin/nnet-shuffle-egs.cc
+13
-12
No files found.
src/nnet2bin/nnet-shuffle-egs.cc
View file @
9073d6a0
...
...
@@ -75,7 +75,8 @@ int main(int argc, char *argv[]) {
std
::
random_shuffle
(
egs
.
begin
(),
egs
.
end
());
}
else
{
KALDI_ASSERT
(
buffer_size
>
0
);
egs
.
resize
(
buffer_size
,
std
::
pair
<
std
::
string
,
NnetExample
*>
(
""
,
NULL
));
egs
.
resize
(
buffer_size
,
std
::
pair
<
std
::
string
,
NnetExample
*>
(
""
,
static_cast
<
NnetExample
*>
(
NULL
)));
for
(;
!
example_reader
.
Done
();
example_reader
.
Next
())
{
int32
index
=
RandInt
(
0
,
buffer_size
-
1
);
if
(
egs
[
index
].
second
==
NULL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment