code: public SDVariable transpose(String name, SDVariable x) {
          SDVariable result = f().transpose(x);
          return updateVariableNameAndReference(result, name);
      }
docs: Matrix transpose operation: If input has shape [a,b] output has shape [b,a]
  
  @param name Output variable name
  @param x    Input variable
  @return Output variable (transposed input)