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