pymc.Minibatch.reshape#
- Minibatch.reshape(shape, ndim=None)#
Return a reshaped view/copy of this variable.
- Parameters
- shape
Something that can be converted to a symbolic vector of integers.
- ndim
The length of the shape. Passing None here means for Aesara to try and guess the length of shape.
- .. warning:: This has a different signature than numpy’s
ndarray.reshape! In numpy you do not need to wrap the shape arguments in a tuple, in aesara you do need to.