Import and additionally check the result is a well-formed Arrow object.
| 423 | |
| 424 | /// Import and additionally check the result is a well-formed Arrow object. |
| 425 | static Result<Imported> ImportAndValidate(DLManagedTensorVersioned* raw) { |
| 426 | ARROW_ASSIGN_OR_RAISE(auto imported, Import(raw)); |
| 427 | RETURN_NOT_OK(Validate(imported)); |
| 428 | return imported; |
| 429 | } |
| 430 | }; |
| 431 | |
| 432 | struct ConsumerNames { |
nothing calls this directly
no test coverage detected