# ComposeTransform Source: https://www.tensorplay.cn/docs/generated/tensorplay.distributions.ComposeTransform.html ```python class tensorplay.distributions.ComposeTransform(parts: list[Transform], cache_size: int = 0) ``` Composes multiple transforms in a chain. The transforms being composed are responsible for caching. Parameters: - parts (list of [Transform](/docs/generated/tensorplay.distributions.Transform.html#tensorplay.distributions.Transform)) – A list of transforms to compose. - cache_size ([int](https://docs.python.org/3/builtins/functions.html#int)) – Size of cache. If zero, no caching is done. If one, the latest single value is cached. Only 0 and 1 are supported.