Import and additionally check the result is a well-formed Arrow object.
| 398 | |
| 399 | /// Import and additionally check the result is a well-formed Arrow object. |
| 400 | static Result<Imported> ImportAndValidate(DLManagedTensorVersioned* raw) { |
| 401 | ARROW_ASSIGN_OR_RAISE(auto imported, Import(raw)); |
| 402 | RETURN_NOT_OK(Validate(imported)); |
| 403 | return imported; |
| 404 | } |
| 405 | }; |
| 406 | |
| 407 | struct ArrayConsumer { |
nothing calls this directly
no test coverage detected