Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ is_zero_in_shape
Method
is_zero_in_shape
crates/vm/src/protocol/buffer.rs:390–392 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
388
}
389
390
pub fn is_zero_in_shape(&self) -> bool {
391
self.dim_desc.iter().any(|(shape, _, _)| *shape == 0)
392
}
393
394
// TODO: support column-major order
395
}
Callers
1
cast
Method · 0.80
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected