trw.datasets.utils

Module Contents

Classes

named_dataset

Decorator to convert a dataset with unnamed features to a dataset where all the features are explicitly named

Functions

pic_to_tensor(pic)

pic_to_numpy(pic)

trw.datasets.utils.pic_to_tensor(pic)
trw.datasets.utils.pic_to_numpy(pic)
class trw.datasets.utils.named_dataset(names)

Bases: object

Decorator to convert a dataset with unnamed features to a dataset where all the features are explicitly named

__call__(self, cls)