transpose¶
dragon.vm.tensorflow.
transpose
(
a,
perm=None,
name=None
)[source]¶Permute the dimensions of input.
Examples:
- Parameters:
- a (dragon.Tensor) – The input tensor.
- perm (Sequence[Union[int, dragon.Tensor]]) – The output permutation.
- name (str, optional) – The operation name.
- Returns:
dragon.Tensor – The output tensor.