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