Data¶
-
class
imagepypelines.Data(data)[source]¶ Bases:
objectObject to batch lists or arrays as block processable data
-
data¶ the raw data
- Type
any type
Attributes Summary
number of items loaded into the pipeline
Methods Summary
as_all()returns all the data in it’s raw form
as_each()returns a generator the returns each datum individually
grab()returns the data in it’s raw form
returns whether or not this container is homogenus
n_batches_with(batch_type)calculates the number of batches generated with the given batch_type
pop()returns the data, and then removes it from this object
Attributes Documentation
-
container_type¶
-
datum_type¶
Methods Documentation
-