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

fix reshape core

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