(self, a, axis=None)
| 3226 | ), f"Device discrepancy. First input is on {str(a_device)}, whereas second input is on {str(b_device)}" |
| 3227 | |
| 3228 | def squeeze(self, a, axis=None): |
| 3229 | return tnp.squeeze(a, axis=axis) |
| 3230 | |
| 3231 | def unsqueeze(self, a, axis): |
| 3232 | return tnp.expand_dims(a, axis=axis) |