Skip to content

Commit

Permalink
fix resize bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cyj1986 committed Sep 7, 2018
1 parent 0b83eb1 commit 1ae3bd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion framework/core/net/net.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,11 @@ void Net<Ttype, Dtype, Ptype, RunType>::prediction() {
#define RECORD_INNER
#if defined(RECORD_INNER) && defined(USE_X86_PLACE)
record_tensor_to_file(*out,("record_"+executer.name).c_str());
if(executer.name=="")
#endif
LOG(INFO) <<executer.name <<" d_tensor_out_p :" <<out->data();
#ifdef USE_CUDA
record_tensor_to_file(*out,("record_"+executer.name).c_str());
#endif
#ifdef USE_X86_PLACE
// for (int i = 0; i < 10; ++i) {
// std::cout << out->data()[i]<<" ";
Expand Down

0 comments on commit 1ae3bd5

Please sign in to comment.