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

Method is_contiguous

cpp/src/arrow/tensor.cc:557–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

555}
556
557bool Tensor::is_contiguous() const {
558 return internal::IsTensorStridesContiguous(type_, shape_, strides_);
559}
560
561bool Tensor::is_row_major() const {
562 return internal::IsTensorStridesRowMajor(type_, shape_, strides_);

Callers 14

TESTFunction · 0.80
TYPED_TEST_PFunction · 0.80
TensorCountNonZeroFunction · 0.80
CheckTableToTensorFunction · 0.80
CheckTensorFunction · 0.80
CheckTensorRowMajorFunction · 0.80
TYPED_TESTFunction · 0.80
TESTFunction · 0.80
WriteTensorFunction · 0.80
GetTensorMessageFunction · 0.80

Calls 1

Tested by 10

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