dancho 1c61fbadf7 Downscale bitmaps during decoding in Transformer
Limit input image size in Transformer to be less than 4096x4096.
For very large images, this can reduce memory usage substantially,
and stays away from `GL_MAX_TEXTURE_SIZE` - often 4096

PiperOrigin-RevId: 670555939
2024-09-03 07:53:13 -07:00
..
2021-10-27 09:12:46 +01:00

DataSource module

Provides a DataSource abstraction and a number of concrete implementations for reading data from different sources. Application code will not normally need to depend on this module directly.