MemorySize¶
- class baybe.searchspace.discrete.MemorySize[source]¶
Bases:
object
Estimated memory size of a
SubspaceDiscrete
.Public methods
__init__
(*, exp_rep_bytes, exp_rep_shape, ...)Method generated by attrs for class MemorySize.
Public attributes and properties
The memory size of the experimental representation dataframe in bytes.
The shape of the experimental representation dataframe.
The memory size of the computational representation dataframe in bytes.
The shape of the computational representation dataframe.
Human-readable memory size of the computational representation dataframe.
Human-readable memory size of the experimental representation dataframe.
- __init__(*, exp_rep_bytes: float, exp_rep_shape: tuple[int, int], comp_rep_bytes: float, comp_rep_shape: tuple[int, int])¶
Method generated by attrs for class MemorySize.
For details on the parameters, see Public attributes and properties.
- property comp_rep_human_readable: tuple[float, str]¶
Human-readable memory size of the computational representation dataframe.
Consists of a tuple containing memory size and unit.