MCPcopy 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
15public:
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
23public:
24 enum dtype dtype() const

Callers

nothing calls this directly

Calls 2

shapeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected