pasteur.marginal.memory.ArrayInfo#

class pasteur.marginal.memory.ArrayInfo(shape, dtype, ofs)[source]#

Attributes

dtype

Alias for field number 1

ofs

Alias for field number 2

shape

Alias for field number 0

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

count(value, /)#

Return number of occurrences of value.

dtype: Any#

Alias for field number 1

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

ofs: int#

Alias for field number 2

shape: tuple[int, ...]#

Alias for field number 0