symforce.ops.impl.databuffer_storage_ops module#

class DataBufferStorageOps[source]#

Bases: object

Implements Storage operations for databuffers.

For StorageOps, we choose a storage dim of 0 since the it is supposed to represent a pointer to external data, which we do not want to serialize

static storage_dim(a)[source]#
Parameters:

a (DataBuffer) –

Return type:

int

static to_storage(a)[source]#
Parameters:

a (DataBuffer) –

Return type:

List[DataBuffer]

static from_storage(a, elements)[source]#
Parameters:
Return type:

Any

static symbolic(a, name, **kwargs)[source]#
Parameters:
Return type:

DataBuffer