dimod.QuadraticModel.shape

property QuadraticModel.shape: Tuple[int, int][source]

A 2-tuple of num_variables and num_interactions.