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

Method Export

cpp/src/arrow/c/dlpack_test.cc:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 static constexpr const char* name = copy ? "VersionedCopied" : "Versioned";
54
55 static Result<ManagedTensor*> Export(const std::shared_ptr<Array>& arr) {
56 return ExportArrayVersioned(arr, copy);
57 }
58 static Result<ManagedTensor*> Export(const std::shared_ptr<Tensor>& t) {
59 return ExportTensorVersioned(t, copy);
60 }

Callers

nothing calls this directly

Calls 2

ExportArrayVersionedFunction · 0.85
ExportTensorVersionedFunction · 0.85

Tested by

no test coverage detected