提交 b446d200 编写于 作者: 李寅

Fix sgemm bug

上级 b1764247
......@@ -60,7 +60,7 @@ void SGemm::operator()(const MatrixMap<const float> &lhs,
lhs.size() * sizeof(float)), DT_FLOAT));
}
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));
}
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.
先完成此消息的编辑!
想要评论请 注册