3
I4W^Î  ã               @   sD   d dl mZ d dl mZ d dl mZ d dl mZ dd„ Zdd„ Zd	S )
é    )Úabsolute_import)Údivision)Úprint_function)Úunicode_literalsc             C   s   | j ƒ S )N)ZSerializeToString)Zprotobuf_struct© r   ú>/tmp/pip-build-e66j97b2/torch/caffe2/python/predictor/serde.pyÚserialize_protobuf_struct	   s    r   c             C   s   |ƒ }|j | ƒ |S )N)ZParseFromString)Zserialized_protobufZstruct_typeZdeserr   r   r   Údeserialize_protobuf_struct   s    
r	   N)Ú
__future__r   r   r   r   r   r	   r   r   r   r   Ú<module>   s
   