Hi, All
I recently try to map the following line from pytorch to libtorch
self.bn1 = nn.BatchNorm1d(500, affine = False, eps=1e-6, momentum = 0.5)
and I write in libtroch
bn1 = torch::nn::BatchNorm1d(500, false, 1e-6, 0.5);
It gives me an error no viable overloaded “=”
Any suggestions on fix the error please ?
Thanks.