Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ is_row_major
Method
is_row_major
cpp/src/arrow/tensor.cc:561–563 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
559
}
560
561
bool Tensor::is_row_major() const {
562
return internal::IsTensorStridesRowMajor(type_, shape_, strides_);
563
}
564
565
bool Tensor::is_column_major() const {
566
return internal::IsTensorStridesColumnMajor(type_, shape_, strides_);
Callers
14
garrow_tensor_is_row_major
Function · 0.80
TensorToNdarray
Function · 0.80
TEST
Function · 0.80
TYPED_TEST_P
Function · 0.80
IntegerTensorEquals
Function · 0.80
CheckTableToTensor
Function · 0.80
CheckTableToTensorRowMajor
Function · 0.80
TEST_F
Function · 0.80
CheckTensor
Function · 0.80
CheckTensorRowMajor
Function · 0.80
Convert
Method · 0.80
TYPED_TEST
Function · 0.80
Calls
1
IsTensorStridesRowMajor
Function · 0.85
Tested by
10
TEST
Function · 0.64
TYPED_TEST_P
Function · 0.64
CheckTableToTensor
Function · 0.64
CheckTableToTensorRowMajor
Function · 0.64
TEST_F
Function · 0.64
CheckTensor
Function · 0.64
CheckTensorRowMajor
Function · 0.64
TYPED_TEST
Function · 0.64
CheckToTensor
Function · 0.64
TEST_F
Function · 0.64