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

Method ImportAndValidate

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

Import and additionally check the result is a well-formed Arrow object.

Source from the content-addressed store, hash-verified

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
407struct ArrayConsumer {

Callers

nothing calls this directly

Calls 1

ValidateFunction · 0.85

Tested by

no test coverage detected