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

Method is_contiguous

cpp/src/arrow/tensor.cc:465–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463}
464
465bool Tensor::is_contiguous() const {
466 return internal::IsTensorStridesContiguous(type_, shape_, strides_);
467}
468
469bool Tensor::is_row_major() const {
470 return IsTensorStridesRowMajor(type_, shape_, strides_);

Callers 10

TESTFunction · 0.80
TYPED_TEST_PFunction · 0.80
TensorCountNonZeroFunction · 0.80
CheckTensorFunction · 0.80
CheckTensorRowMajorFunction · 0.80
WriteTensorFunction · 0.80
GetTensorMessageFunction · 0.80
ASSERT_OK_AND_ASSIGNFunction · 0.80
TEST_FFunction · 0.80

Calls 1

Tested by 6

TESTFunction · 0.64
TYPED_TEST_PFunction · 0.64
CheckTensorFunction · 0.64
CheckTensorRowMajorFunction · 0.64
ASSERT_OK_AND_ASSIGNFunction · 0.64
TEST_FFunction · 0.64