C is known at construction time (since you need that to build conv layers). H and W also must be fixed because otherwise the size of the output depends on the input size, and then you can use fc layers like this then.
For multiple layers you can activate them in a loop / with a Sequential / write them out / etc. however you want.