<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def zero_state(self, batch_size):
 """ Initial state of the network """

        return torch.zeros(batch_size, self.state_dim, dtype=torch.float32)