Skip to content
Snippets Groups Projects

Change 1D attribute Tensors for scalar Tensors and use compound assignment...

Merged Maxence Naud requested to merge fix_207-producer-clone into dev
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -146,7 +146,7 @@ TEST_CASE("[learning/Adam] update", "[Optimizer][Adam]") {
for (std::size_t t = 0; t < nb_tensors; ++t) {
const Tensor tmpt1= *(opt.parameters().at(t));
const Tensor tmpt2= *tensors[t];
REQUIRE(approxEq<float,float>(tmpt2, tmpt1, 1e-5f, 1e-8f));
REQUIRE(approxEq<float,float>(tmpt2, tmpt1, 1e-5f, 1e-7f));
}
}
}
Loading