提交 952fef7a 编写于 作者: 李滨

Merge branch 'master' into 'master'

Fix sgemm bug

See merge request !792
...@@ -60,7 +60,7 @@ void SGemm::operator()(const MatrixMap<const float> &lhs, ...@@ -60,7 +60,7 @@ void SGemm::operator()(const MatrixMap<const float> &lhs,
lhs.size() * sizeof(float)), DT_FLOAT)); lhs.size() * sizeof(float)), DT_FLOAT));
} }
if (!rhs.is_const()) { if (!rhs.is_const()) {
packed_lhs_.reset(new Tensor(scratch_buffer->Scratch( packed_rhs_.reset(new Tensor(scratch_buffer->Scratch(
rhs.size() * sizeof(float)), DT_FLOAT)); rhs.size() * sizeof(float)), DT_FLOAT));
} }
packed_result_.reset(new Tensor(scratch_buffer->Scratch( packed_result_.reset(new Tensor(scratch_buffer->Scratch(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册