MCPcopy Create free account
hub / github.com/davisking/dlib / transpose

Function transpose

dlib/cuda/tensor_tools.cpp:1546–1559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1544// ----------------------------------------------------------------------------------------
1545
1546 void transpose(
1547 bool add_to,
1548 tensor& dest,
1549 const tensor& src
1550 )
1551 {
1552 IF_DLIB_USE_CUDA(
1553 cuda::transpose(add_to, dest, src);
1554 )
1555
1556 IF_DLIB_NOT_USE_CUDA(
1557 cpu::transpose(add_to, dest, src);
1558 )
1559 }
1560
1561// ----------------------------------------------------------------------------------------
1562

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected