Skip to content

Commit 054ac35

Browse files
committed
Merge branch 'master' of https://github.com/Microsoft/CNTK
2 parents d582eb2 + 742e239 commit 054ac35

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

Source/Common/DataReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ void DataReader<ElemType>::StartDistributedMinibatchLoop(size_t mbSize, size_t e
164164
}
165165

166166
// GetMinibatch - Get the next minibatch (features and labels)
167-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
167+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
168168
// [out] each matrix resized if necessary containing data.
169169
// returns - true if there are more minibatches, false if no more minibatchs remain
170170
template <class ElemType>

Source/Common/Include/DataReader.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class DataReader : public IDataReader<ElemType>, protected Plugin, public Script
264264
virtual void StartDistributedMinibatchLoop(size_t mbSize, size_t epoch, size_t subsetNum, size_t numSubsets, size_t requestedEpochSamples = requestDataSize) override;
265265

266266
// GetMinibatch - Get the next minibatch (features and labels)
267-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
267+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
268268
// [out] each matrix resized if necessary containing data.
269269
// returns - true if there are more minibatches, false if no more minibatchs remain
270270
virtual bool GetMinibatch(std::map<std::wstring, Matrix<ElemType>*>& matrices);

Source/EvalDll/EvalReader.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class EvalReader : public IDataReader<ElemType>
114114
}
115115

116116
// GetMinibatch - Get the next minibatch (features and labels)
117-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
117+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
118118
// [out] each matrix resized if necessary containing data.
119119
// returns - true if there are more minibatches, false if no more minibatchs remain
120120
virtual bool GetMinibatch(std::map<std::wstring, Matrix<ElemType>*>& matrices)

Source/Readers/BinaryReader/BinaryReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ bool BinaryReader<ElemType>::CheckEndDataset(size_t actualmbsize)
240240
}
241241

242242
// GetMinibatch - Get the next minibatch (features and labels)
243-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
243+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
244244
// [out] each matrix resized if necessary containing data.
245245
// returns - true if there are more minibatches, false if no more minibatchs remain
246246
template <class ElemType>

Source/Readers/DSSMReader/DSSMReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ void DSSMReader<ElemType>::StoreLabel(ElemType& labelStore, const LabelType& lab
316316
}
317317

318318
// GetMinibatch - Get the next minibatch (features and labels)
319-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
319+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
320320
// [out] each matrix resized if necessary containing data.
321321
// returns - true if there are more minibatches, false if no more minibatchs remain
322322
template <class ElemType>

Source/Readers/HTKMLFReader/HTKMLFReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ bool HTKMLFReader<ElemType>::GetHmmData(msra::asr::simplesenonehmm* hmm)
852852
return true;
853853
}
854854
// GetMinibatch - Get the next minibatch (features and labels)
855-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
855+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
856856
// [out] each matrix resized if necessary containing data.
857857
// returns - true if there are more minibatches, false if no more minibatchs remain
858858
// TODO: Why do we have two read functions? Is one not a superset of the other?

Source/Readers/Kaldi2Reader/HTKMLFReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ void HTKMLFReader<ElemType>::StartMinibatchLoopToWrite(size_t mbSize, size_t /*e
896896
}
897897

898898
// GetMinibatch - Get the next minibatch (features and labels)
899-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
899+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
900900
// [out] each matrix resized if necessary containing data.
901901
// returns - true if there are more minibatches, false if no more minibatchs remain
902902
template <class ElemType>

Source/Readers/SparsePCReader/SparsePCReader.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ void SparsePCReader<ElemType>::StartMinibatchLoop(size_t mbSize, size_t /*epoch*
178178
}
179179

180180
// GetMinibatch - Get the next minibatch (features and labels)
181-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
181+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
182182
// [out] each matrix resized if necessary containing data.
183183
// returns - true if there are more minibatches, false if no more minibatchs remain
184184
template <class ElemType>

Source/Readers/UCIFastReader/UCIFastReader.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ void UCIFastReader<ElemType>::StoreLabel(ElemType& labelStore, const LabelType&
740740
}
741741

742742
// GetMinibatch - Get the next minibatch (features and labels)
743-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
743+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
744744
// [out] each matrix resized if necessary containing data.
745745
// returns - true if there are more minibatches, false if no more minibatchs remain
746746
template <class ElemType>
@@ -758,7 +758,7 @@ bool UCIFastReader<ElemType>::GetMinibatch(std::map<std::wstring, Matrix<ElemTyp
758758
{
759759
if (m_prefetchMatrices.find(iter->first) == m_prefetchMatrices.end())
760760
{
761-
LogicError("No mathing prefetch matrix found for matrix named %S!", iter->first.c_str());
761+
LogicError("No matching prefetch matrix found for matrix named %S!", iter->first.c_str());
762762
}
763763

764764
Matrix<ElemType>* prefetchMatrix = m_prefetchMatrices[iter->first].get();
@@ -806,7 +806,7 @@ bool UCIFastReader<ElemType>::GetMinibatch(std::map<std::wstring, Matrix<ElemTyp
806806
}
807807

808808
// GetMinibatchImpl - The actual implementation of getting the next minibatch (features and labels)
809-
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponing matrix,
809+
// matrices - [in] a map with named matrix types (i.e. 'features', 'labels') mapped to the corresponding matrix,
810810
// [out] each matrix resized if necessary containing data.
811811
// returns - true if there are more minibatches, false if no more minibatchs remain
812812
template <class ElemType>

0 commit comments

Comments
 (0)