| 92 | }; |
| 93 | |
| 94 | inline RawTensor *TensorCache::find(std::tuple<const std::string &, Format> key) |
| 95 | { |
| 96 | const auto it = _raw_tensor_cache.find(key); |
| 97 | return it == _raw_tensor_cache.end() ? nullptr : &it->second; |
| 98 | } |
| 99 | |
| 100 | inline RawTensor *TensorCache::find(std::tuple<const std::string &, Format, Channel> key) |
| 101 | { |