pulsatrix
Loading...
Searching...
No Matches
transform.hpp File Reference

Sample-level preprocessing abstraction – Transform, Compose, TransformDataset. More...

#include <memory>
#include <utility>
#include <vector>
#include "pulsatrix/dataset.hpp"
Include dependency graph for transform.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pulsatrix::Transform
 A single sample-level preprocessing step (normalize, augment, tokenize, ...). More...
 
class  pulsatrix::Compose
 Eager, ordered list of Transforms applied in sequence – pulsatrix's analogue of torchvision.transforms.Compose. Deliberately simple: no fusion/graph, matching Compose's own upstream design; unlike Python, there is no GIL here for that simplicity to cost anything. More...
 
class  pulsatrix::TransformDataset
 Decorates a Dataset with a Transform, applied to every sample get() returns – lets Transform/Compose compose with any Dataset without modifying it or DataLoader. More...
 

Namespaces

namespace  pulsatrix
 

Detailed Description

Sample-level preprocessing abstraction – Transform, Compose, TransformDataset.