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:
- static to_storage(a)[source]#
- Parameters:
a (DataBuffer) –
- Return type:
- static from_storage(a, elements)[source]#
- Parameters:
a (DataBuffer) –
elements (Sequence[DataBuffer]) –
- Return type:
- static symbolic(a, name, **kwargs)[source]#
- Parameters:
a (DataBuffer) –
name (str) –
kwargs (Dict) –
- Return type: