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

Function transpose

caffe2/python/helpers/algebra.py:9–13  ·  view source on GitHub ↗

Transpose.

(model, blob_in, blob_out, use_cudnn=False, **kwargs)

Source from the content-addressed store, hash-verified

7
8
9def transpose(model, blob_in, blob_out, use_cudnn=False, **kwargs):
10 """Transpose."""
11 if use_cudnn:
12 kwargs['engine'] = 'CUDNN'
13 return model.net.Transpose(blob_in, blob_out, **kwargs)
14
15
16def sum(model, blob_in, blob_out, **kwargs):

Callers

nothing calls this directly

Calls 1

TransposeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…