Skip to content
Snippets Groups Projects
Commit 43f93816 authored by Olivier BICHLER's avatar Olivier BICHLER Committed by Maxence Naud
Browse files

Register Mul for mixed Float32, Float64 inputs

parent 5d2c727a
No related branches found
No related tags found
1 merge request!132[UPD] version 0.4.1 -> 0.5.0
......@@ -211,6 +211,9 @@ void MulImpl_cpu_backward_kernel(const std::size_t input0Length,
REGISTRAR(MulImpl_cpu,
{DataType::Float32},
{ProdConso::inPlaceModel, Aidge::MulImpl_cpu_forward_kernel<float, float, float>, Aidge::MulImpl_cpu_backward_kernel<float, float, float>});
REGISTRAR(MulImpl_cpu,
{{{DataType::Float32}, {DataType::Float64}}, {DataType::Float32}},
{ProdConso::inPlaceModel, Aidge::MulImpl_cpu_forward_kernel<float, double, float>, Aidge::MulImpl_cpu_backward_kernel<float, double, float>});
REGISTRAR(MulImpl_cpu,
{DataType::Float64},
{ProdConso::inPlaceModel, Aidge::MulImpl_cpu_forward_kernel<double, double, double>, Aidge::MulImpl_cpu_backward_kernel<double, double, double>});
......
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