MCPcopy Create free account
hub / github.com/apache/arrow / ExportArray

Function ExportArray

cpp/src/arrow/c/dlpack.cc:188–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186} // namespace
187
188Result<DLManagedTensor*> ExportArray(const std::shared_ptr<Array>& arr) {
189 return ExportArrayImpl<DLManagedTensor>(arr, /* copy= */ false);
190}
191
192Result<DLManagedTensorVersioned*> ExportArrayVersioned(const std::shared_ptr<Array>& arr,
193 bool copy) {

Callers 8

TestWithArrayFactoryMethod · 0.70
TEST_FFunction · 0.70
TestWithArrayFactoryMethod · 0.70
ExportMethod · 0.70
garrow_array_exportFunction · 0.50

Calls

no outgoing calls

Tested by 7

TestWithArrayFactoryMethod · 0.56
TEST_FFunction · 0.56
TestWithArrayFactoryMethod · 0.56
ExportMethod · 0.56