Safety Visual Shape Utils#

int64_t trt_edgellm::safety::builder::getSafetyVisualTileCount(
int64_t imageTokens,
int64_t tokensPerTile
)#

Convert a fixed image-token profile to tiles without rounding; throws on invalid profiles.