bug fix: ReadClassInfo() is not deprecated
This commit is contained in:
Родитель
cbb8fc11d7
Коммит
1fb343866b
|
@ -555,6 +555,7 @@ void SequenceReader<ElemType>::InitFromConfig(const ConfigRecordType& readerConf
|
|||
mUnk = readerConfig(L"unk", "<unk>");
|
||||
}
|
||||
|
||||
#if 0
|
||||
template <class ElemType>
|
||||
void SequenceReader<ElemType>::ReadWord(char* word, FILE* fin)
|
||||
{
|
||||
|
@ -598,6 +599,7 @@ void SequenceReader<ElemType>::ReadWord(char* word, FILE* fin)
|
|||
}
|
||||
word[a] = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
template <class ElemType>
|
||||
void SequenceReader<ElemType>::ReadClassInfo(const wstring& vocfile, int& classSize,
|
||||
|
@ -610,8 +612,6 @@ void SequenceReader<ElemType>::ReadClassInfo(const wstring& vocfile, int& classS
|
|||
noiseSampler<long>& m_noiseSampler,
|
||||
bool /*flatten*/)
|
||||
{
|
||||
FailBecauseDeprecated(__FUNCTION__); // DEPRECATED CLASS, SHOULD NOT BE USED ANYMORE
|
||||
|
||||
string tmp_vocfile(vocfile.begin(), vocfile.end()); // convert from wstring to string
|
||||
string strtmp;
|
||||
size_t cnt;
|
||||
|
|
|
@ -250,7 +250,7 @@ public:
|
|||
string mUnk,
|
||||
noiseSampler<long>& m_noiseSampler,
|
||||
bool flatten);
|
||||
static void ReadWord(char* wrod, FILE* fin);
|
||||
//static void ReadWord(char* wrod, FILE* fin);
|
||||
|
||||
void GetLabelOutput(std::map<std::wstring, Matrix<ElemType>*>& matrices,
|
||||
size_t m_mbStartSample, size_t actualmbsize);
|
||||
|
|
Загрузка…
Ссылка в новой задаче