load_from_file

paddle.static.io. load_from_file ( path ) [source]

Load file in binary mode. :param path: Path of an existed file. :type path: str

Returns

Content of file.

Return type

bytes