Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YuminosukeSato/ironkernel
/ len
Method
len
src/buffer/inner.rs:64–66 ·
view source on GitHub ↗
Total number of elements.
(&self)
Source
from the content-addressed store, hash-verified
62
impl BufferInner {
63
/// Total number of elements.
64
pub fn len(&self) -> usize {
65
self.shape.iter().product()
66
}
67
68
/// Whether the buffer is empty.
69
pub fn is_empty(&self) -> bool {
Callers
11
__len__
Method · 0.80
execute_map
Function · 0.80
eval_reduce
Function · 0.80
infer_output_len
Function · 0.80
expr_key_all_unary_ops_distinct
Function · 0.80
expr_key_all_binary_ops_distinct
Function · 0.80
expr_key_all_cmp_ops_distinct
Function · 0.80
is_empty
Method · 0.80
byte_len
Method · 0.80
as_f64_slice
Method · 0.80
from_f64_vec
Method · 0.80
Calls
no outgoing calls
Tested by
3
expr_key_all_unary_ops_distinct
Function · 0.64
expr_key_all_binary_ops_distinct
Function · 0.64
expr_key_all_cmp_ops_distinct
Function · 0.64