Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
557
bool Tensor::is_contiguous() const {
558
return internal::IsTensorStridesContiguous(type_, shape_, strides_);
559
}
560
561
bool Tensor::is_row_major() const {
562
return internal::IsTensorStridesRowMajor(type_, shape_, strides_);
Callers
14
garrow_tensor_is_contiguous
Function · 0.80
TEST
Function · 0.80
TYPED_TEST_P
Function · 0.80
TensorCountNonZero
Function · 0.80
CheckTableToTensor
Function · 0.80
CheckTableToTensorRowMajor
Function · 0.80
CheckTensor
Function · 0.80
CheckTensorRowMajor
Function · 0.80
TYPED_TEST
Function · 0.80
TEST
Function · 0.80
WriteTensor
Function · 0.80
GetTensorMessage
Function · 0.80
Calls
1
IsTensorStridesContiguous
Function · 0.85
Tested by
10
TEST
Function · 0.64
TYPED_TEST_P
Function · 0.64
CheckTableToTensor
Function · 0.64
CheckTableToTensorRowMajor
Function · 0.64
CheckTensor
Function · 0.64
CheckTensorRowMajor
Function · 0.64
TYPED_TEST
Function · 0.64
TEST
Function · 0.64
ASSERT_OK_AND_ASSIGN
Function · 0.64
TEST_F
Function · 0.64