cutcutcodec.core.classes.frame

Defines the structure of a base frame, inerit from torch array.

Classes

Frame(data[, context])

A General Frame.

Details

class cutcutcodec.core.classes.frame.Frame(data: Tensor | ndarray | Container, context: object = None, **kwargs)[source]

A General Frame.

Attributes

contextobject

Any information to throw during the transformations.

Initialise and create the class.

Parameters

contextobject

Any value to throw between the tensor operations.

dataarraylike

The data to use for this array. Do not copy if it is possible

**kwargsdict

Transmitted to the torch.Tensor initialisator.