TensorPlay
latest (dev)
Copy
View Markdown

Latest development documentation · Updated 2026-10-08

ComposeTransform

class tensorplay.distributions.ComposeTransform(parts: list[Transform], cache_size: int = 0)[source]

Composes multiple transforms in a chain. The transforms being composed are responsible for caching.

Parameters:
  • parts (list of Transform) – A list of transforms to compose.

  • cache_size (int) – Size of cache. If zero, no caching is done. If one, the latest single value is cached. Only 0 and 1 are supported.

On this page

Ask DeepWiki