Compose#
- class torch_brain.transforms.Compose(transforms)[source]#
Bases:
objectCompose several transforms together. All transforms will be called sequentially, in order, and must accept and return a single
torch_brain.data.Dataobject, except the last transform, which can return any object.