# Reshape a QRNN weight vector

### Description

Reshapes a weight vector used during fitting of a QRNN model into input-hidden and hidden-output layer weight matrices.

### Usage

1 | ```
qrnn.reshape(x, y, weights, n.hidden)
``` |

### Arguments

`x` |
covariate matrix with number of rows equal to the number of samples and number of columns equal to the number of variables. |

`y` |
predictand column matrix with number of rows equal to the number of samples. |

`weights` |
weight vector of length returned by |

`n.hidden` |
number of hidden nodes in the QRNN model. |

### See Also

`qrnn.initialize`