| 451 | private: |
| 452 | const engine::io::SafeTensorInfo * find_info(std::string_view name) const noexcept { |
| 453 | const auto it = index_.tensors.find(std::string(name)); |
| 454 | if (it == index_.tensors.end()) { |
| 455 | return nullptr; |
| 456 | } |
| 457 | return &it->second; |
| 458 | } |
| 459 | |
| 460 | std::pair<const std::byte *, size_t> require_data_range(const engine::io::SafeTensorInfo & info) const { |
| 461 | if (bytes_.empty()) { |
no test coverage detected