diff --git a/Source/ActionsLib/OtherActions.cpp b/Source/ActionsLib/OtherActions.cpp index a8c9c7df8..ae6df366f 100644 --- a/Source/ActionsLib/OtherActions.cpp +++ b/Source/ActionsLib/OtherActions.cpp @@ -148,7 +148,7 @@ template void DoCreateLabelMap(const ConfigParameters& config); // 1) modelPath -- path to the existing model // 2) outputmodelPath -- where to write the transformed model // 3) KeepRatio -- how many percentage of energy we want to keep -// 4) AlignedSize -- the resultant number of signular values is aligned to e.g., 32 or 64 +// 4) AlignedSize -- the resultant number of signular values is aligned to e.g., 32 or 64 // 5) ParameterName -- name (regex) of the parameter node we want to perform a SVD decomposition // ////////////////////////////////////////////////////////////////////////// diff --git a/Source/Math/GPUMatrix.cu b/Source/Math/GPUMatrix.cu index f78947ee9..643c9d143 100644 --- a/Source/Math/GPUMatrix.cu +++ b/Source/Math/GPUMatrix.cu @@ -4481,7 +4481,7 @@ GPUMatrix& GPUMatrix::AssignElementProductOfWithShiftNeg(con if (do_sync) CUDA_CALL(cudaEventCreate(&done)); _assignElementProductOfWithShiftNeg<<>>(m_pArray, a.m_pArray, b.m_pArray, shift, nt + 1, BS); - // _assignElementProductOf << > >(m_pArray, a.m_pArray, b.m_pArray, nt); + // _assignElementProductOf << > >(m_pArray, a.m_pArray, b.m_pArray, nt); if (do_sync) CUDA_CALL(cudaEventRecord(done)); @@ -4556,7 +4556,7 @@ GPUMatrix& GPUMatrix::GetARowByIndex(const GPUMatrix<<>>(m_pArray, a.m_pArray, n, P, m); - // _assignElementProductOf << > >(m_pArray, a.m_pArray, b.m_pArray, nt); + // _assignElementProductOf << > >(m_pArray, a.m_pArray, b.m_pArray, nt); if (do_sync) CUDA_CALL(cudaEventRecord(done)); diff --git a/Source/Math/latticefunctionskernels.h b/Source/Math/latticefunctionskernels.h index 76afd6b7b..5b9d98684 100644 --- a/Source/Math/latticefunctionskernels.h +++ b/Source/Math/latticefunctionskernels.h @@ -423,12 +423,12 @@ struct latticefunctionskernels pathscore0 += getlogtransp(transP,-1,0) + logLLs(senoneid0,ts); pathscore2 += getlogtransp(transP,-1,2) + logLLs(senoneid2,ts); } - else //for others, only -1 to 0 is permitted - { - pathscore0 += getlogtransp(transP, -1, 0) + logLLs(senoneid0, ts); - pathscore1 += getlogtransp(transP, -1, 1) + logLLs(senoneid1, ts); + else //for others, only -1 to 0 is permitted + { + pathscore0 += getlogtransp(transP, -1, 0) + logLLs(senoneid0, ts); + pathscore1 += getlogtransp(transP, -1, 1) + logLLs(senoneid1, ts); - }*/ + }*/ pathscore2 += getlogtransp(transP, -1, 2) + logLLs(senoneid2, ts); pathscore1 += getlogtransp(transP, -1, 1) + logLLs(senoneid1, ts); //state1stepm1to1 = ts; diff --git a/Source/Readers/LMSequenceReader/SequenceReader.h b/Source/Readers/LMSequenceReader/SequenceReader.h index 3ad75c7e2..911cfc894 100644 --- a/Source/Readers/LMSequenceReader/SequenceReader.h +++ b/Source/Readers/LMSequenceReader/SequenceReader.h @@ -282,7 +282,7 @@ public: delete m_labelsIdBufferRow; delete m_labelsBlock2Id; delete m_labelsBlock2UniqId; - */ + */ } virtual ~SequenceReader(); virtual void StartMinibatchLoop(size_t mbSize, size_t epoch, size_t requestedEpochSamples = requestDataSize); @@ -336,8 +336,8 @@ public: using SequenceReader::m_traceLevel; using SequenceReader::m_featureCount; using SequenceReader::m_endReached; - // using IDataReader::labelIn; - // using IDataReader::labelOut; + // using IDataReader::labelIn; + // using IDataReader::labelOut; using SequenceReader::InitCache; using SequenceReader::m_readerConfig; using SequenceReader::ReleaseMemory; @@ -345,8 +345,8 @@ public: using SequenceReader::m_featuresBufferRow; using SequenceReader::m_labelsBuffer; using SequenceReader::m_labelsIdBuffer; - // using IDataReader::labelInfo; - // using SequenceReader::m_featuresBufferRowIndex; + // using IDataReader::labelInfo; + // using SequenceReader::m_featuresBufferRowIndex; using SequenceReader::m_labelsIdBufferRow; using SequenceReader::m_labelsBlock2Id; using SequenceReader::m_labelsBlock2UniqId; diff --git a/Source/Readers/LibSVMBinaryReader/LibSVMBinaryReader.cpp b/Source/Readers/LibSVMBinaryReader/LibSVMBinaryReader.cpp index 48bf22629..fd123a863 100644 --- a/Source/Readers/LibSVMBinaryReader/LibSVMBinaryReader.cpp +++ b/Source/Readers/LibSVMBinaryReader/LibSVMBinaryReader.cpp @@ -349,7 +349,7 @@ bool SparseBinaryInput::Randomize() return true; } return false; - */ + */ } template @@ -548,14 +548,14 @@ size_t SparseBinaryInput::ReadMinibatch(void* data_buffer, std::map::GetMinibatch(std::map