Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ byte_width
Method
byte_width
cpp/src/arrow/c/dlpack.cc:326–326 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
324
bool is_readonly() const { return flag_is_set(DLPACK_FLAG_BITMASK_READ_ONLY); }
325
326
int32_t byte_width() const { return tensor().dtype.bits / 8; }
327
328
/// Number of element in this tensor's buffer.
329
///
Callers
15
test_byte_width
Method · 0.45
test_byte_width
Method · 0.45
garrow_fixed_size_binary_data_type_get_byte_width
Function · 0.45
garrow_fixed_size_binary_array_get_byte_width
Function · 0.45
garrow_fixed_size_binary_array_get_value
Function · 0.45
garrow_fixed_size_binary_array_get_values_bytes
Function · 0.45
garrow_array_builder_append_values
Function · 0.45
garrow_fixed_size_binary_array_builder_append_value
Function · 0.45
garrow_fixed_size_binary_array_builder_append_value_bytes
Function · 0.45
Visit
Method · 0.45
Convert
Method · 0.45
IsUuidExtension
Function · 0.45
Calls
no outgoing calls
Tested by
15
test_byte_width
Method · 0.36
test_byte_width
Method · 0.36
TEST
Function · 0.36
TEST_F
Function · 0.36
GenerateString
Function · 0.36
CheckDLTensor
Function · 0.36
RawData
Method · 0.36
TYPED_TEST
Function · 0.36
CheckTensorRoundTrip
Method · 0.36
CheckSparseCOOTensorRoundTrip
Method · 0.36
CheckSparseCSXMatrixRoundTrip
Method · 0.36
CheckSparseCSFTensorRoundTrip
Method · 0.36