| 474 | } |
| 475 | |
| 476 | RawTensor AssetsLibrary::get(const std::string &name) |
| 477 | { |
| 478 | //FIXME: Format should be derived from the image name. Not be fixed to RGB. |
| 479 | return RawTensor(find_or_create_raw_tensor(name, Format::RGB888)); |
| 480 | } |
| 481 | |
| 482 | RawTensor AssetsLibrary::get(const std::string &name, DataType data_type, int num_channels) const |
| 483 | { |