Tensor/matrix operations
Transpose
Transpose is an important operation defined for matrices or tensors. For a matrix, the transpose is defined as follows:
Here, AT denotes the transpose of A.
An example of the transpose operation can be illustrated as follows:
After the transpose operation:
For a tensor, transpose can be seen as permuting the dimensions order. For example, let's define a tensor S, as shown here:
Now a transpose operation (out of many) can ...
Get Natural Language Processing with TensorFlow now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.