Do we need to define hidden Variable explicitly for RNN layers?

As far as I checked RNN examples, I need to provide initial hidden values explicitly. It is just for convention or step-wise processing? Otherwise, is it okay to provide only batch sequence data and don’t touch the hidden values and use default settings?

you can use the default settings of all-zeros hidden states. the examples just try to make it explicit.