Parameter hidden layer sizes like this works:
parameters = { \'hidden_layer_sizes\': [[1,2], [3,4]], }
But not like this:
param