Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/activeloopai/deeplake
/ transposed_array
Method
transposed_array
cpp/nd/impl/transposed_array.hpp:16–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
15
public:
16
explicit transposed_array(nd::array arr)
17
: a_(std::move(arr))
18
, shape_{a_.shape()[1], a_.shape()[0]}
19
{
20
ASSERT(a_.shape().size() == 2);
21
}
22
23
public:
24
enum dtype dtype() const
Callers
nothing calls this directly
Calls
2
shape
Method · 0.45
size
Method · 0.45
Tested by
no test coverage detected