Returns: True if the internal data is transposed; otherwise False.
(self)
| 182 | return self.ndim() == 0 |
| 183 | |
| 184 | def is_transpose(self): |
| 185 | ''' |
| 186 | Returns: |
| 187 | True if the internal data is transposed; otherwise False. |
| 188 | ''' |
| 189 | return self.data.transpose() |
| 190 | |
| 191 | def transpose(self, axes=None): |
| 192 | ''' To transpose the tensor |