Changing the number of hidden layers

Hey all, rasa docs says something like this

number of hidden layers is equal to the length of this list

"hidden_layers_sizes_b": [],

I like to know what does it mean by length of this list? perhaps I like to know about the list mentioned there. I am trying to change values of hidden_layers_a and hidden_layers_b in config.yml file, but it doesn’t work. Can anyone help me, I am new to rasa sorry if it something silly. Thanks.

You need to specify the list of sizes of each hidden layer inside that list. That naturally follows that the number of hidden layers then would be the length of that list.

"hidden_layers_sizes_b": [4, 5] would create two hidden layers - the first with 4 nodes and the second with 5 nodes.

Thanks @msamogh .