| 275 | } |
| 276 | |
| 277 | void AssetsLibrary::fill(RawTensor &raw, const std::string &name, Format format) const |
| 278 | { |
| 279 | //FIXME: Should be done by swapping cached buffers |
| 280 | const RawTensor &src = get(name, format); |
| 281 | std::copy_n(src.data(), raw.size(), raw.data()); |
| 282 | } |
| 283 | |
| 284 | void AssetsLibrary::fill(RawTensor &raw, const std::string &name, Channel channel) const |
| 285 | { |
nothing calls this directly
no test coverage detected