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

Method transpose

torch/_numpy/_ndarray.py:398–400  ·  view source on GitHub ↗
(self, *axes)

Source from the content-addressed store, hash-verified

396 return self.tensor.__contains__(x)
397
398 def transpose(self, *axes):
399 # np.transpose(arr, axis=None) but arr.transpose(*axes)
400 return _funcs.transpose(self, axes)
401
402 def reshape(self, *shape, order="C"):
403 # arr.reshape(shape) and arr.reshape(*shape)

Callers 15

TMethod · 0.95
cloneBatchedColumnMajorFunction · 0.45
_update_orthoMethod · 0.45
_get_svqbMethod · 0.45
_get_orthoMethod · 0.45
transposeFunction · 0.45
_svd_lowrankFunction · 0.45
pca_lowrankFunction · 0.45

Calls

no outgoing calls

Tested by 15

_rff_hypothesis_testMethod · 0.36
normalize_imageFunction · 0.36
transpose_refMethod · 0.36
test_int8_fc_4_dimsMethod · 0.36
test_gemmMethod · 0.36
test_ssaMethod · 0.36
test_convert_end2endMethod · 0.36
simulation_hsm_searchMethod · 0.36