aesara.tensor.TensorVariable.squeeze

aesara.tensor.TensorVariable.squeeze#

TensorVariable.squeeze()[source]#

Remove broadcastable dimensions from the shape of an array.

It returns the input array, but with the broadcastable dimensions removed. This is always x itself or a view into x.