Download code/bugfind/bench/kernels/transpose_dims/post/src/lib.rs from viai957/align: direct link, hf CLI and curl.
- Browser
- Download file 167 Bytes
-
https://huggingface.co/viai957/align/resolve/main/code/bugfind/bench/kernels/transpose_dims/post/src/lib.rs
- Command line
-
hf download hf://viai957/align/code/bugfind/bench/kernels/transpose_dims/post/src/lib.rs
-
curl -L -o lib.rs https://huggingface.co/viai957/align/resolve/main/code/bugfind/bench/kernels/transpose_dims/post/src/lib.rs
167 Bytes
| pub fn dims_match(width: usize, height: usize, len: usize) -> bool { | |
| match width.checked_mul(height) { | |
| Some(p) => p == len, | |
| None => false, | |
| } | |
| } | |