Kaldi
kaldi-thread.cc
Go to the documentation of this file.
1
// util/kaldi-thread.cc
2
3
// Copyright 2012 Johns Hopkins University (Author: Daniel Povey)
4
// Frantisek Skala
5
6
// See ../../COPYING for clarification regarding multiple authors
7
//
8
// Licensed under the Apache License, Version 2.0 (the "License");
9
// you may not use this file except in compliance with the License.
10
// You may obtain a copy of the License at
11
//
12
// http://www.apache.org/licenses/LICENSE-2.0
13
//
14
// THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
// KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
16
// WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
17
// MERCHANTABLITY OR NON-INFRINGEMENT.
18
// See the Apache 2 License for the specific language governing permissions and
19
// limitations under the License.
20
21
#include "
base/kaldi-common.h
"
22
#include "
util/kaldi-thread.h
"
23
24
namespace
kaldi
{
25
int32
g_num_threads
= 8;
// Initialize this global variable.
26
27
MultiThreadable::~MultiThreadable
() {
28
// default implementation does nothing
29
}
30
31
32
33
}
// end namespace kaldi
kaldi
This code computes Goodness of Pronunciation (GOP) and extracts phone-level pronunciation feature for...
Definition:
chain.dox:20
kaldi-thread.h
kaldi::g_num_threads
int32 g_num_threads
Definition:
kaldi-thread.cc:25
kaldi::int32
kaldi::int32 int32
Definition:
online-tcp-source.cc:27
kaldi::MultiThreadable::~MultiThreadable
virtual ~MultiThreadable()
Definition:
kaldi-thread.cc:27
kaldi-common.h
util
kaldi-thread.cc
Generated by
1.8.13