MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / transpose

Method transpose

imperative/python/megengine/xla/rules/hlotensor.py:151–154  ·  view source on GitHub ↗
(self, permutation)

Source from the content-addressed store, hash-verified

149 return reshape(self, shape)
150
151 def transpose(self, permutation):
152 from .tensor import transpose
153
154 return transpose(self, permutation)
155
156 def broadcast_to(self, shape, broadcast_dims=None):
157 from .tensor import broadcast_to

Callers 15

benchmark_op.pyFile · 0.45
forwardMethod · 0.45
all_gatherFunction · 0.45
reduce_scatter_sumFunction · 0.45
gatherFunction · 0.45
scatterFunction · 0.45
all_to_allFunction · 0.45
bytes2arrayMethod · 0.45
bytes2arrayMethod · 0.45
auto_reformat_imageMethod · 0.45
conv_backward_data_lowerFunction · 0.45
batched_matmul_lowerFunction · 0.45

Calls 1

transposeFunction · 0.70

Tested by 15

forwardMethod · 0.36
test_syncbnFunction · 0.36
test_batchnormFunction · 0.36
test_syncbn1dFunction · 0.36
test_batchnorm2dFunction · 0.36
test_syncbn2dFunction · 0.36
test_batchnorm_no_statsFunction · 0.36
test_syncbn_no_statsFunction · 0.36
test_syncbn2d_no_statsFunction · 0.36
forwardMethod · 0.36
forwardMethod · 0.36