in sparse_autoencoder/train.py [0:0]
def maybe_transpose(x): return x.T if not x.is_contiguous() and x.T.is_contiguous() else x