dimod.QuadraticModel.from_file# classmethod QuadraticModel.from_file(fp: BinaryIO | bytes | bytearray)[source]# Construct a quadratic model from a file-like object. The inverse of to_file().