- QuadraticModel.nbytes(capacity: bool = False) int ¶
Get the total bytes consumed by the biases, vartype info, bounds, and indices.
Does not include the memory consumed by non-element attributes of the quadratic model object. Also does not include the memory consumed by the variable labels.
capacity – If
capacityis true, also include the
calculation. (of the underlying vectors in the) –
The number of bytes.