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

Method ImportAndValidate

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

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

Source from the content-addressed store, hash-verified

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
432struct ConsumerNames {

Callers

nothing calls this directly

Calls 1

ValidateFunction · 0.85

Tested by

no test coverage detected