MCPcopy Create free account
hub / github.com/apache/singa / Transpose

Function Transpose

src/core/tensor/tensor.cc:542–546  ·  view source on GitHub ↗

normal transpose without axes

Source from the content-addressed store, hash-verified

540
541// normal transpose without axes
542Tensor Transpose(const Tensor &in) {
543 Tensor out(in);
544 out.Transpose();
545 return out;
546}
547
548// transpose with axes
549Tensor Transpose(const Tensor &in, const vector<size_t> &axes) {

Callers 9

tensor.ccFile · 0.70
AddColumnFunction · 0.70
AddRowFunction · 0.70
SumColumnsFunction · 0.70
SumRowsFunction · 0.70
BackwardMethod · 0.50
ForwardMethod · 0.50
BackwardMethod · 0.50
BackwardMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected