dasf.transforms.memory

Memory Management module.

Classes

PersistDaskData

Allow persisting a dask array to memory and return a copy of the object.

ComputeDaskData

Allow persisting a dask array to memory. It will gather the data blocks

Module Contents

class dasf.transforms.memory.PersistDaskData[source]

Bases: dasf.transforms.base.Transform

Allow persisting a dask array to memory and return a copy of the object. It will gather the data blocks from all workers and resembles locally.

__lazy_transform_generic(X)
_lazy_transform_cpu(X)[source]

Respective lazy transform mocked function for CPUs.

_lazy_transform_gpu(X)[source]

Respective lazy transform mocked function for GPUs.

_transform_cpu(X)[source]

Respective immediate transform mocked function for local CPU(s).

_transform_gpu(X)[source]

Respective immediate transform mocked function for local GPU(s).

class dasf.transforms.memory.ComputeDaskData[source]

Bases: dasf.transforms.base.Transform

Allow persisting a dask array to memory. It will gather the data blocks from all workers and resembles locally.

__lazy_transform_generic(X)
_lazy_transform_cpu(X)[source]

Respective lazy transform mocked function for CPUs.

_lazy_transform_gpu(X)[source]

Respective lazy transform mocked function for GPUs.

_transform_cpu(X)[source]

Respective immediate transform mocked function for local CPU(s).

_transform_gpu(X)[source]

Respective immediate transform mocked function for local GPU(s).