## [ 仅参数名不一致 ]torch.Tensor.squeeze_
### [torch.Tensor.squeeze\_](https://docs.pytorch.org/docs/stable/generated/torch.Tensor.squeeze_.html#torch.Tensor.squeeze_)
```python
torch.Tensor.squeeze_(dim=None)
```

### [paddle.Tensor.squeeze\_](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/api/paddle/Tensor__upper_cn.html#id22)
```python
paddle.Tensor.squeeze_(axis=None)
```
两者功能一致，仅参数名不一致，具体如下：

### 参数映射

| PyTorch       | PaddlePaddle | 备注                                                   |
| ------------- | ------------ | ------------------------------------------------------ |
| dim | axis | 输入一个或一列整数，代表要压缩的轴，仅参数名不一致。 |
