MCPcopy Create free account
hub / github.com/activeloopai/deeplake / column

Method column

cpp/deeplake_core/sample_range.hpp:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 inline nd::array column(int column_index) const
61 {
62 auto a = batch_->columns()[column_index].array();
63 return nd::stride(std::move(a), indices_);
64 }
65
66 inline sample_range filter(std::vector<int64_t>&& indices) const
67 {

Callers

nothing calls this directly

Calls 2

columnsMethod · 0.80
arrayMethod · 0.45

Tested by

no test coverage detected