ninetoothed.Tensor.squeeze# Tensor.squeeze(dim)# Remove the specified singleton dimensions of the tensor. Parameters: dim – The dimension(s) to be squeezed. Returns: The squeezed tensor.