Read multiple tensors at once. Default calls read_tensor in a loop. Implementations may optimize by batching I/O for contiguous tensors.
(&self, names: &[&str])
| 78 | /// Read multiple tensors at once. Default calls read_tensor in a loop. |
| 79 | /// Implementations may optimize by batching I/O for contiguous tensors. |
| 80 | fn read_tensors(&self, names: &[&str]) -> Result<Vec<TensorData>> { |
| 81 | names.iter().map(|n| self.read_tensor(n)).collect() |
| 82 | } |
| 83 | /// Check if a tensor exists in this storage. |
| 84 | fn has_tensor(&self, name: &str) -> bool; |
| 85 | /// List all tensor names available in this storage. |
nothing calls this directly
no test coverage detected