Number of tensors in this storage (O(1), avoids tensor_names() clone).
(&self)
| 86 | fn tensor_names(&self) -> Vec<String>; |
| 87 | /// Number of tensors in this storage (O(1), avoids tensor_names() clone). |
| 88 | fn tensor_count(&self) -> usize { |
| 89 | self.tensor_names().len() |
| 90 | } |
| 91 | /// Get a borrowed slice of tensor bytes without copying (if supported). |
| 92 | /// Returns None if the implementation doesn't support zero-copy access. |
| 93 | /// When available, this is faster than `read_tensor()` since it avoids allocation. |
nothing calls this directly
no test coverage detected