Skip to content

Commit

Permalink
Merge pull request BVLC#4236 from CDLuminate/fix-spelling-error
Browse files Browse the repository at this point in the history
fix spelling error in memory_data_layer.cpp
  • Loading branch information
shelhamer committed May 31, 2016
2 parents 184a005 + 09546db commit 6f15463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caffe/layers/memory_data_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void MemoryDataLayer<Dtype>::set_batch_size(int new_size) {
template <typename Dtype>
void MemoryDataLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
CHECK(data_) << "MemoryDataLayer needs to be initalized by calling Reset";
CHECK(data_) << "MemoryDataLayer needs to be initialized by calling Reset";
top[0]->Reshape(batch_size_, channels_, height_, width_);
top[1]->Reshape(batch_size_, 1, 1, 1);
top[0]->set_cpu_data(data_ + pos_ * size_);
Expand Down

0 comments on commit 6f15463

Please sign in to comment.