I’m trying to convert following to pytorch:
autoenc1 = trainAutoencoder(xTrainImages,hiddenSize1, …
‘MaxEpochs’,400, …
‘L2WeightRegularization’,0.004, …
‘SparsityRegularization’,4, …
‘SparsityProportion’,0.15, …
‘ScaleData’, false);