MCPcopy Create free account
hub / github.com/alibaba/nann / permute_dimensions

Function permute_dimensions

tensorflow/tensorflow/python/keras/backend.py:2627–2654  ·  view source on GitHub ↗

Permutes axes in a tensor. Arguments: x: Tensor or variable. pattern: A tuple of dimension indices, e.g. `(0, 2, 1)`. Returns: A tensor. Example: ```python >>> a = tf.constant([[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]]) >>> a <tf.Tensor: id=4

(x, pattern)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

resize_imagesFunction · 0.85
local_convFunction · 0.85

Calls 1

transposeMethod · 0.80

Tested by

no test coverage detected