提交 f1c9ba07 编写于 作者: T Tensor Tang

fix reshape core

上级 17033cd0
...@@ -158,12 +158,12 @@ TEST(conv_arm, compute) { ...@@ -158,12 +158,12 @@ TEST(conv_arm, compute) {
filter.Resize(filter_shape); filter.Resize(filter_shape);
output.Resize(output_shape); output.Resize(output_shape);
output_ref.Resize(output_shape); output_ref.Resize(output_shape);
LOG(INFO) << "input: " << input.dims(); VLOG(3) << "input: " << input.dims();
LOG(INFO) << "filter: " << filter.dims() VLOG(3) << "filter: " << filter.dims()
<< " padding:" << padding << " padding:" << padding
<< " stride:" << stride << " stride:" << stride
<< " dilation:" << dilation; << " dilation:" << dilation;
LOG(INFO) << "output: " << output.dims(); VLOG(3) << "output: " << output.dims();
auto* input_data = input.mutable_data<float>(); auto* input_data = input.mutable_data<float>();
auto* filter_data = filter.mutable_data<float>(); auto* filter_data = filter.mutable_data<float>();
auto* output_data = output.mutable_data<float>(); auto* output_data = output.mutable_data<float>();
......
...@@ -54,11 +54,11 @@ class Any { ...@@ -54,11 +54,11 @@ class Any {
bool valid() const { return data_; } bool valid() const { return data_; }
~Any() { // ~Any() {
if (valid()) { // if (valid()) {
deleter_(); // deleter_();
} // }
} // }
private: private:
static size_t kInvalidType; static size_t kInvalidType;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册