Skip to content
Snippets Groups Projects
Commit 1b6654b8 authored by Houssem ROUIS's avatar Houssem ROUIS Committed by Maxence Naud
Browse files

minor fixes for matmul

parent ae0e03eb
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ namespace Aidge {
void init_MatMul(py::module &m) {
py::class_<MatMul_Op, std::shared_ptr<MatMul_Op>, OperatorTensor>(m, "MatMulOp", py::multiple_inheritance())
.def("get_inputs_name", &MatMul_Op::getInputsName)
.def("get_outputs_name", &MatMul_Op::getOutputsName)
.def("get_outputs_name", &MatMul_Op::getOutputsName);
m.def("MatMul", &MatMul, py::arg("name") = "");
}
......
......@@ -30,7 +30,6 @@ void Aidge::MatMul_Op::computeOutputDims() {
if (dims0.size() > 2 && dims1.size() > 2)
{
std::size_t d0 = dims0.size()-3, d1 = dims1.size()-3;
for (std::size_t d0 = dims0.size()-3, d1 = dims1.size()-3;
(d0>0) && (d1>0);
--d0, --d1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment